Commit Graph

58 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
Slaviša Arežina
33489e607b Refactor: Actual Budget (#9518)
* Update create_self_signed_cert function

* Refactor

* Remove old version file check
2025-11-30 17:34:14 +01:00
CanbiZ
d427619745 Remove BOM from shebang lines in ct scripts (#8833) 2025-11-03 08:49:54 +01:00
CanbiZ
be7d0704d7 Standardize update success messages in scripts (#8757) 2025-10-30 17:24:16 +01:00
CanbiZ
4b5fc75ee1 Harmonize Service MSG-Blocks (#8233)
Co-authored-by: Slaviša Arežina <58952836+tremor021@users.noreply.github.com>
2025-10-10 11:15:44 +02:00
CanbiZ
8f8eb7aba5 ActualBudget: bump to debian 13 (#8124) 2025-10-06 00:11:49 +02:00
CanbiZ
5fb42b87f1 CT's: fix missing variable declaration (actualBudget, openziti, umlautadaptarr) (#7483) 2025-09-08 14:27:40 +02:00
CanbiZ
003422934a upgrade old Scriptcalls to new tools.func calls (#5242)
* Upgraded Function Names related to #5241

* change gh calls

* add 2 missing
2025-06-18 12:03:00 +02:00
CanbiZ
7af6bf3fe7 ActualBudget: fix update check (file instead of folder check) (#4874) 2025-05-31 22:16:52 +02:00
CanbiZ
afbac8e2f0 Re-Add: ActualBudget (#4228)
* Re-Add ActualBudget

* path fix

* Update install/actualbudget-install.sh

Co-authored-by: Michel Roegl-Brunner <73236783+michelroegl-brunner@users.noreply.github.com>

* Update install/actualbudget-install.sh

Co-authored-by: Slaviša Arežina <58952836+tremor021@users.noreply.github.com>

* Update frontend/public/json/actualbudget.json

Co-authored-by: Michel Roegl-Brunner <73236783+michelroegl-brunner@users.noreply.github.com>

* Update actualbudget.sh

* add config path

* Update actualbudget.sh

---------

Co-authored-by: Michel Roegl-Brunner <73236783+michelroegl-brunner@users.noreply.github.com>
Co-authored-by: Slaviša Arežina <58952836+tremor021@users.noreply.github.com>
2025-05-06 09:16:34 +02:00
Michel Roegl-Brunner
12dba1c55b Remove Actualbudget (#3801) 2025-04-10 08:30:38 +02:00
Danny Ellis
4ce9551f60 Updating to 4GB with higher old heap size (#3730) 2025-04-08 10:31:00 +02:00
CanbiZ
86577a0d0d Actual: Increase RAM and add heap-space var for nodejs (#3713)
* Actual: Increase RAM and add heap-space var for nodejs

* Update actualbudget.json

* increase hdd size

* node options
2025-04-07 09:06:46 +02:00
CanbiZ
427ce771d7 Actual: Add git dependency & change yarn commands (#3703) 2025-04-06 16:00:08 +02:00
Slaviša Arežina
ea9f19d5f4 More fixes (#3587) 2025-04-02 07:19:50 +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
a56bbba2bd Update actual Budget due Breaking certs
Direct Push, contributor unreachable, Breaking Updates and Script
2025-03-07 22:56:27 +01:00
CanbiZ
9f0945394f Quickfix: Backup cert for ssl
Quickfix due Breaking Update
2025-03-07 22:54:52 +01:00
CanbiZ
50963e0fa1 ActualBudget: Update Script with new Repo (#2907)
* ActualBudget: Update Script with new Repo

* syntax + formatting

* Update actualbudget.sh

* Update ct/actualbudget.sh

Co-authored-by: Michel Roegl-Brunner <73236783+michelroegl-brunner@users.noreply.github.com>

---------

Co-authored-by: Michel Roegl-Brunner <73236783+michelroegl-brunner@users.noreply.github.com>
2025-03-07 21:03:27 +01:00
CanbiZ
6a940716f0 Breaking: Remove Update Function for Actual Budget until it fixed (#2768) 2025-03-01 20:39:06 +01:00
CanbiZ
ece3ad2b13 Feature: Use Verbose Mode for all Scripts (removed &>/dev/null) (#2596)
* Feature: Use Verbose Mode for all Scripts (removed &>/dev/null)

* Update crafty-controller.sh
2025-02-24 12:49:16 +01:00
CanbiZ
ba41bcd561 Breaking: Actual Budget Script (HTTPS / DB Migration / New Structure) - Read Description (#2496) 2025-02-20 12:18:00 +01:00
CanbiZ
7e6a7468df Update actualbudget.sh 2025-02-19 14:34:57 +01:00
CanbiZ
1ffe6b1c3c Update actualbudget.sh 2025-02-19 13:52:03 +01:00
CanbiZ
a76733df60 Update actualbudget.sh 2025-02-19 13:43:29 +01:00
CanbiZ
70f5280fcc quickfix, spelling error 2025-02-19 13:35:56 +01:00
CanbiZ
4cbe90597e Fix: Actual Budget, add missing .env when updating (#2494) 2025-02-19 13:32:52 +01:00
CanbiZ
0afe60e11a Fix: Actual Budget, add missing .env when updating 2025-02-19 13:30:22 +01: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
Pascal Bourque
f69d5b5831 fix(actualbudget): Salvage the .migrate file when upgrading (#2173) 2025-02-08 23:36:02 +01:00
Maciej Matczak
e75312007d Fix actual update - missing hidden files, downloaded release cleanup (#2027)
* Fix Actual Budget update: download and copy release exactly how in install script

* Fix Actual Budget update: removing wget release tar gz
2025-02-04 19:08:12 +01:00
CanbiZ
eddacd786d Update actualbudget.sh 2025-01-25 13:06:51 +01:00
CanbiZ
17745c344b Update actualbudget.sh 2025-01-24 14:30:18 +01:00
CanbiZ
8241fa1dd4 Update actualbudget.sh 2025-01-24 13:50:52 +01:00
CanbiZ
ab6244c1fe Update actualbudget.sh 2025-01-24 13:45:54 +01:00
CanbiZ
ebb7f73e8f Update actualbudget.sh 2025-01-24 13:38:31 +01:00
CanbiZ
39ff3486e9 Update actualbudget.sh 2025-01-24 13:38:07 +01:00
CanbiZ
f1109388f4 Update actualbudget.sh 2025-01-24 13:33:07 +01:00
CanbiZ
c4532f538b Update actualbudget.sh 2025-01-24 13:32:20 +01:00
CanbiZ
e76e5ec4a0 Update actualbudget.sh 2025-01-21 16:13:35 +01:00
CanbiZ
dd0cdf5d25 ActualBudget: Fix Update-Function, Fix Wget Crawling, Add Versionscheck (#1643)
* Update actualbudget-install.sh

* Update actualbudget.sh

* Update actualbudget-install.sh

* Update actualbudget.sh
2025-01-21 14:38:38 +01:00
Diego Saint Esteben
6958021528 Fix inexistent folder on actualbudget update script (#1444) 2025-01-13 11:02:35 +01:00
Michel Roegl-Brunner
77bac7a919 Fix Actualbudget Update (#1376) 2025-01-10 09:18:04 +01:00
CanbiZ
5170056078 Update actualbudget.sh 2025-01-09 17:27:59 +01:00
Spyros Roum
5c1954c85d Install/update ActualBudget based on releases, not latest master (#1254)
* Install/update ActualBudget based on releases, not latest main

* Use tarballs for actualbudget install/update
2025-01-09 16:25:45 +01:00
CanbiZ
15f04d525d Happy new Year! Update Copyright to 2025 (#1150) 2025-01-01 13:37:29 +01:00
CanbiZ
353a5e7c99 Update ALL CT's to new default (Part 2) (#710) 2024-12-16 13:31:48 +01:00