Commit Graph

33 Commits

Author SHA1 Message Date
CanbiZ (MickLesk)
7715a02f05 remove whiptail from update scripts for unattended update support (#11712)
* Simplify Alpine update scripts to run upgrade

Remove interactive whiptail menus, loops and newt dependency checks from ct/alpine-docker.sh, ct/alpine-zigbee2mqtt.sh, and ct/alpine.sh. Each update_script now simply calls header_info, runs $STD apk -U upgrade, displays a success message and exits, simplifying and automating the update flow.

* feat(update-scripts): replace whiptail with msg_menu for unattended updates

Remove all whiptail dialogs from ct update_script() functions and replace
with msg_menu() - a lightweight read-based menu that supports:
- PHS_SILENT=1: auto-selects first (default) option for unattended mode
- Interactive: numbered menu with 10s timeout and default fallback

Converted scripts (whiptail menu → msg_menu):
- plex.sh, npmplus.sh, cronicle.sh, meilisearch.sh, node-red.sh
- homeassistant.sh, podman-homeassistant.sh
- vaultwarden.sh, alpine-vaultwarden.sh
- loki.sh, alpine-loki.sh
- alpine-grafana.sh, alpine-redis.sh, alpine-valkey.sh
- alpine-nextcloud.sh

Simplified scripts (removed unnecessary whiptail for single-action updates):
- alpine.sh, alpine-docker.sh, alpine-zigbee2mqtt.sh

Special handling:
- gitea-mirror.sh: replaced yesno/msgbox with read -rp confirmations,
  exit 75 in silent mode for major version upgrades requiring interaction
- vaultwarden.sh/alpine-vaultwarden.sh: passwordbox replaced with
  read -r -s -p, skipped in silent mode with warning
- nginxproxymanager.sh: exit 1 → exit 75 for disabled script

Infrastructure:
- Added msg_menu() helper to misc/build.func
- Added exit code 75 handling in update-apps.sh (skip, not fail)

Closes #11620

* refactor(update-scripts): remove menus where sequential updates suffice

- alpine-nextcloud: add apk upgrade as the update action (was missing)
- meilisearch: run meilisearch + UI updates sequentially (like bar-assistant)
- npmplus: run alpine upgrade + docker pull sequentially, no menu
- vaultwarden: update VaultWarden + Web-Vault sequentially, remove admin
  token option (interactive-only, not suitable for unattended updates)
- alpine-vaultwarden: just run apk upgrade, remove admin token menu
2026-02-09 11:05:31 +01:00
CanbiZ (MickLesk)
ca504cfc06 several scripts: bump default Alpine version to 3.23 (#11082) 2026-01-23 13:01:29 +01:00
Tobias
08d67aa722 chore: fix update msg (#10593) 2026-01-06 22:57:40 +01:00
Tobias
c1fe8b91b4 chore: bump copyright to 2026 - happy new year (#10585)
* chore: bump copyright to 2026 - happy new year

* fix

* meilisearch fix source url

* livebook: fix space

* fix source cmd

* fix source cmd
2026-01-06 13:28:12 +01:00
CanbiZ
5a92816946 Add explicit exit calls to update_script functions (#8752) 2025-10-30 13:03:54 +01:00
CanbiZ
e6ab47f341 general: update all alpine scripts to 3.22 (#5428) 2025-06-24 15:28:35 +02:00
CanbiZ
2e4c51450f change var in ct files to new standard (#3804) 2025-04-10 11:56:52 +02:00
CanbiZ
8c051b8186 Replace wget with curl -fsSL, normalize downloads, and prep for IPv6 (#3455)
* Initial Call, Switch from curl -s to curl -fsSL and wget to curl -fssL

* more switches

* switch vms

* more curls

* More curls

* more

* more

* more changes

* more

* prepare ipv6 calls

* change frontend to ipv6

* Formatting

* Fromatting

* Update gomft.sh

* Update gomft-install.sh

* Update ersatztv.sh

* Update build.func

---------

Co-authored-by: Slaviša Arežina <58952836+tremor021@users.noreply.github.com>
2025-04-01 10:25:46 +02:00
CanbiZ
af01193bc2 [core] cleanup (remove # App Default Values) (#2356) 2025-02-13 17:59:47 +01:00
CanbiZ
6f131933b7 [core] cleanup (remove base_settings & unneeded comments) (#2351) 2025-02-13 14:40:49 +01:00
CanbiZ
dbb9b66355 Update Alpine Packages to 3.21 (#1803) 2025-01-28 12:53:41 +01:00
CanbiZ
15f04d525d Happy new Year! Update Copyright to 2025 (#1150) 2025-01-01 13:37:29 +01:00
CanbiZ
353a5e7c99 Update ALL CT's to new default (Part 2) (#710) 2024-12-16 13:31:48 +01:00
CanbiZ
f2a1cc7eef Update ALL CT's to new default (Part 2) (#710)
* Update ALL CT's to new default

* Minor Changes

* Merge Bookstack from main

* Indention Bookstack

* Merge Vikunja from Main

* Merge Komga from Main

* Merge Unifi from Main
2024-12-16 12:42:51 +01:00
CanbiZ
a4a1821822 Changed all dependencies to the community project 2024-11-02 08:48:05 +01:00
tteckster
8fd1727fa8 Update alpine-nextcloud.sh
Remove "update" option
fixes https://github.com/tteck/Proxmox/issues/3298
2024-06-30 09:09:08 -04:00
tteckster
749639b1f0 Update to Alpine 3.19 2024-02-12 06:55:25 -05:00
tteckster
6a83a3eaac New feature
- The option to utilize Apt-Cacher-NG (Advanced settings) when creating LXCs. The added functionality is expected to reduce bandwidth usage and provide faster operating system updates.
- Requires the Apt-Cacher-NG LXC
2024-01-12 15:00:42 -05:00
tteckster
7122a465a1 Add variables 2024-01-12 12:04:03 -05:00
tteckster
30c53d6958 update year to 2024 2024-01-01 12:13:05 -05:00
tteckster
b337babee9 Update alpine-nextcloud.sh
Increase RAM
2023-12-27 15:52:59 -05:00
tteckster
7377f1627b Update alpine-nextcloud.sh
Nextcloud 28.0 requires sodium and bz2
2023-12-20 06:44:01 -05:00
tteckster
c12a4f9f7c Update alpine-nextcloud.sh
tweak
2023-10-29 21:51:51 -04:00
tteckster
4280da6c42 Update alpine-nextcloud.sh
tweak
2023-09-30 07:03:00 -04:00
tteckster
9fb5e232bd Update alpine-nextcloud.sh 2023-09-29 06:48:31 -04:00
tteckster
1c5ac20a6f Update alpine-nextcloud.sh 2023-09-29 06:42:06 -04:00
tteckster
88fd96dc5d Update alpine-nextcloud.sh
tweak
2023-09-29 06:31:02 -04:00
nicedevil007
0bd5c03afe Update for Alpine-Nextcloud (#1854)
code refactoring
2023-09-29 02:57:16 -04:00
tteckster
a5a71ae789 Update alpine-nextcloud.sh
tweaks
2023-09-28 13:57:47 -04:00
tteckster
497b6bd9a8 Update alpine-nextcloud.sh
tweak
2023-09-28 13:34:24 -04:00
nicedevil007
a9fea5e552 Update alpine-nextcloud.sh (#1852)
as suggested by tteckster
2023-09-28 13:29:18 -04:00
nicedevil007
c1627e1ce7 Fixed Update Part (#1851)
there was a missing '
2023-09-28 13:11:57 -04:00
nicedevil007
1ca1be76cf Initial Release for Alpine-Nextcloud Script (#1850)
- initial Release
- for testing
2023-09-28 12:14:58 -04:00