Commit Graph

51 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
0e8341cb86 fix: shellcheck changes (#10591) 2026-01-06 13:45:03 +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
afe330173e Refactor cleanup steps to use cleanup_lxc function (#9354) 2025-11-22 17:27:13 +01:00
CanbiZ
8f8eb7aba5 ActualBudget: bump to debian 13 (#8124) 2025-10-06 00:11:49 +02:00
Sai Vishnu M
9fd1a868cb add 'g++' to actualbudget-install.sh (#6293)
* add 'g++' to actualbudget-install.sh

The install script fails on line 53 (`$STD npm install --location=global @actual-app/sync-server`). 
Installing `gcc`, which is required by `better-sqlite3`, which `@actual-app/sync-server` depends on, is the solution. 

Added `g++` to the dependency line `18`.

* formatting

---------

Co-authored-by: CanbiZ <47820557+MickLesk@users.noreply.github.com>
2025-07-28 10:16:31 +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
Maciej Matczak
12265b92e7 Add make installation dependency (#4485) 2025-05-14 19:37:38 +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
CanbiZ
8b66c8a9dc fix basename -o 2025-04-01 10:58:29 +02:00
CanbiZ
f7e7d457df fix basename for curl 2025-04-01 10:51:52 +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
CanbiZ
307b49fee6 ActualBudget: New Installation Script with new Repo (#2770) 2025-03-01 20:54:30 +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
75f90409eb Update actualbudget-install.sh 2025-01-24 14:41:03 +01:00
CanbiZ
e6d032eac3 rm file 2025-01-24 13:41:13 +01:00
CanbiZ
b402026b84 Update actualbudget-install.sh 2025-01-24 13:38:42 +01:00
CanbiZ
63061ea06f Update actualbudget-install.sh 2025-01-24 13:31:29 +01:00
CanbiZ
74d745441c Update actualbudget-install.sh 2025-01-22 14:50:59 +01:00
CanbiZ
afc66ebac5 Update actualbudget-install.sh 2025-01-22 14:34:06 +01:00
CanbiZ
18baa31178 Update actualbudget-install.sh 2025-01-22 14:31:55 +01:00
CanbiZ
eefbbdf4df Update actualbudget-install.sh 2025-01-22 08:28:09 +01:00
CanbiZ
6ecef0ef94 Update actualbudget-install.sh 2025-01-21 20:49:54 +01:00
CanbiZ
0e19ad2859 Update actualbudget-install.sh 2025-01-21 20:35:56 +01:00
CanbiZ
4b292c3b2a Update actualbudget-install.sh 2025-01-21 20:23:59 +01:00
CanbiZ
4340ccc15d Update actualbudget-install.sh 2025-01-21 20:13:26 +01:00
CanbiZ
e6404a9a4e Update actualbudget-install.sh 2025-01-21 19:58:28 +01:00
CanbiZ
83aff658c5 Update actualbudget-install.sh 2025-01-21 19:47:42 +01:00
CanbiZ
e051e414a8 Update actualbudget-install.sh 2025-01-21 19:42:38 +01:00
CanbiZ
c3acbf09ed Update actualbudget-install.sh 2025-01-21 16:38:50 +01:00
CanbiZ
9c415ca3f4 Update actualbudget-install.sh 2025-01-21 16:37:06 +01:00
CanbiZ
c1b3d14068 Update actualbudget-install.sh 2025-01-21 16:25:55 +01:00
CanbiZ
2f2d1eeec3 Update actualbudget-install.sh 2025-01-21 16:13:59 +01:00
CanbiZ
7df2297be0 Update actualbudget-install.sh 2025-01-21 15:54:50 +01:00
CanbiZ
35a66c5f1f Update actualbudget-install.sh 2025-01-21 15:27:27 +01:00
CanbiZ
e7af6f31ad Update actualbudget-install.sh 2025-01-21 15:15:16 +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
Michel Roegl-Brunner
77bac7a919 Fix Actualbudget Update (#1376) 2025-01-10 09:18:04 +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
cour64
8f694c8e23 Fix missing build tools for Actual Budget install (#455) 2024-11-23 18:38:57 +01:00
CanbiZ
a4a1821822 Changed all dependencies to the community project 2024-11-02 08:48:05 +01:00
tteckster
1d83562661 Update actualbudget-install.sh
fix install
2024-10-24 02:34:54 -04:00
tteckster
64a33de118 Add '-y` flag 2024-05-02 13:26:16 -04:00