CanbiZ (MickLesk)
2d7e707a00
fix(build): preserve exit code in ERR trap to prevent false exit_code=0
...
The ERR trap called ensure_log_on_host before post_update_to_api,
which reset \True to 0 (success). This caused ~15-20 records/day to be
reported as 'failed' with exit_code=0 instead of the actual error code.
Root cause chain:
1. Command fails with exit code N → ERR trap fires (\True = N)
2. ensure_log_on_host succeeds → \True becomes 0
3. post_update_to_api 'failed' '\True' → sends 'failed/0' (wrong!)
4. POST_UPDATE_DONE=true → EXIT trap skips the correct code
Fix: capture \True into _ERR_CODE before ensure_log_on_host runs.
2026-02-16 18:35:33 +01:00
CanbiZ (MickLesk)
ccccd8abca
fix: sync error_handler fallback, Alpine APK repair, retry limit
...
error_handler.func:
- Sync fallback explain_exit_code() with api.func: add 25+ codes that
were missing (curl 16/18/24/26/27/32-34/36/39/44-48/51/52/55/57/59/
61/63/79/92/95, signals 125/129/131/132/144/146, npm 239, code 3/8)
- Ensures consistent error descriptions even when api.func isn't loaded
build.func:
- Alpine APK repair: detect var_os=alpine and run 'apk fix && apk
cache clean && apk update' instead of apt-get/dpkg commands
- Show 'Repair APK state' instead of 'APT/DPKG' in menu for Alpine
- Retry safety counter: OOM x2 retry limited to max 2 attempts
(prevents infinite RAM doubling via RECOVERY_ATTEMPT env var)
- Show attempt count in rebuild summary
2026-02-16 18:24:33 +01:00
CanbiZ (MickLesk)
f463bd5029
feat(api+build): map 25 more exit codes, add SIGHUP trap, network/perm hints
...
api.func:
- Map 25+ new exit codes that were showing as 'Unknown' in telemetry:
curl: 3, 16, 18, 24, 26, 32-34, 39, 44, 46, 48, 51, 52, 57, 59, 61,
63, 79, 92, 95; signals: 125, 132, 144, 146
- Update code 8 description (FTP + apk untrusted key)
- Update header comment with full supported ranges
build.func:
- Add SIGHUP trap: reports 'failed/129' to API when terminal is closed,
should significantly reduce the 2841 stuck 'installing' records
- Add exit 52 (empty reply) and 57 (poll error) to network issue
detection for DNS override recovery option
- Add exit 125/126 hint: suggests privileged mode for permission errors
2026-02-16 18:15:28 +01:00
CanbiZ (MickLesk)
eef38514b1
feat(build): APT in-place repair, exit 1 subclassification, new exit codes
...
- Add APT/DPKG in-place recovery: detects exit 100/101/102/255 and exit 1
with APT log patterns, offers to repair dpkg state and re-run install
script without destroying the container
- Add exit 1 subclassification: analyzes combined log to identify root
cause (APT, OOM, network, command-not-found) and routes to appropriate
recovery option
- Add exit 10 hint: shows privileged mode / nesting suggestion
- Add exit 127 hint: extracts missing command name from logs
- Refactor recovery menu: use named option variables (APT_OPTION,
OOM_OPTION, DNS_OPTION) instead of hardcoded option numbers, supports
up to 6 dynamic options cleanly
- Map missing exit codes in api.func: curl 27/36/45/47/55, signals
129 (SIGHUP) / 131 (SIGQUIT), npm 239
2026-02-16 18:06:44 +01:00
CanbiZ (MickLesk)
03f5cd9de5
fix(build): restore smart recovery and add OOM/DNS retry paths
2026-02-16 17:46:43 +01:00
CanbiZ (MickLesk)
9c03b34e7d
Merge remote-tracking branch 'origin/main' into feature/smart-error-recovery
...
# Conflicts:
# misc/api.func
# misc/build.func
# misc/error_handler.func
2026-02-16 17:39:36 +01:00
community-scripts-pr-app[bot]
4418e72856
Update CHANGELOG.md ( #11999 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2026-02-16 16:14:29 +00:00
CanbiZ (MickLesk)
896714e06f
core/vm's: ensure script state is sent on script exit ( #11991 )
...
* Ensure API update is sent on script exit
Add exit-time telemetry handling across scripts to avoid orphaned "installing" records. Introduce local exit_code capture in api_exit_script and cleanup handlers and, when POST_TO_API_DONE is true but POST_UPDATE_DONE is not, post a final status (marking failures on non-zero exit codes, or marking done/failed in VM cleanups based on exit code). Changes touch misc/build.func, misc/vm-core.func and various vm/*-vm.sh cleanup functions to reliably send post_update_to_api on normal or early exits.
* Update api.func
* fix(telemetry): add missing exit codes to explain_exit_code()
- Add curl error codes: 4, 5, 8, 23, 25, 30, 56, 78
- Add code 10: Docker/privileged mode required (used in ~15 scripts)
- Add code 75: Temporary failure (retry later)
- Add BSD sysexits.h codes: 64-77
- Sync error_handler.func fallback with canonical api.func
2026-02-16 17:14:00 +01:00
community-scripts-pr-app[bot]
96389a02cb
chore: update github-versions.json ( #11996 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2026-02-16 12:14:25 +00:00
community-scripts-pr-app[bot]
a4e6286260
Update .app files ( #11993 )
...
Co-authored-by: GitHub Actions <github-actions[bot]@users.noreply.github.com>
2026-02-16 12:49:30 +01:00
community-scripts-pr-app[bot]
a6617cc6a1
Update CHANGELOG.md ( #11995 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2026-02-16 11:49:19 +00:00
community-scripts-pr-app[bot]
f1377e6cb0
Update CHANGELOG.md ( #11994 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2026-02-16 11:49:03 +00:00
community-scripts-pr-app[bot]
56cff01240
Update date in json ( #11992 )
...
Co-authored-by: GitHub Actions <github-actions[bot]@users.noreply.github.com>
2026-02-16 11:48:56 +00:00
push-app-to-main[bot]
26ba17c8c3
RomM ( #11987 )
...
* Add romm (ct)
* Update romm.sh
* Update romm-install.sh
* Revise author line in romm.sh
Updated author attribution format in romm.sh
---------
Co-authored-by: push-app-to-main[bot] <203845782+push-app-to-main[bot]@users.noreply.github.com>
Co-authored-by: Tobias <96661824+CrazyWolf13@users.noreply.github.com >
Co-authored-by: CanbiZ (MickLesk) <47820557+MickLesk@users.noreply.github.com >
2026-02-16 12:48:37 +01:00
community-scripts-pr-app[bot]
2bd4b063d9
Update CHANGELOG.md ( #11990 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2026-02-16 10:47:03 +00:00
Slaviša Arežina
40bd7dc366
Fix sed command for DB_FILE configuration ( #11988 )
2026-02-16 11:46:37 +01:00
community-scripts-pr-app[bot]
a81ebcb16c
Update CHANGELOG.md ( #11986 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2026-02-16 09:54:09 +00:00
community-scripts-pr-app[bot]
cebdbcc35d
Update CHANGELOG.md ( #11985 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2026-02-16 09:53:53 +00:00
CanbiZ (MickLesk)
42475ed4f6
slskd: fix exit position ( #11963 )
2026-02-16 10:53:41 +01:00
community-scripts-pr-app[bot]
11eba0093f
Update CHANGELOG.md ( #11984 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2026-02-16 09:53:29 +00:00
CanbiZ (MickLesk)
f6e535c7b7
cryptpad: restore config earlier and run onlyoffice upgrade ( #11964 )
2026-02-16 10:53:21 +01:00
community-scripts-pr-app[bot]
58329f99ea
Update CHANGELOG.md ( #11983 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2026-02-16 09:53:04 +00:00
CanbiZ (MickLesk)
558220fb0e
Vaultwarden: export VW_VERSION as version number ( #11966 )
2026-02-16 10:52:56 +01:00
community-scripts-pr-app[bot]
61aee12a82
Update CHANGELOG.md ( #11982 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2026-02-16 09:52:40 +00:00
CanbiZ (MickLesk)
215c441129
Improve Zabbix agent service detection ( #11968 )
2026-02-16 10:52:34 +01:00
community-scripts-pr-app[bot]
32afe0c2e4
Update CHANGELOG.md ( #11981 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2026-02-16 09:52:18 +00:00
summoningpixels
73ee5f8f19
Update Wishlist LXC webpage to include reverse proxy info ( #11973 )
2026-02-16 10:52:09 +01:00
CanbiZ (MickLesk)
34db7c652f
github: add "website" label if "json" changed ( #11975 )
2026-02-16 10:51:49 +01:00
community-scripts-pr-app[bot]
c5c6e660ba
Update CHANGELOG.md ( #11980 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2026-02-16 09:30:31 +00:00
CanbiZ (MickLesk)
ae8dd5ba36
tools.func: persist /usr/local/bin in shell PATHs ( #11970 )
2026-02-16 10:30:05 +01:00
community-scripts-pr-app[bot]
c975b25ad5
Update .app files ( #11978 )
...
Co-authored-by: GitHub Actions <github-actions[bot]@users.noreply.github.com>
2026-02-16 10:15:43 +01:00
community-scripts-pr-app[bot]
4e3ee020e4
Update CHANGELOG.md ( #11979 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2026-02-16 09:14:49 +00:00
push-app-to-main[bot]
90ce773247
LinkDing ( #11976 )
...
* Add linkding (ct)
* Update messages for LinkDing in script
* Update date_created to 2026-02-16
* Update linkding-install.sh
---------
Co-authored-by: push-app-to-main[bot] <203845782+push-app-to-main[bot]@users.noreply.github.com>
Co-authored-by: CanbiZ (MickLesk) <47820557+MickLesk@users.noreply.github.com >
2026-02-16 10:14:24 +01:00
CanbiZ (MickLesk)
704f8d7e10
hotfix pipefail issue alpine-teamspeak
...
Replace the final '| head -1' in both install and ct scripts with 'awk 'NR==1'' to pick the first matching Teamspeak release line. In the ct script the previous temporary toggling of pipefail was also removed, simplifying the command. This improves compatibility and reduces reliance on an extra utility in minimal environments.
2026-02-16 08:57:06 +01:00
community-scripts-pr-app[bot]
d7fbbbde0f
Update CHANGELOG.md ( #11974 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2026-02-16 07:51:33 +00:00
CanbiZ (MickLesk)
2edd2ffaf8
fix: remove duplicate error handler from alpine-install.func ( #11971 )
...
- Remove legacy error_handler(), on_exit(), on_interrupt(), on_terminate() and set/trap definitions from alpine-install.func (already provided by error_handler.func which is sourced on line 10)
- The local error_handler() expected positional args as required, but catch_errors() sets trap as 'error_handler' (without args), causing unbound variable error with set -u (nounset)
- error_handler.func uses default values which is set -u safe
- Also align legacy trap in install.func network_check() to standard format
Fixes #11929
2026-02-16 08:51:05 +01:00
community-scripts-pr-app[bot]
cba1a0bb6b
Update CHANGELOG.md ( #11972 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2026-02-16 07:50:08 +00:00
summoningpixels
97bc69452d
Update OpenCloud LXC webpage to include services ports for reverse proxy users ( #11969 )
...
Included it directly in the reverse proxy warning note
2026-02-16 08:49:42 +01:00
community-scripts-pr-app[bot]
4257954cfa
Update CHANGELOG.md ( #11967 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2026-02-16 07:29:32 +00:00
CanbiZ (MickLesk)
39354352ff
Migrate update script to Seerr; prompt rerun ( #11965 )
...
Update ct/jellyseerr.sh and ct/overseerr.sh to switch the container update handler to the Seerr script. The here-doc now uses a single-quoted EOF to avoid shell expansion and includes an explicit shebang for the generated /usr/bin/update. Instead of auto-executing the new update script, the code now informs the user to run 'update' again and exits (overseerr exits with 0). Also includes minor whitespace cleanup (removed trailing spaces on cd lines). This prevents unexpected immediate execution and ensures the generated script runs with the intended shell.
2026-02-16 08:29:04 +01:00
community-scripts-pr-app[bot]
652920ee49
chore: update github-versions.json ( #11962 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2026-02-16 06:25:17 +00:00
community-scripts-pr-app[bot]
057bdefcc0
Update CHANGELOG.md ( #11957 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2026-02-15
2026-02-16 00:22:32 +00:00
community-scripts-pr-app[bot]
74b2a29d37
chore: update github-versions.json ( #11956 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2026-02-16 00:22:10 +00:00
Tobias
607e868328
fix: url ( #11954 )
...
* fix: url
* Update overseerr.sh
2026-02-15 23:09:16 +01:00
community-scripts-pr-app[bot]
9839bfb5a9
Update CHANGELOG.md ( #11953 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2026-02-15 21:41:01 +00:00
Luca Comellini
983e0f39ca
Fix seerr URL in jellyseerr script ( #11951 )
2026-02-15 22:40:37 +01:00
community-scripts-pr-app[bot]
8afbf73be0
Update CHANGELOG.md ( #11950 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2026-02-15 19:51:37 +00:00
Luca Comellini
1ca59363ea
Fix jellyseer and overseer script replacement ( #11949 )
2026-02-15 20:51:13 +01:00
community-scripts-pr-app[bot]
f5180606b3
Update .app files ( #11945 )
...
Co-authored-by: GitHub Actions <github-actions[bot]@users.noreply.github.com>
2026-02-15 20:44:31 +01:00
community-scripts-pr-app[bot]
de4857cf53
Update CHANGELOG.md ( #11948 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2026-02-15 19:44:26 +00:00