Commit Graph

61 Commits

Author SHA1 Message Date
CanbiZ (MickLesk) a35a75eadb Set default ProxmoxVE raw URL in PVE-UPS & fix var_cpu sorting (#16689)
* Set default ProxmoxVE raw URL in UPS script

Define `_CS_DEFAULT_URL` at the top of `ct/pve-ups.sh` and remove the outdated bootstrap comments, aligning the script with the newer URL-default pattern used for script sourcing.

* Branch var_cpu by OS where the two variants actually differ

The merged scripts branch var_ram, var_disk and var_version on var_os but
left var_cpu above the branch, so both variants inherited the Debian value.
On Vaultwarden that meant an Alpine container was told it wanted four cores
for an update that runs apk and restarts a service.

Only seven scripts are affected. Comparing each merged script against the
alpine-* script it replaced, 22 of the 29 already had the same CPU count on
both sides, so moving the line there would be churn with no behaviour change.
These seven did not:

  docker, forgejo, ironclaw, syncthing, transmission, zigbee2mqtt   2 -> 1
  vaultwarden                                                       4 -> 1

The Alpine values are the ones those scripts carried before the merge, read
back out of the deleted alpine-* files rather than picked. The Debian arm
keeps what it has now.

Needs the matching core change: until build.func derives var_os inside a
container, an update never reaches the Alpine arm at all.

* fix: source url

* Update script to source build functions from URLs

---------

Co-authored-by: Tobias <96661824+CrazyWolf13@users.noreply.github.com>
2026-08-23 03:21:42 +02:00
CanbiZ (MickLesk) 92e72e4137 Breaking Change: Migrate all "Alpine" Scripts to Normal CT's (#16587) 2026-08-18 12:38:22 +02:00
CanbiZ (MickLesk) 4c10c0d98f Vaultwarden: handle version detection failure gracefully in update (#15526) 2026-07-01 22:35:43 +02:00
CanbiZ (MickLesk) 96d828f379 Vaultwarden: extend version check for VaultWarden update (#15105) 2026-06-15 10:08:49 +02:00
Sam Heinz 2b87a54afb set script arm64 statuses to yes (#15052)
these scripts I have already previously confirmed work without any changes to the scripts themselves
2026-06-11 16:16:15 +02:00
Slaviša Arežina f1bc4f1922 [misc]: Fix aligment of status messages (#14900) 2026-06-03 11:03:13 +02:00
Sam Heinz 69aa93a83a workflows: update workflows, templates to support arm64. (#14653)
* set 'var_arm64' to no in all ct scripts

* update files in .github to support arm64
2026-05-23 07:46:44 +10:00
CanbiZ (MickLesk) 558220fb0e Vaultwarden: export VW_VERSION as version number (#11966) 2026-02-16 10:52:56 +01:00
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) c612bfefcd Fetch Web-Vault directly to target dir
Simplify the Web-Vault update flow by creating /opt/vaultwarden/web-vault and calling fetch_and_deploy_gh_release with that path as the deployment target. Removes temporary directory creation, move and cleanup (mktemp/mv/rm -rf) and ensures the destination exists before downloading. Ownership and the success message are preserved.
2026-02-02 17:14:48 +01:00
CanbiZ (MickLesk) d7872a8240 Use temp dir for Web-Vault deployment
Deploy the Web-Vault release into a temporary directory before moving it into /opt/vaultwarden. The change creates a mktemp -d directory, passes that to fetch_and_deploy_gh_release, moves the extracted web-vault into /opt/vaultwarden/web-vault, and removes the temp dir. This prevents partial or mixed artifacts in /opt during the fetch/extract step and keeps the existing ownership/chown behavior.
2026-02-02 17:03:02 +01:00
CanbiZ (MickLesk) abfd57f486 hotfix vaultwarden 2026-02-02 16:47:16 +01:00
CanbiZ (MickLesk) 474f1e8886 Refactor: Vaultwarden (#11445)
* refactor(vaultwarden): modernize using tools.func helpers

- Use setup_rust instead of manual rustup installation
- Use fetch_and_deploy_gh_release for source tarball (no git clone)
- Use fetch_and_deploy_gh_release for Web-Vault prebuild download
- Use check_for_gh_release for update detection (automatic version tracking)
- Use get_latest_github_release (strip v prefix by default)
- Use ensure_dependencies for argon2
- Remove git from dependencies (no longer needed)
- Use heredoc with proper formatting for systemd service file
- Automatic version tracking via ~/.vaultwarden and ~/.vaultwarden_webvault

Fixes #11393

* minor fixes

* Enhance Vaultwarden installation script for web vault

* Update vaultwarden-install.sh

* Update vaultwarden.sh
2026-02-02 14:52:09 +01:00
CanbiZ (MickLesk) 7fc77fe5be various scripts: use ensure_dependencies instead of apt (#11463)
* refactor(ct): replace apt install with ensure_dependencies in update_script functions

* refactor(ct): replace remaining apt install with ensure_dependencies

* refactor(ct): replace remaining apt install with ensure_dependencies

* refactor(ct): remove redundant dpkg checks before ensure_dependencies

* refactor(ct): remove ALL redundant checks before ensure_dependencies

* Update neo4j.sh
2026-02-02 13:01:17 +01:00
Tobias 08d67aa722 chore: fix update msg (#10593) 2026-01-06 22:57:40 +01:00
Tobias 0e8341cb86 fix: shellcheck changes (#10591) 2026-01-06 13:45:03 +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 9777abe56d Remove redundant cleanup steps from update scripts (#9359) 2025-11-22 16:41:22 +01:00
CanbiZ be7d0704d7 Standardize update success messages in scripts (#8757) 2025-10-30 17:24:16 +01:00
CanbiZ bfcda5d07a Bump W-V Scripts to Debian 13 (#8176)
* bump various scripts (V - W) to debian 13

* Update install/wizarr-install.sh

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* Add apt clean command to cleanup process

* Update ct/wireguard.sh

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-10-07 21:40:31 +02:00
Tobias 1d50632019 vaultwarden: increase disk space (#6712)
* vaultwarden: fix: disk

* vaultwarden: fix: frontent hdd display
2025-08-09 15:09:44 +02:00
Slaviša Arežina 783e7518f8 Fix access URL (#4199) 2025-05-03 18:48:07 +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 540d80a21c Update Vaultwarden Source (#3036) 2025-03-13 10:42:49 +01: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
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
Håvard Gjøby Thom 119bf4e183 Remove old resource message from vaultwarden (#402) 2024-11-22 10:27:33 +13: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 0b5b2e85f7 Increase Ressources for vaultwarden and check storage (#285)
* Increase Ressources for vaultwarden and check storage

increase RAM to 6144 & add
check_container_storage
check_container_resources

* Update vaultwarden.json (Increase RAM)

* Update CHANGELOG.md

* Update CHANGELOG.md
2024-11-16 17:11:55 +01:00
CanbiZ a4a1821822 Changed all dependencies to the community project 2024-11-02 08:48:05 +01:00
tteckster 0ab3151825 Update vaultwarden.sh
tweak
2024-10-22 15:26:32 -04:00
tteckster 30a5147fba Update vaultwarden.sh
"SET RESOURCES" whiptail
2024-10-20 22:14:50 -04:00
tteckster cfa1b2e04d Update vaultwarden.sh
tweak
2024-07-17 13:48:42 -04:00
tteckster 9deea7a983 Update vaultwarden.sh
add Admin Token to `/opt/vaultwarden/data/config.json`
2024-07-17 13:32:26 -04:00
tteckster a04fd986dc Update vaultwarden.sh
- increase RAM during build to 5GB
- fixes https://github.com/tteck/Proxmox/issues/2977
2024-05-13 11:09: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
tteckster 30c53d6958 update year to 2024 2024-01-01 12:13:05 -05:00
tteckster 8185b09e01 Update vaultwarden.sh
default Debian 12
2023-11-11 19:35:32 -05:00
tteckster 6fae1fc557 add backtitle 2023-09-09 05:13:17 -04:00
tteckster d7d4d296e5 tweak 2023-05-13 21:22:09 -04:00
tteckster a472080127 Update vaultwarden.sh
tweak
2023-04-10 00:21:11 -04:00
tteckster ab2cd43c15 Update vaultwarden.sh
tweak
2023-04-09 23:50:49 -04:00
tteckster 1267ac0131 Update vaultwarden.sh
Use Argon2 to securely hash passwords and protect them against various types of attacks.
2023-04-09 23:45:57 -04:00
tteckster 3b2c81cf1c Optimizing code 2023-03-30 07:02:00 -04:00