Commit Graph

49 Commits

Author SHA1 Message Date
CanbiZ (MickLesk) dbdd891a99 several scripts: add additional github link in source (#12282)
* fix(error-handler): prevent silent() from re-enabling error handling during recovery

Root cause: silent() (core.func) unconditionally calls set -Eeuo pipefail
and trap 'error_handler' ERR after every command. When build_container()
intentionally disables error handling for its recovery section, any
intermediate call through silent()/ re-enables it. This causes the
grep/sed pipeline for missing_cmd extraction to trigger error_handler
(grep returns exit code 1 on no match + pipefail = fatal).

Fixes:
1. silent(): Save errexit state before disabling, only restore if it was
   active. Callers that intentionally disabled error handling (e.g.
   build_container recovery) are no longer silently re-enabled.

2. build.func: Add || true to missing_cmd grep pipeline as defense-in-depth
   against pipeline failure propagation.

3. build.func: Add explicit set +Eeuo pipefail / trap - ERR after
   post_update_to_api() call, before error classification grep/sed section.

4. build.func: Remove stale global combined_log variable from variables()
   that used a different path format (/tmp/install-SESSION-combined.log)
   than the actual local variable (/tmp/NSAPP-CTID-SESSION.log). The global
   was never written to and caused confusion when error_handler displayed it.

* Update build.func

* chore(install): add Github source links to all setup_nodejs scripts

52 install scripts had a project website in '# Source:' but no GitHub
link. Merged the GitHub repo URL into the Source header as:
  # Source: https://website.com/ | Github: https://github.com/OWNER/REPO

Repos sourced from fetch_and_deploy_gh_release calls, get_latest_github_release
calls, or known project repos for npm/pip installed apps.

Two scripts (fumadocs, pve-scripts-local) had no Source line at all —
added one. Shinobi skipped (GitLab-only, no GitHub repo).

* chore(install): add Github source links to all fetch_and_deploy scripts

77 additional install scripts had fetch_and_deploy_gh_release calls but
no GitHub link in the Source header. Merged the primary app repo into
the Source header as:
  # Source: https://website.com/ | Github: https://github.com/OWNER/REPO

Where multiple fetch_and_deploy calls existed (app + dependency), the
primary app repo was selected:
- ersatztv: ErsatzTV/ErsatzTV (not ffmpeg)
- firefly: firefly-iii/firefly-iii (not data-importer)
- komga: gotson/komga (not kepubify dep)
- sabnzbd: sabnzbd/sabnzbd (not par2cmdline-turbo dep)
- signoz: SigNoz/signoz (not otel-collector)
- tunarr: chrisbenincasa/tunarr (not ffmpeg dep)

Also fixed cosmos-install.sh double https:// in Source URL.

Skipped: autocaliweb (source already on codeberg, GitHub repos are deps only)

* revert: restore misc/build.func and misc/core.func to main state

These error-handler fixes belong to fix/error-handler-recovery, not to
this sources-only branch.

* chore(ct,tools): sync Source headers with install/ and add Github links to addon scripts
2026-02-24 15:11:53 +01:00
Tobias f233c476b6 refactor: homepage (#11605) 2026-02-06 08:55:47 +01:00
Chris 62cd1429ec [FIX] Homepage: preserve public/images & public/icons if they exist (#11594) 2026-02-06 08:00:39 +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
CanbiZ (MickLesk) 0f15d81cd3 fix(homepage): preserve config directory during updates (#10993)
Fixes #10985 - The update script was deleting user config files due to
CLEAN_INSTALL=1 flag. Now backs up and restores both .env and config/
directory to preserve user configurations.
2026-01-20 13:35:28 +01:00
CanbiZ (MickLesk) d6811a3383 Fix ip import (#10964)
* Rename import_local_ip to get_local_ip

Replaces all references to the helper function import_local_ip with get_local_ip across scripts and documentation for consistency. Updates usage examples and comments to reflect the new function name.

* Rename get_local_ip to get_lxc_ip and update usage

Replaces all references to get_local_ip with get_lxc_ip across scripts, documentation, and templates for clarity and consistency. Updates the implementation in core.func to improve IP detection for LXC containers, and adjusts helper functions in addon scripts accordingly.
2026-01-19 17:32:44 +01:00
Slaviša Arežina 56ab6a6cb8 Refactor: Homepage (#10950) 2026-01-19 15:45:41 +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 be7d0704d7 Standardize update success messages in scripts (#8757) 2025-10-30 17:24:16 +01:00
Gerhard Burger 054a963ca2 Update homepage.sh to use setup_nodejs (#6462) 2025-08-01 20:32:38 +02:00
Chris 0b0ae1a3bc homepage.sh: hotfix #6028 (#6032) 2025-07-16 19:32:17 +02:00
Gerhard Burger 9905012cd7 Add build time var (#4167) 2025-05-01 19:17:16 +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
Slaviša Arežina bcaf34fa96 Fix release parsing (#3484) 2025-03-29 15:12:52 +01:00
Chris 0b014d25be Homepage: Bugfix for v1.0.0 (#3092)
* (for revert)modify func files

* KSS
2025-03-15 09:06:20 +01:00
Slaviša Arežina 2fd035582a npx update-browserlist need to go after pnpm install (#2914) 2025-03-07 14:43:07 +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
Sébastiaan 7c0f85d0b3 Fix Script Homepage: add version during build step (#1155)
* Make variables exported

* Auto-yes update-browserslist-db
2025-01-01 18:25:46 +01:00
CanbiZ 15f04d525d Happy new Year! Update Copyright to 2025 (#1150) 2025-01-01 13:37:29 +01:00
CanbiZ f2d11ea48c Revert Changes from PR 2024-12-31 10:36:27 +01:00
CanbiZ c9f4391df0 Fix Homepage-Script: Installation/Update (#1129)
* Fix some Parts of Homepage-Script

* Fix Install
2024-12-31 08:59:53 +01:00
CanbiZ 4a8239b2ce fix 2024-12-30 23:02:57 +01:00
Sébastiaan df3919b904 fix: add homepage version during build step (#1107)
* Set homepage version during build in ct script

* Change install script

* Split commands to multiple lines for ct script as well

* Make sure shellcheck is happy
2024-12-30 17:41:06 +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 20a1d1ea69 Update homepage.sh
fixes https://github.com/tteck/Proxmox/issues/3138
2024-06-05 06:07:02 -04:00
Scorpoon 4a1ccb5d3d Write version into Homepage_version.txt file after update (#2908) 2024-05-04 07:10:28 -04:00
tteckster f20d65a606 Update homepage.sh
Refactor
2024-04-23 10:36:16 -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 a82f235e3c Update homepage.sh
check for npm
2024-01-03 01:42:48 -05:00
tteckster 30c53d6958 update year to 2024 2024-01-01 12:13:05 -05:00
tteckster ab36af75af Update homepage.sh
tweak
2023-12-17 20:35:11 -05:00
tteckster 0909ad493b Update homepage.sh
update to /releases/latest
2023-12-17 20:23:32 -05:00
tteckster b18a844c98 Update homepage.sh
default Debian 12
2023-06-28 19:56:23 -04:00
tteckster d7d4d296e5 tweak 2023-05-13 21:22:09 -04:00
tteckster c44ab752e4 grammar 2023-04-18 07:40:03 -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 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