From 4c8411fc5e4a6ce24f1586069762bcb939aaf456 Mon Sep 17 00:00:00 2001 From: MickLesk <47820557+MickLesk@users.noreply.github.com> Date: Tue, 15 Sep 2026 10:46:33 +0200 Subject: [PATCH] frigate: stop the detector config from replacing the base config The install wrote a config with mqtt, cameras, auth and detect, then the detector branch wrote the file again instead of adding to it. Both branches used a single redirect, so everything above them was discarded and the result had neither mqtt nor cameras. frigate/config/config.py declares both as Field() without a default, in 0.17.2 as well as in 0.18.0, so Frigate rejected the file and came up in safe mode: mqtt - Field required cameras - Field required Move hwaccel_args into the base block, since both branches set it, and append the detector and model sections instead of overwriting. Checked by generating both branches and parsing the result: the OpenVINO path yields auth, cameras, detect, detectors, ffmpeg, model, mqtt, the CPU path the same without detectors, and the test camera survives in both. --- install/frigate-install.sh | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/install/frigate-install.sh b/install/frigate-install.sh index 0fe49e681..3cdf4fe17 100644 --- a/install/frigate-install.sh +++ b/install/frigate-install.sh @@ -288,12 +288,12 @@ auth: enabled: false detect: enabled: false +ffmpeg: + hwaccel_args: auto EOF if grep -q -o -m1 -E 'avx[^ ]*|sse4_2' /proc/cpuinfo && [[ -f /openvino-model/ssdlite_mobilenet_v2.xml ]] && [[ -f /openvino-model/coco_91cl_bkgr.txt ]]; then - cat </config/config.yml -ffmpeg: - hwaccel_args: auto + cat <>/config/config.yml detectors: detector01: type: openvino @@ -307,9 +307,7 @@ model: labelmap_path: /openvino-model/coco_91cl_bkgr.txt EOF else - cat </config/config.yml -ffmpeg: - hwaccel_args: auto + cat <>/config/config.yml model: path: /models/cpu_model.tflite EOF