HelperScripts-for-ProxmoxVE/misc
CanbiZ (MickLesk) 9f50496f8b
fix(tools.func): upgrade Node.js minor/patch on same major version (#13957)
In setup_nodejs() Scenario 1 (major version already matches), only npm
was refreshed - apt never upgraded the nodejs package itself. This left
existing LXCs stuck on older minor releases (e.g. 22.13.1) even though
NodeSource ships newer ones (e.g. 22.19+).

Fix: add pt-get install -y --only-upgrade nodejs before the npm pin
so the latest minor/patch from the already-configured NodeSource repo is
always installed.

Fixes: seerr update failing with ERR_PNPM_UNSUPPORTED_ENGINE because
seerr 3.2.0 requires Node >=22.19.0 but installed was v22.13.1 (#13955)
2026-04-23 15:49:54 +02:00
..
images remove old files and assets (#9991) 2025-12-15 17:37:26 +01:00
alpine-install.func core: APT/APK Mirror Fallback for CDN Failures (#13316) 2026-03-26 16:53:04 +01:00
alpine-tools.func core/tools: replace generic return 1 exit_codes with more specific exit_codes (#13311) 2026-03-26 16:07:38 +01:00
api.func core: fix some pct create issues (telemetry) + cleanup (#13810) 2026-04-17 15:19:52 +02:00
build.func Revert "core: Add PHS_VERBOSE env var to skip verbose mode prompts (#13797)" (#13963) 2026-04-23 15:30:38 +02:00
cloud-init.func core/tools: replace generic return 1 exit_codes with more specific exit_codes (#13311) 2026-03-26 16:07:38 +01:00
core.func Revert "core: Add PHS_VERBOSE env var to skip verbose mode prompts (#13797)" (#13963) 2026-04-23 15:30:38 +02:00
error_handler.func core: silent() function - use return instead of exit to allow || true error handling (#13529) 2026-04-05 21:02:56 +02:00
install.func APT Proxy: Support full URLs (http/https with custom ports) (#13474) 2026-04-03 21:17:07 +02:00
tools.func fix(tools.func): upgrade Node.js minor/patch on same major version (#13957) 2026-04-23 15:49:54 +02:00
vm-core.func Add donate & script page badges to descriptions (#13596) 2026-04-08 21:40:52 +02:00