Commit Graph

45 Commits

Author SHA1 Message Date
CanbiZ (MickLesk) 8854585a1a Migrate the (remaining) Top 25 scripts to the new core engine (#16749)
* Move the top 25 scripts onto the core engine

The engine work of the last few days reaches 30 of 561 ct scripts, about 5% of
ProxmoxVE traffic: retry on engine downloads, exit 227 instead of a misfiled
dpkg error, the umask fix that stops a hardened host producing containers apt
cannot resolve in, the TMPDIR guard, the toolchain restore. All of it has been
sitting where almost nobody runs it.

All eighteen at once rather than in waves. A slow rollout does not exercise the
paths only some scripts take, and broad exposure is what surfaces bugs -- a
deliberate call about release risk.

Checked before touching anything, because "migrate" meant far more than a line
swap last time:

  - None of the eighteen has an alpine-* variant, so there is no merge to do.
  - No script references misc/ outside its bootstrap line.
  - Of the 61 functions that exist only in misc/, none is called by any of them.

So it is one line per script, and every head is now byte-identical to the ones
migrated earlier. With these, ProxmoxVE goes from 30 scripts on the core engine
to 48 -- and from roughly 5% of traffic to the majority, since these are the
ones people actually install.

Two to watch: immich sits at 44.7% success and vaultwarden at 42.1% before
this. If their numbers move, the engine is one of two changed variables rather
than the only one.

* Move update-apps onto the core engine

Entry 11 of the list and the only one that is not a ct script, so it was left
out of the previous commit. It is a host tool: it never used build.func at all,
it sources misc/core.func and misc/api.func directly.

The swap is therefore two lines rather than one, and worth checking rather than
assuming. It uses exactly five engine functions -- header_info,
init_tool_telemetry, msg_info, msg_ok, msg_error -- all present in the core, and
both files load standalone, which they had not had to do before: everywhere else
they arrive through build.func.

That completes the list. All 25 now run on the core engine.

Fixing this one matters beyond the migration: update-apps is what drives
unattended updates across every container on a host, and it is the path where
PHS_SILENT was being ignored (#16593). It now gets the engine that honours it.
2026-08-25 11:04:15 +02:00
Sam Heinz 6545c0b731 [arm64] fix update functions to support arm64 (#15290)
oops forgot about a few update functions
2026-06-22 23:35:14 +10:00
Sam Heinz 1134f4cdc6 [arm64] port hyperhdr-kometa to arm64 (#15234)
also port apprise-api, archivebox. Update meilisearch function to support arm64.

invoiceshelf changes are an existing bug.

changes to kasm are required to get docker working, as old docker provided by setup_docker will not work. The --ignore-dep-failures is required as there is a bug in the install script.
2026-06-21 02:56:49 +10:00
CanbiZ (MickLesk) 370d164993 fix(jellyfin): install intel-igc deps before intel-opencl-icd to fix dependency order (#14927) 2026-06-04 12:22:41 +02:00
Slaviša Arežina f1bc4f1922 [misc]: Fix aligment of status messages (#14900) 2026-06-03 11:03:13 +02:00
Sam Heinz 69aa93a83a workflows: update workflows, templates to support arm64. (#14653)
* set 'var_arm64' to no in all ct scripts

* update files in .github to support arm64
2026-05-23 07:46:44 +10:00
CanbiZ (MickLesk) 02c174c4a2 fix(gpu): pin IGC version to compute-runtime compatible tag (#13814) 2026-04-17 21:58:31 +02:00
CanbiZ (MickLesk) 852e557b1b Refactor: Jellyfin repo, ffmpeg package and symlinks (#13045)
Co-authored-by: Tobias <96661824+CrazyWolf13@users.noreply.github.com>
2026-03-18 11:55:38 +01:00
CanbiZ (MickLesk) 7fc77fe5be various scripts: use ensure_dependencies instead of apt (#11463)
* refactor(ct): replace apt install with ensure_dependencies in update_script functions

* refactor(ct): replace remaining apt install with ensure_dependencies

* refactor(ct): replace remaining apt install with ensure_dependencies

* refactor(ct): remove redundant dpkg checks before ensure_dependencies

* refactor(ct): remove ALL redundant checks before ensure_dependencies

* Update neo4j.sh
2026-02-02 13:01:17 +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
CanbiZ 4d4ced6b63 feat: Add var_gpu flag for GPU passthrough configuration (#9764)
* feat: Add var_gpu flag for GPU passthrough configuration

Changes:
- Add var_gpu variable to CT scripts for explicit GPU control
- Remove hardcoded GPU_APPS list - GPU detection now uses var_gpu flag
- Add var_gpu to VAR_WHITELIST for persistence in default.vars and app.vars
- Add GPU Passthrough option (Step 19) to advanced_settings wizard (now 20 steps)
- Update documentation

Apps with var_gpu=yes (GPU enabled by default):
- Media: jellyfin, plex, emby, channels, ersatztv, tunarr
- Transcoding: tdarr, unmanic, fileflows
- AI/ML: ollama, openwebui
- NVR: frigate, immich

Usage:
- Disable GPU: var_gpu=no bash -c '$(curl -fsSL ...jellyfin.sh)'
- Enable GPU: var_gpu=yes bash -c '$(curl -fsSL ...debian.sh)'
- Via default.vars: echo 'var_gpu=yes' >> /usr/local/community-scripts/default.vars
- Via advanced settings wizard (Step 19)

* fix: tput rmcup timing, GPU line indentation, echo_default GPU display

* style: add GPU icon variable for consistent formatting
2025-12-08 13:52:30 +01:00
Tobias 9a2fc84789 jellyfin: fix: initial update (#8784) 2025-11-01 09:06:33 +01:00
CanbiZ be7d0704d7 Standardize update success messages in scripts (#8757) 2025-10-30 17:24:16 +01:00
Tobias e69da3846a jellyfin: fix: intel deps (#8657) 2025-10-27 14:11:46 +01:00
Tobias b2b892c430 jellyfin: fix: version conflict (#8520) 2025-10-20 21:00:48 +02:00
Tobias c188984601 jellyfin: add: intel dependencies (#8508) 2025-10-20 16:21:31 +02:00
CanbiZ 8ece0e3676 Jellyfin: ensure libjemalloc is used / increase hdd space (#8494)
* Jellyfin: ensure libjemalloc used

* Enhance Jellyfin update script with libjemalloc checks

Added checks for libjemalloc2 installation and symlink creation before updating Jellyfin.

* Change apt-get to apt for installing libjemalloc2

* Increase default disk size from 8GB to 16GB

* Increase HDD size for Jellyfin configuration

Updated HDD size from 8GB to 16GB in jellyfin.json.
2025-10-20 08:28:22 +02:00
CanbiZ 8fd491460a bump scripts (Installer) from Ubuntu 22.04 to Ubuntu 24.04 (agentdvr, emby, jellyfin, plex, shinobi) (#5434) 2025-06-24 18:34:20 +02:00
CanbiZ 2e4c51450f change var in ct files to new standard (#3804) 2025-04-10 11:56: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 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 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
Hai-Nam Nguyen 88c3f56157 Fix jellyfin update command (#1771) 2025-01-26 16:13:54 +01:00
CanbiZ 15f04d525d Happy new Year! Update Copyright to 2025 (#1150) 2025-01-01 13:37:29 +01:00
mneten 9efb421b5c Change Port (#884)
simply changed port from 8086 to 8096 in line 50
2024-12-17 21:09:01 +01:00
CanbiZ 353a5e7c99 Update ALL CT's to new default (Part 2) (#710) 2024-12-16 13:31:48 +01:00
CanbiZ f2a1cc7eef Update ALL CT's to new default (Part 2) (#710)
* Update ALL CT's to new default

* Minor Changes

* Merge Bookstack from main

* Indention Bookstack

* Merge Vikunja from Main

* Merge Komga from Main

* Merge Unifi from Main
2024-12-16 12:42:51 +01:00
Adam Marciniak e7ac005592 Update jellyfin.sh / Fix infinite loop (#792)
Running the script created an infinite loop waiting for user input to confirm the installation of new packages. The -y option fixes this and allows the script to run without interaction and therefore as expected.
2024-12-12 22:59:16 +01:00
CanbiZ ad18c05686 Massive Update (Remove StorageCheck (old) + Add Ressource & StorageCheck, Remove Whiptail, Remove PCT Ressource Set (#333)
* Massive Update (Remove StorageCheck (old) + Add Ressource & StorageCheck, Remove Whiptail, Remove PCT Ressource Set

* Update calibre-web.sh

* Update cockpit.sh

* Update cronicle.sh

* Update homeassistant-core.sh

* Update podman-homeassistant.sh

* Update node-red.sh

* Update plex.sh

* Update wallos.sh

* Revert "Update wallos.sh"

This reverts commit ea6311e190.

* Update homeassistant.sh

* Update ct/cronicle.sh

Co-authored-by: Håvard Gjøby Thom <34199185+havardthom@users.noreply.github.com>

---------

Co-authored-by: Håvard Gjøby Thom <34199185+havardthom@users.noreply.github.com>
2024-11-18 21:09:10 +01:00
CanbiZ c162f518e5 Optimize Jellyfin / Jellyfin-Server update (#215) 2024-11-13 15:05:21 +01:00
CanbiZ a4a1821822 Changed all dependencies to the community project 2024-11-02 08:48:05 +01:00
tteckster 781a209401 Update jellyfin.sh
Default settings are now unprivileged
2024-04-25 14:44:43 -04:00
tteckster 6a83a3eaac New feature
- The option to utilize Apt-Cacher-NG (Advanced settings) when creating LXCs. The added functionality is expected to reduce bandwidth usage and provide faster operating system updates.
- Requires the Apt-Cacher-NG LXC
2024-01-12 15:00:42 -05:00
tteckster 7122a465a1 Add variables 2024-01-12 12:04:03 -05:00
tteckster 30c53d6958 update year to 2024 2024-01-01 12:13:05 -05:00
tteckster d7d4d296e5 tweak 2023-05-13 21:22:09 -04:00
tteckster cd275ac57a Update jellyfin.sh
Set v22.04 as default
2023-04-05 06:42:37 -04:00
tteckster 3b2c81cf1c Optimizing code 2023-03-30 07:02:00 -04:00
tteckster b19b5e1039 revert revert ssh_check 2023-03-27 21:21:14 -04:00
tteckster 23d8d1b807 revert ssh_check 2023-03-27 20:52:46 -04:00
tteckster 726cbe6ba9 add ssh_check 2023-03-27 19:09:22 -04:00
tteckster baa9bb9e2e code refactoring 2023-03-23 00:09:04 -04:00
tteckster 4175b8d5f6 The latest iteration of the scripts (#1220) 2023-03-22 20:48:20 -04:00