Commit Graph

43 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
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
37e3739bd2 Update AdGuard Home to Debian 13 and improve install (#7720) 2025-09-18 15:20:15 +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
15f04d525d Happy new Year! Update Copyright to 2025 (#1150) 2025-01-01 13:37:29 +01:00
CanbiZ
f511d88502 Fix ports ressources (#867)
* fix Plex Port

* fix ressources adguard

* fix photoprism ressource
2024-12-17 11:19:08 +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
72bee44543 remove storage Check in adguard.sh 2024-11-14 00:05:55 +01:00
CanbiZ
3ef3718056 Merge adguard.sh (#238) 2024-11-13 23:58:19 +01:00
CanbiZ
f7adce2fda Remove Update Code from Adguard Home (#213)
* Remove Update Code from Adguard Home

* Update adguard.json

* Update ct/adguard.sh

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

* Update json/adguard.json

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

* improve Text in json

---------

Co-authored-by: Håvard Gjøby Thom <34199185+havardthom@users.noreply.github.com>
2024-11-13 23:52:36 +01:00
CanbiZ
a4a1821822 Changed all dependencies to the community project 2024-11-02 08:48:05 +01:00
tteckster
f674b8af03 Update adguard.sh
fixes https://github.com/tteck/Proxmox/issues/2462
2024-02-09 17:41:00 -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
7450250f03 Update adguard.sh
default Debian 12
fixes https://github.com/tteck/Proxmox/issues/1538
2023-06-24 16:40:59 -04:00
tteckster
d7d4d296e5 tweak 2023-05-13 21:22:09 -04:00
tteckster
c44ab752e4 grammar 2023-04-18 07:40:03 -04:00
Chris Heath
202827ce41 Update adguard.sh (#1343)
Fix for DNS lookup failing during wget command.
2023-04-18 07:12:17 -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
tteckster
95363971aa Rename adguard.sh to adguard-v2.sh 2022-04-18 06:40:32 -04:00
tteckster
51e88181a5 Update adguard.sh 2022-04-01 13:51:10 -04:00
tteckster
f9270e514b Update adguard.sh 2022-04-01 09:32:31 -04:00
tteckster
4836a8ea54 Update adguard.sh 2022-04-01 09:30:33 -04:00
tteckster
3280f46dae Update adguard.sh 2022-03-20 12:26:05 -04:00
tteckster
8a6d04ecf3 Update adguard.sh 2022-03-15 00:54:18 -04:00
tteckster
1ad7e816df Update adguard.sh 2022-03-08 10:32:51 -05:00
tteckster
ef1c7a0369 Update adguard.sh 2022-02-24 12:26:11 -05:00
tteckster
3e975df752 Update adguard.sh 2022-02-23 08:39:02 -05:00
tteckster
b23bb6965b Update adguard.sh 2022-02-23 07:03:18 -05:00
tteckster
c15d503144 Update adguard.sh 2022-02-23 06:44:41 -05:00
tteckster
0433f9062f Create adguard.sh 2022-02-23 06:41:01 -05:00