Commit Graph

56 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
Slaviša Arežina
90f73d1d24 Remove custom IP fetching (#10954)
Co-authored-by: CanbiZ (MickLesk) <47820557+MickLesk@users.noreply.github.com>
2026-01-19 16:33:08 +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
714c2e5888 Bump K to H-Scripts to Debian 13 (Trixie) (#8597)
* Update scripts to use Debian 13 and improve update logic

Bump default container OS version from Debian 12 to 13 across multiple LXC setup scripts. Refactor update_script functions for consistency, improve messaging, and standardize apt usage. Update Kimai install and update scripts to use setup_php, setup_composer, and fetch_and_deploy_gh_release helpers, and switch from MySQL to MariaDB. Update Kometa to use Python 3.13. Minor improvements to backup, cleanup, and service management steps in several scripts.

* Refactor install scripts: unify cleanup and apt usage

Replaces repeated apt-get commands with apt for installing dependencies, and consolidates cleanup steps into a single cleanup_lxc function across all install scripts. Also updates repository setup to use setup_deb822_repo where applicable, and makes minor improvements to dependency installation and service setup.

* Update default Debian version to 13 and refactor updates

Set the default Debian version to 13 across all container scripts. Standardize apt command usage by replacing 'apt-get' with 'apt' where appropriate. Remove redundant cleanup steps from update scripts and streamline update logic for consistency. Also, call 'cleanup_lxc' after 'update_script' in the build function.

* Update default OS version to Debian 13 in JSON configs

Updated the 'version' field from '12' to '13' for Debian-based install methods across multiple application JSON files. Also set default OS and version for inspircd. This ensures new containers use the latest supported Debian release.

* fix kimai Update Check

* grammar

* Correct typo in success message

* Fix typo in success message for update

* refactor

* fixed jenkins / improve komodo

---------

Co-authored-by: Tobias <96661824+CrazyWolf13@users.noreply.github.com>
2025-11-12 10:56:18 +01:00
CanbiZ
c356f77efe Refactor: Remove redundant dependencies & unify unzip usage (#4780)
* refactor unzip / remove dep

* remove deps from alpine packages

* remove gnupg

* remove gnupg
2025-05-28 11:25:13 +02:00
Slaviša Arežina
990ce16a7d Portainer is on https port (#4371) 2025-05-10 15:23:43 +02:00
CanbiZ
2e4c51450f change var in ct files to new standard (#3804) 2025-04-10 11:56:52 +02:00
Slaviša Arežina
c6f9c59eff Fixes and standard enforcement (#3564)
* Fixes and standard enforcement

* Update

* Update

* Update install/navidrome-install.sh

Co-authored-by: Michel Roegl-Brunner <73236783+michelroegl-brunner@users.noreply.github.com>

* Update install/ntfy-install.sh

Co-authored-by: Michel Roegl-Brunner <73236783+michelroegl-brunner@users.noreply.github.com>

* Update install/nzbget-install.sh

Co-authored-by: Michel Roegl-Brunner <73236783+michelroegl-brunner@users.noreply.github.com>

* Update install/n8n-install.sh

Co-authored-by: Michel Roegl-Brunner <73236783+michelroegl-brunner@users.noreply.github.com>

* Update install/openhab-install.sh

Co-authored-by: Michel Roegl-Brunner <73236783+michelroegl-brunner@users.noreply.github.com>

* Update install/paperless-ai-install.sh

Co-authored-by: Michel Roegl-Brunner <73236783+michelroegl-brunner@users.noreply.github.com>

* Update install/pairdrop-install.sh

Co-authored-by: Michel Roegl-Brunner <73236783+michelroegl-brunner@users.noreply.github.com>

* Pass 2

* Update

* Update

---------

Co-authored-by: Michel Roegl-Brunner <73236783+michelroegl-brunner@users.noreply.github.com>
2025-04-01 20:22:40 +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
ece3ad2b13 Feature: Use Verbose Mode for all Scripts (removed &>/dev/null) (#2596)
* Feature: Use Verbose Mode for all Scripts (removed &>/dev/null)

* Update crafty-controller.sh
2025-02-24 12:49:16 +01: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
Gene Hand
585bb697b5 Use the latest versions of runlike with --use-volume-id (#2325) 2025-02-13 07:57:00 +01:00
Gene Hand
2b0666bcf8 Fix: Home Assistant - Keep the same hass_config volume (#2160) 2025-02-09 10:23:37 +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
ad18c05686 Massive Update (Remove StorageCheck (old) + Add Ressource & StorageCheck, Remove Whiptail, Remove PCT Ressource Set (#333)
* Massive Update (Remove StorageCheck (old) + Add Ressource & StorageCheck, Remove Whiptail, Remove PCT Ressource Set

* Update calibre-web.sh

* Update cockpit.sh

* Update cronicle.sh

* Update homeassistant-core.sh

* Update podman-homeassistant.sh

* Update node-red.sh

* Update plex.sh

* Update wallos.sh

* Revert "Update wallos.sh"

This reverts commit ea6311e190.

* Update homeassistant.sh

* Update ct/cronicle.sh

Co-authored-by: Håvard Gjøby Thom <34199185+havardthom@users.noreply.github.com>

---------

Co-authored-by: Håvard Gjøby Thom <34199185+havardthom@users.noreply.github.com>
2024-11-18 21:09:10 +01:00
CanbiZ
a4a1821822 Changed all dependencies to the community project 2024-11-02 08:48:05 +01:00
tteckster
1ec52d08a3 Update changeme to helper-scripts.com 2024-10-18 22:24:27 -04: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
Ryan Winter
dc556414f0 Update homeassistant.sh
change Portainer port
2024-01-02 17:53:43 -05:00
tteckster
30c53d6958 update year to 2024 2024-01-01 12:13:05 -05:00
tteckster
a22c3644a6 drop fuse-overlayfs storage driver
- As of Proxmox 8.1, `overlay2` is now a supported Docker storage driver when using ZFS, specifically with OpenZFS version 2.2.0 or later.
2023-12-06 20:13:12 -05:00
Björn Fries
64d5ec81ee Fix typo (#2007) 2023-11-05 16:52:56 -05:00
tteckster
6fae1fc557 add backtitle 2023-09-09 05:13:17 -04:00
tteckster
117023984e Update homeassistant.sh
New release issues, revert to 2.23.0
2023-08-02 20:10:12 -04:00
tteckster
0b76e1fadc Update homeassistant.sh
default Debian 12
2023-06-25 04:37:39 -04:00
tteckster
d7d4d296e5 tweak 2023-05-13 21:22:09 -04:00
tteckster
3b2c81cf1c Optimizing code 2023-03-30 07:02:00 -04:00
tteckster
b19b5e1039 revert revert ssh_check 2023-03-27 21:21:14 -04:00
tteckster
23d8d1b807 revert ssh_check 2023-03-27 20:52:46 -04:00
tteckster
726cbe6ba9 add ssh_check 2023-03-27 19:09:22 -04:00
tteckster
8500e495b0 add Docker LXCs to build.func & tweaks 2023-03-23 07:07:49 -04:00
tteckster
baa9bb9e2e code refactoring 2023-03-23 00:09:04 -04:00
tteckster
4175b8d5f6 The latest iteration of the scripts (#1220) 2023-03-22 20:48:20 -04:00
tteckster
641652c76b Rename homeassistant.sh to homeassistant-v2.sh 2022-04-16 16:00:32 -04:00
tteckster
33ec3d13c3 Update homeassistant.sh 2022-04-01 14:10:27 -04:00
tteckster
dca41e5f0b Update homeassistant.sh 2022-03-20 15:21:19 -04:00
tteckster
456919dfa5 Update homeassistant.sh 2022-03-20 13:40:49 -04:00
tteckster
9bdbfd8426 Update homeassistant.sh 2022-03-20 13:25:34 -04:00
tteckster
1ea0365731 Update homeassistant.sh 2022-03-20 12:49:13 -04:00
tteckster
d59c67f487 Update homeassistant.sh 2022-03-15 00:58:41 -04:00
tteckster
9cd5f937fe Update homeassistant.sh 2022-03-10 22:06:29 -05:00
tteckster
18e6170b04 Update homeassistant.sh 2022-03-10 21:19:50 -05:00
tteckster
8ff61f0cde Update homeassistant.sh 2022-03-10 19:32:38 -05:00
tteckster
ae6794de2d Update homeassistant.sh 2022-03-08 10:38:06 -05:00
tteckster
af0882a7fb Update homeassistant.sh 2022-03-03 13:03:41 -05:00