Commit Graph

68 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
CanbiZ (MickLesk)
f07c221ca4 NginxProxymanager: use better-sqlite3 (#11708)
* fix(nginxproxymanager): update for better-sqlite3 and setup wizard

NPM switched to better-sqlite3 as the knex database client.
The old sqlite3 client causes 'Internal Error' on user creation.

- Update production.json in install/update to use better-sqlite3
- Add sed patch in update script to fix existing production.json
- Add useNullAsDefault: true to match upstream knex config
- Remove default credentials from JSON (NPM now uses setup wizard)
- Add note about setup wizard for first-time users

Ref: NginxProxyManager/nginx-proxy-manager@0b2fa82
Closes #11681

* Update nginxproxymanager.json

* Remove disabled script error messages

Removed error messages related to OpenResty APT repository issues.
2026-02-09 10:33:44 +01:00
durzo
97bd4833fd nginxproxymanager: allow updates now the build is fixed (#10796)
* nginxproxymanager: allow updates now the build is fixed

* fix func

* Change release version to 'latest' for deployment

* Update release version fetching for nginxproxymanager

* Update fetch_and_deploy_gh_release to use latest version

---------

Co-authored-by: Tobias <96661824+CrazyWolf13@users.noreply.github.com>
2026-01-14 10:00:32 +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
durzo
9582910787 Fix build for 2.13.5 (#10340) 2025-12-27 10:17:30 +01:00
CanbiZ
afe330173e Refactor cleanup steps to use cleanup_lxc function (#9354) 2025-11-22 17:27:13 +01:00
Slaviša Arežina
e5db2c6eb9 Nginx Proxy Manager: Pin version to v2.13.4 (#9259)
* Update Nginx Proxy Manager release version

* Update nginxproxymanager.sh

---------

Co-authored-by: CanbiZ <47820557+MickLesk@users.noreply.github.com>
2025-11-19 09:36:20 +01:00
Tobias
4c374e50dc fix: npm: refactor for v2.13.x (#8870) 2025-11-05 14:41:52 +01:00
CanbiZ
b36b4258cc Refactor: Nginx Proxy Manager (#8453) 2025-10-18 13:33:00 +02:00
CanbiZ
c055781fed remove unbound prompt 2025-10-17 15:48:33 +02:00
CanbiZ
ac89626832 Enhance nginx proxy manager install script (#8400) 2025-10-16 17:02:04 +02:00
CanbiZ
341f87045c Bump L to N-Scripts to Debian 13 (Trixie) (#8368)
* Bump L to N-Scripts to Debian 13 (Trixie)

* refactor

* Add apt clean command to cleanup process

* Add apt clean command to cleanup process

---------

Co-authored-by: Tobias <96661824+CrazyWolf13@users.noreply.github.com>
Co-authored-by: Slaviša Arežina <58952836+tremor021@users.noreply.github.com>
2025-10-15 22:29:48 +02:00
CanbiZ
74be3e70b9 nginxproxymanager: remove injected tteck link (#6117) 2025-07-21 16:05:17 +02:00
CanbiZ
010928fee2 Refactor: Remove gpg / gnupg from script base (#4775)
* Refactor: Remove gpg / gnupg from

* push more

* add more

* Update reactive-resume-install.sh

* Revert: add unzip

---------

Co-authored-by: Tobias <96661824+CrazyWolf13@users.noreply.github.com>
2025-05-28 10:54:01 +02:00
Slaviša Arežina
62189321cc Update scripts that use read -p (#4498) 2025-05-15 11:13:57 +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
3b983bed30 fixes npm 2025-04-01 14:45:13 +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
2306531021 [core] Rebase Scripts (formatting, highlighting & remove old deps) (#3378)
* Big Refactor: Remove Deps / Formatting & Correct End Of Line Sequence

* f
2025-03-24 14:20:56 +01:00
Mathijs Groothuis
9c9550b446 Typo Enviroment > Environment (#3115) 2025-03-16 18:30:12 +01:00
Bas van den Berg
204219a477 Add source to install scripts and make license one line (#2842) 2025-03-04 17:54:20 +01:00
CanbiZ
15f04d525d Happy new Year! Update Copyright to 2025 (#1150) 2025-01-01 13:37:29 +01:00
Mathijs Groothuis
3ec3478b2d Update nginxproxymanager-install.sh (#676)
Fix typo 'Enviroment' > 'Environment
2024-12-04 16:30:37 +01:00
CanbiZ
a4a1821822 Changed all dependencies to the community project 2024-11-02 08:48:05 +01:00
tteckster
38d3f2c868 Update nginxproxymanager-install.sh
tweak
2024-10-31 02:18:28 -04:00
tteckster
399786c5bd Update nginxproxymanager-install.sh
fixes https://github.com/tteck/Proxmox/issues/3982
2024-10-27 04:57:06 -04:00
tteckster
e4912cec78 Update nginxproxymanager-install.sh
tweak
2024-10-27 01:16:41 -04:00
tteckster
72b3876fee Update nginxproxymanager-install.sh
add symlink
2024-10-04 20:53:22 -04:00
tteckster
542a8a619b Update nginxproxymanager-install.sh
tweak
2024-10-04 19:59:20 -04:00
tteckster
97d48dd4b7 Update nginxproxymanager-install.sh
fixes https://github.com/tteck/Proxmox/issues/3841
2024-10-04 18:51:35 -04:00
tteckster
8322aede45 Update nginxproxymanager-install.sh
tweak
2024-06-30 07:49:13 -04:00
tteckster
d5c0d165da tweak 2024-06-02 08:00:22 -04:00
Marco Cunha
3af40c5238 Ensure logrotate doesn't use non-existing npm user (#3026)
Upstream uses a dedicated user to run NPM. Ensure we do not try to user the missing user to rotate logs [which fails].
2024-05-20 19:38:47 -04:00
tteckster
bb965d681c Update nginxproxymanager-install.sh
Add back `python3-certbot-dns-cloudflare`
2024-05-04 03:51:09 -04:00
tteckster
ccc91c0337 Update nginxproxymanager-install.sh
tweak
2024-04-26 16:53:52 -04:00
tteckster
95b7607d4e Update nginxproxymanager-install.sh
Add certbot-dns-multi 4.16.1
2024-04-26 16:36:39 -04:00
tteckster
7b1738ca7b Update nginxproxymanager-install.sh
set pnpm version
2024-03-03 07:44:41 -05:00
tteckster
65cf479b99 Update nginxproxymanager-install.sh 2024-02-05 18:22:04 -05:00
tteckster
bfa4cd815e Update nginxproxymanager-install.sh
option to install v2.10.4
2024-02-05 18:10:55 -05:00
tteckster
14f4d9f852 Update nginxproxymanager-install.sh
tweak
2024-01-21 13:43:10 -05:00
tteckster
edf3803362 Update nginxproxymanager-install.sh
- nvm v0.39.7
- node.js v16.20.2
- Transition to using pnpm instead of yarn.
2024-01-21 07:03:52 -05:00
tteckster
623f0b298b Update nginxproxymanager-install.sh
apply fixes
2024-01-21 05:43:47 -05:00
tteckster
d2b5fc8344 Update nginxproxymanager-install.sh
- set sass-loader version
2024-01-19 00:01:21 -05:00
tteckster
30c53d6958 update year to 2024 2024-01-01 12:13:05 -05:00
tteckster
72b8deb363 Update nginxproxymanager-install.sh
tweak
2023-12-16 15:01:04 -05:00
tteckster
7edf944b6b Update nginxproxymanager-install.sh
fixes https://github.com/tteck/Proxmox/issues/1797
2023-09-15 05:28:17 -04:00
tteckster
fc49442ff8 Update nginxproxymanager-install.sh
tweak
2023-09-13 07:27:42 -04:00
tteckster
acdd9f8203 Update nginxproxymanager-install.sh
remove `\`
2023-09-13 07:25:40 -04:00
tteckster
7f5d708977 Update nginxproxymanager-install.sh
- add plugin for certbot to obtain certificates using a DNS TXT record for Porkbun domains
- fixes https://github.com/tteck/Proxmox/issues/1790
2023-09-13 04:20:38 -04:00
tteckster
41f44f4c28 Update nginxproxymanager-install.sh
tweak
2023-06-30 08:23:27 -04:00