HelperScripts-for-ProxmoxVE/misc
CanbiZ (MickLesk) 17de8e761b
fix: replace generic exit 1 with specific exit codes in ct/ and install/ scripts (#12475)
Part of #12467 — scripts only (no framework changes).

New exit codes 250-254 registered in api.func and error_handler.func:
- 250: App download failed or version not determined
- 251: App file extraction failed (corrupt/incomplete archive)
- 252: App required file or resource not found
- 253: App data migration required — update aborted
- 254: App user declined prompt or input timed out

Existing codes reused where applicable:
- 10: privileged/Docker required (unifi-os-server)
- 64: invalid user input (postgresql, tomcat)
- 71: system error (pulse useradd)
- 150: service failed to start (docker, npmplus)
- 153: build failed (booklore)
- 233: app not installed (evcc, endurain, grafana, loki, itsm-ng)
- 236: hardware not detected (unifi-os-server /dev/net/tun)
- 238: OS not supported (frigate)
2026-03-02 13:57:42 +01:00
..
images remove old files and assets (#9991) 2025-12-15 17:37:26 +01:00
alpine-install.func core: standardize exit codes and add mappings (#12467) 2026-03-02 10:55:20 +01:00
alpine-tools.func tools.func: persist /usr/local/bin in shell PATHs (#11970) 2026-02-16 10:30:05 +01:00
api.func fix: replace generic exit 1 with specific exit codes in ct/ and install/ scripts (#12475) 2026-03-02 13:57:42 +01:00
build.func core: standardize exit codes and add mappings (#12467) 2026-03-02 10:55:20 +01:00
cloud-init.func feat(cloud-init): add interactive SSH key discovery and selection (#11547) 2026-02-05 08:11:13 +01:00
core.func core: standardize exit codes and add mappings (#12467) 2026-03-02 10:55:20 +01:00
error_handler.func fix: replace generic exit 1 with specific exit codes in ct/ and install/ scripts (#12475) 2026-03-02 13:57:42 +01:00
install.func core: standardize exit codes and add mappings (#12467) 2026-03-02 10:55:20 +01:00
tools.func core: standardize exit codes and add mappings (#12467) 2026-03-02 10:55:20 +01:00
vm-core.func core: standardize exit codes and add mappings (#12467) 2026-03-02 10:55:20 +01:00