Commit Graph

67 Commits

Author SHA1 Message Date
CanbiZ (MickLesk)
a13caec262 allow Frigate's Intel media packages to overwrite files from system GPU driver packages 2026-02-23 13:25:20 +01:00
CanbiZ (MickLesk)
e315e0b17e Frigate v16.4 (#11887)
* Update frigate.sh

* Add Frigate metadata and overhaul installer

Add frontend metadata for Frigate (frontend/public/json/frigate.json), remove the old .bak metadata file, and perform a major refactor of install/frigate-install.sh. The installer now targets Debian 12 (Bookworm), converts APT sources to deb822, installs and builds required dependencies (Python wheels, libusb, OpenVINO, Tempio, Nginx, sqlite extensions), configures hardware acceleration and GPU access, fetches and deploys Frigate and go2rtc releases, and prepares inference/audio models. Systemd service units were improved (dependencies, env file usage, safer log file handling, create_directories service) and services are enabled/started with cleanup steps added. Also updated copyright/authorship and various runtime environment exports and default Frigate config changes (ffmpeg hwaccel, detector selection, disabled auth/detect in default config).

* Update frigate.json

* frigate: update metadata and installer

Update frontend metadata (config path, interface port, and expanded description) and modernize the install script: switch apt-get to apt, streamline dependency list (remove wget/jq/unzip), replace inline hardware-acceleration/GPU group tweaks with setup_hwaccel, pin Frigate release to v0.16.4 for reproducible installs, and fetch/libusb build now uses fetch_and_deploy_gh_release with adjusted paths. Also clean up removed temporary files.

* add std
2026-02-23 12:14:17 +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 (MickLesk)
3a9d03fdb7 use setup_hwaccel for robust hardware acceleration (#10054)
* fix(jellyfin): use setup_hwaccel for robust hardware acceleration

Replaces manual hardware acceleration setup with the centralized
setup_hwaccel function from tools.func.

This fixes the installation failure in privileged containers where
/dev/dri does not exist (e.g., when no GPU is passed through).

The setup_hwaccel function includes:
- Proper error handling for missing /dev/dri
- GPU vendor detection (Intel, AMD, NVIDIA)
- Graceful fallback when no GPU is available

Fixes: Installation fails with 'chgrp: cannot access /dev/dri'
when creating privileged containers without GPU passthrough.

* refactor(hwaccel): standardize hardware acceleration across all install scripts

Migrated all install scripts to use the centralized setup_hwaccel function:
- plex-install.sh
- emby-install.sh
- ersatztv-install.sh
- frigate-install.sh
- tdarr-install.sh
- unmanic-install.sh
- channels-install.sh
- ollama-install.sh
- immich-install.sh (added error handling)

Enhanced setup_hwaccel function in tools.func:
- Added -d /dev/dri check before setting permissions
- Added error handling (2>/dev/null || true) for all /dev/dri operations
- Added adduser error handling for video/render groups
- No longer fails if no GPU is detected (graceful skip)
- Added intel-media-va-driver for newer Intel GPUs
- Improved AMD APU support with firmware packages
- Better NVIDIA handling (warning instead of failure)

This fixes installation failures in privileged containers without GPU
passthrough, where /dev/dri does not exist.

Supports: Ubuntu, Debian 12 (Bookworm), Debian 13 (Trixie)
GPU Support: Intel, AMD, NVIDIA (manual driver)

* refactor(hwaccel): complete migration for all GPU apps

Migrated remaining GPU apps to setup_hwaccel:
- fileflows-install.sh
- openwebui-install.sh (added setup_hwaccel - was missing)
- tunarr-install.sh

Also fixed tools/pve/hw-acceleration.sh:
- Added error handling for /dev/dri operations
- Added chmod 660 /dev/dri/* that was missing
- Added error suppression for adduser commands

All 13 GPU apps (var_gpu=yes) now use centralized setup_hwaccel:
jellyfin, plex, emby, ersatztv, frigate, tdarr, unmanic,
channels, ollama, immich, fileflows, openwebui, tunarr

* feat(hwaccel): complete Intel non-free driver support and GID sync

Enhanced setup_hwaccel function:
- Auto-detect Intel GPU generation (Gen 9+ for non-free drivers)
- Debian 12 (Bookworm): Add non-free repo + intel-media-va-driver-non-free
- Debian 13 (Trixie): Add non-free repo + libvpl2 + mesa-opencl-icd
- Ubuntu: Use ubuntu repos with intel-media-va-driver
- Fallback to open drivers if non-free fails
- GID sync for video/render groups (moved from install scripts)

OpenWebUI: Added Intel oneAPI support when installing Ollama
- Intel Level Zero GPU support
- Intel oneAPI Base Toolkit
- Same setup as standalone Ollama install

Cleanup:
- Removed duplicate GID sync from tdarr-install.sh
- Removed duplicate GID sync from unmanic-install.sh

* fix(ersatztv): remove duplicate HW acceleration code

Removed manual Intel HW acceleration setup that remained after
setup_hwaccel migration. The non-free driver prompt is no longer
needed as setup_hwaccel auto-detects Intel GPU generation.
2025-12-17 14:37:31 +01:00
CanbiZ
afe330173e Refactor cleanup steps to use cleanup_lxc function (#9354) 2025-11-22 17:27:13 +01:00
CanbiZ
035419b4b9 Update frigate-install.sh 2025-07-23 10:11:45 +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
5e8ee6baa8 MariaDB CLI Update, Go Install Helper & Minor Cleanup (#4793)
* .

* switch mysql to mariadb

* fix some basenames

* remove basename to correct filename

* merge firefly from main
2025-05-28 14:45:53 +02:00
CanbiZ
c356f77efe Refactor: Remove redundant dependencies & unify unzip usage (#4780)
* refactor unzip / remove dep

* remove deps from alpine packages

* remove gnupg

* remove gnupg
2025-05-28 11:25:13 +02:00
CanbiZ
010928fee2 Refactor: Remove gpg / gnupg from script base (#4775)
* Refactor: Remove gpg / gnupg from

* push more

* add more

* Update reactive-resume-install.sh

* Revert: add unzip

---------

Co-authored-by: Tobias <96661824+CrazyWolf13@users.noreply.github.com>
2025-05-28 10:54:01 +02:00
CanbiZ
72db97b226 Big NodeJS Update: Use Helper Function on all Install-Scripts (#4744)
* Big NodeJS Update: Use Helper Function on all Install-Scripts

* add jq in node_function

* add more
2025-05-27 13:48:34 +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
Bas van den Berg
204219a477 Add source to install scripts and make license one line (#2842) 2025-03-04 17:54:20 +01:00
Slaviša Arežina
f2512b032f fix message (#2323) 2025-02-12 23:31:00 +01:00
Tobias
1788551393 fix: frigate pin version (#2296) 2025-02-12 14:27:33 +01:00
CanbiZ
5d56822d1b Frigate: Use Fixed Version 14 (#2288) 2025-02-12 11:26:54 +01:00
CanbiZ
21e0e0df98 [Security] Update NodeJS to 22 (#1984) 2025-02-03 13:48:15 +01:00
CanbiZ
f903cfd97a [Standardization] Fix Spelling for "Setup Python3" (#1810) 2025-01-28 13:49:53 +01:00
CanbiZ
d814907f99 Add ca-certificates for Install (#1282) 2025-01-06 10:06:30 +01:00
CanbiZ
15f04d525d Happy new Year! Update Copyright to 2025 (#1150) 2025-01-01 13:37:29 +01:00
Rémi Bédard-Couture
9236f97009 Remove SSE 4.2 from instruction set supporting OpenVino. Although the docs says it supports it, many users have reported it not working without AVX. (#902) 2024-12-18 15:40:13 +01:00
anishp55
a3ff42b122 detect sse 4.2 (#328)
see if sse 4.2 is on the processor, if so add openvino.
2024-11-18 15:46:00 +01:00
CanbiZ
a4a1821822 Changed all dependencies to the community project 2024-11-02 08:48:05 +01:00
tteckster
5dbb000070 Update frigate-install.sh
Add a placeholder for the Frigate+ key in the service file.
2024-10-14 17:47:39 -04:00
Rémi Bédard-Couture
6f98a65692 Fix the nginx logs by keeping the process output to stdout instead of pushing directly into log file (#3851) 2024-10-06 14:37:01 -04:00
tteckster
620b652864 Update frigate-install.sh
tweak
2024-09-15 17:13:03 -04:00
tteckster
27bfa24cfe Update frigate-install.sh
fix `install_deps.sh`
2024-09-15 13:46:41 -04:00
tteckster
aca97a3da3 Update frigate-install.sh
revert service files
2024-08-12 10:19:08 -04:00
tteckster
e4ad002ce5 Update frigate-install.sh
make `ln` command silent
2024-08-12 07:24:04 -04:00
tteckster
3c41499074 Update frigate-install.sh
clean up code
2024-08-11 05:51:33 -04:00
tteckster
88de3536ab Update frigate-install.sh
test
2024-08-10 12:55:05 -04:00
Rémi Bédard-Couture
23ebc32489 Support frigate latest release (#3495) 2024-08-09 01:06:02 -04:00
tteckster
2782502e06 Update frigate-install.sh
pin version to 13.2
2024-08-08 13:41:56 -04:00
tteckster
eab4160c33 Update frigate-install.sh
fixes https://github.com/tteck/Proxmox/issues/3315
2024-07-02 02:59:33 -04:00
tteckster
122271dd34 Update frigate-install.sh
Update TensorFlow Lite URL
fixes https://github.com/tteck/Proxmox/issues/3285
2024-06-29 07:29:11 -04:00
tteckster
db157d02e4 Update frigate-install.sh
tweak
2024-05-14 02:13:07 -04:00
tteckster
36fd846601 Update frigate-install.sh
stop spinner during "Installing Frigate"
2024-05-14 02:00:33 -04:00
tteckster
6c4e2aa7fe Update frigate-install.sh
Another attempt to fix the Segmentation fault
2024-05-14 01:27:16 -04:00
tteckster
48ae95bdea Update frigate-install.sh
revert
2024-05-13 20:17:10 -04:00
tteckster
4d3afc012b Update frigate-install.sh
Change the RELEASE= command in an attempt to fix the Segmentation fault
2024-05-13 20:00:04 -04:00
tteckster
897c7bd867 Update frigate-install.sh
another attempt to fix `Segmentation fault`
2024-05-07 13:12:26 -04:00
tteckster
64a33de118 Add '-y` flag 2024-05-02 13:26:16 -04:00
tteckster
d22dd105fb Update frigate-install.sh
- Set up Unprivileged Hardware Acceleration
- Use GUI Device Passthrough for TPU Devices
2024-04-27 06:39:42 -04:00
tteckster
45205da9a6 Update frigate-install.sh
tweak
2024-04-19 11:30:27 -04:00
tteckster
6f6d83c261 Update frigate-install.sh
tweak
2024-04-19 11:06:40 -04:00
tteckster
ff3216aa92 Update frigate-install.sh
tweak
2024-04-19 11:04:50 -04:00
Rémi Bédard-Couture
fb4fdab433 Clear log files upon service restart to avoid misleading log rewrites (#2819) 2024-04-19 10:48:10 -04:00