[Config Support]: Upgraded to 0.16.1 and get "ERROR : Unable to write to /config to save DB state" #20179
-
Describe the problem you are havingAfter an upgrade from 0.15 to 0.16.1 I notice the following is logged at start-up:
Strangely enough, the database migrations seems to have proceeded OK. I am pretty certain we don't have a permissions issue: The frigate processes are running as root use (at least in the host OS). Version0.16.1 Frigate config fileN/ARelevant Frigate log output2025-09-23 09:31:09.595438116 [INFO] Preparing Frigate...
2025-09-23 09:31:10.273214306 [INFO] Starting Frigate...
2025-09-23 09:31:13.819044613 [2025-09-23 09:31:13] frigate.util.config INFO : Checking if frigate config needs migration...
2025-09-23 09:31:13.999475537 [2025-09-23 09:31:13] frigate.util.config INFO : frigate config does not need migration...
2025-09-23 09:31:14.132317352 [2025-09-23 09:31:14] frigate.util.services WARNING : Did not detect hwaccel, using a GPU for accelerated video decoding is highly recommended
2025-09-23 09:31:14.158306079 [2025-09-23 09:31:14] frigate.config.config WARNING : garage detect fps is set to 12. This does NOT need to match your camera's frame rate. High values could lead to reduced performance. Recommended value is 5.
2025-09-23 09:31:14.160996703 [2025-09-23 09:31:14] frigate.config.config WARNING : tapo1 detect fps is set to 12. This does NOT need to match your camera's frame rate. High values could lead to reduced performance. Recommended value is 5.
2025-09-23 09:31:14.163583402 [2025-09-23 09:31:14] frigate.config.config WARNING : gate detect fps is set to 12. This does NOT need to match your camera's frame rate. High values could lead to reduced performance. Recommended value is 5.
2025-09-23 09:31:14.178424856 [2025-09-23 09:31:14] frigate.app INFO : Starting Frigate (0.16.1-e664cb2)
2025-09-23 09:31:14.230649972 [2025-09-23 09:31:14] peewee_migrate.logs INFO : Starting migrations
2025-09-23 09:31:14.231321365 [2025-09-23 09:31:14] peewee_migrate.logs INFO : There is nothing to migrate
2025-09-23 09:31:14.232198635 [2025-09-23 09:31:14] frigate.app INFO : Running database vacuum
2025-09-23 09:32:31.791939820 [2025-09-23 09:32:31] frigate.app ERROR : Unable to write to /config to save DB state
2025-09-23 09:32:31.970750362 [2025-09-23 09:32:31] frigate.app INFO : Recording process started: 929
2025-09-23 09:32:31.972968916 [2025-09-23 09:32:31] frigate.app INFO : Review process started: 932
2025-09-23 09:32:31.982164891 [2025-09-23 09:32:31] frigate.app INFO : go2rtc process pid: 128
2025-09-23 09:32:32.029771664 [2025-09-23 09:32:32] detector.coral2 INFO : Starting detection process: 951
2025-09-23 09:32:32.036788818 [2025-09-23 09:32:32] frigate.detectors.plugins.edgetpu_tfl INFO : Attempting to load TPU as usb
2025-09-23 09:32:32.041582513 [2025-09-23 09:32:32] frigate.app INFO : Embedding process started: 957
2025-09-23 09:32:32.074798496 [2025-09-23 09:32:32] frigate.app INFO : Output process started: 995
2025-09-23 09:32:32.989331263 loading data from : /config/model_cache/facedet/landmarkdet.yaml
2025-09-23 09:32:33.823423358 INFO: Created TensorFlow Lite XNNPACK delegate for CPU.
2025-09-23 09:32:33.937203910 [2025-09-23 09:32:33] frigate.app INFO : Camera processor started for garage: 1223
2025-09-23 09:32:33.980229698 [2025-09-23 09:32:33] frigate.app INFO : Camera processor not started for disabled camera tapo1
2025-09-23 09:32:34.022987487 [2025-09-23 09:32:33] frigate.app INFO : Camera processor started for gate: 1225
2025-09-23 09:32:34.089430151 [2025-09-23 09:32:33] frigate.app INFO : Camera processor started for backyard: 1239
2025-09-23 09:32:34.090364783 [2025-09-23 09:32:34] frigate.app INFO : Camera processor started for courtyard: 1252
2025-09-23 09:32:34.091807656 [2025-09-23 09:32:34] frigate.app INFO : Camera processor started for driveway: 1260
2025-09-23 09:32:34.093456264 [2025-09-23 09:32:34] frigate.app INFO : Camera processor started for patio: 1272
2025-09-23 09:32:34.094291503 [2025-09-23 09:32:34] frigate.app INFO : Camera processor started for pool: 1280
2025-09-23 09:32:34.094609937 [2025-09-23 09:32:34] frigate.app INFO : Camera processor started for pergola: 1290
2025-09-23 09:32:34.124946697 [2025-09-23 09:32:34] frigate.app INFO : Capture process started for garage: 1304
2025-09-23 09:32:34.125371259 [2025-09-23 09:32:34] frigate.app INFO : Capture process not started for disabled camera tapo1
2025-09-23 09:32:34.148409917 [2025-09-23 09:32:34] frigate.app INFO : Capture process started for gate: 1321
2025-09-23 09:32:34.196128478 [2025-09-23 09:32:34] frigate.app INFO : Capture process started for backyard: 1350
2025-09-23 09:32:34.219316160 [2025-09-23 09:32:34] frigate.app INFO : Capture process started for courtyard: 1422
2025-09-23 09:32:34.242037810 [2025-09-23 09:32:34] frigate.app INFO : Capture process started for driveway: 1441
2025-09-23 09:32:34.265026437 [2025-09-23 09:32:34] frigate.app INFO : Capture process started for patio: 1448
2025-09-23 09:32:34.288290093 [2025-09-23 09:32:34] frigate.app INFO : Capture process started for pool: 1463
2025-09-23 09:32:34.332857976 [2025-09-23 09:32:34] frigate.app INFO : Capture process started for pergola: 1479
2025-09-23 09:32:34.378283592 INFO: Created TensorFlow Lite XNNPACK delegate for CPU.
2025-09-23 09:32:34.433513758 [2025-09-23 09:32:34] frigate.audio_manager INFO : Audio processor started (pid: 1486)
2025-09-23 09:32:34.503438208 [2025-09-23 09:32:34] frigate.api.fastapi_app INFO : Starting FastAPI app
2025-09-23 09:32:34.646878301 [2025-09-23 09:32:34] frigate.api.fastapi_app INFO : FastAPI started
2025-09-23 09:32:35.183324089 [2025-09-23 09:32:35] frigate.detectors.plugins.edgetpu_tfl INFO : TPU found
2025-09-23 09:32:35.189517294 INFO: Created TensorFlow Lite XNNPACK delegate for CPU.Relevant go2rtc log outputN/AFrigate stats{
cameras: {
garage: {
camera_fps: 12.1,
process_fps: 12.1,
skipped_fps: 0,
detection_fps: 0,
detection_enabled: true,
pid: 1223,
capture_pid: 1304,
ffmpeg_pid: 1317,
audio_rms: 54.002,
audio_dBFS: -55.6608
},
tapo1: {
camera_fps: 0,
process_fps: 0,
skipped_fps: 0,
detection_fps: 0,
detection_enabled: true,
pid: null,
capture_pid: null,
ffmpeg_pid: 0,
audio_rms: 0,
audio_dBFS: 0
},
gate: {
camera_fps: 12.1,
process_fps: 12.1,
skipped_fps: 0,
detection_fps: 0,
detection_enabled: true,
pid: 1225,
capture_pid: 1321,
ffmpeg_pid: 1327,
audio_rms: 246.354,
audio_dBFS: -42.4778
},
backyard: {
camera_fps: 6,
process_fps: 6,
skipped_fps: 0,
detection_fps: 4.8,
detection_enabled: true,
pid: 1239,
capture_pid: 1350,
ffmpeg_pid: 1419,
audio_rms: 0,
audio_dBFS: 0
},
courtyard: {
camera_fps: 6,
process_fps: 6,
skipped_fps: 0,
detection_fps: 0.1,
detection_enabled: true,
pid: 1252,
capture_pid: 1422,
ffmpeg_pid: 1435,
audio_rms: 0,
audio_dBFS: 0
},
driveway: {
camera_fps: 6,
process_fps: 6,
skipped_fps: 0,
detection_fps: 0,
detection_enabled: true,
pid: 1260,
capture_pid: 1441,
ffmpeg_pid: 1447,
audio_rms: 0,
audio_dBFS: 0
},
patio: {
camera_fps: 6,
process_fps: 6.1,
skipped_fps: 0,
detection_fps: 1.2,
detection_enabled: true,
pid: 1272,
capture_pid: 1448,
ffmpeg_pid: 1459,
audio_rms: 0,
audio_dBFS: 0
},
pool: {
camera_fps: 6,
process_fps: 6,
skipped_fps: 0,
detection_fps: 0.3,
detection_enabled: true,
pid: 1280,
capture_pid: 1463,
ffmpeg_pid: 1471,
audio_rms: 0,
audio_dBFS: 0
},
pergola: {
camera_fps: 6,
process_fps: 6,
skipped_fps: 0,
detection_fps: 1,
detection_enabled: true,
pid: 1290,
capture_pid: 1479,
ffmpeg_pid: 1485,
audio_rms: 0,
audio_dBFS: 0
}
},
detectors: {
coral2: {
inference_speed: 23.58,
detection_start: 1758620956.713878,
pid: 951
}
},
detection_fps: 7.4,
embeddings: {
face_recognition_speed: 0,
face_recognition: 0,
plate_recognition_speed: 0,
plate_recognition: 0
},
cpu_usages: {
1: {
cpu: "0.0",
cpu_average: "0",
mem: "0.0",
cmdline: "/package/admin/s6/command/s6-svscan -d4 -- /run/service"
},
17: {
cpu: "0.0",
cpu_average: "0",
mem: "0.0",
cmdline: "s6-supervise s6-linux-init-shutdownd"
},
18: {
cpu: "0.0",
cpu_average: "0",
mem: "0.0",
cmdline: "/package/admin/s6-linux-init/command/s6-linux-init-shutdownd -d3 -c /run/s6/basedir -g 3000 -C -B"
},
27: {
cpu: "0.0",
cpu_average: "0",
mem: "0.0",
cmdline: "s6-supervise frigate"
},
28: {
cpu: "0.0",
cpu_average: "0",
mem: "0.0",
cmdline: "s6-supervise s6rc-oneshot-runner"
},
29: {
cpu: "0.0",
cpu_average: "0",
mem: "0.0",
cmdline: "s6-supervise s6rc-fdholder"
},
30: {
cpu: "0.0",
cpu_average: "0",
mem: "0.0",
cmdline: "s6-supervise nginx-log"
},
31: {
cpu: "0.0",
cpu_average: "0",
mem: "0.0",
cmdline: "s6-supervise go2rtc"
},
32: {
cpu: "0.0",
cpu_average: "0",
mem: "0.0",
cmdline: "s6-supervise go2rtc-healthcheck"
},
33: {
cpu: "0.0",
cpu_average: "0",
mem: "0.0",
cmdline: "s6-supervise go2rtc-log"
},
34: {
cpu: "0.0",
cpu_average: "0",
mem: "0.0",
cmdline: "s6-supervise frigate-log"
},
35: {
cpu: "0.0",
cpu_average: "0",
mem: "0.0",
cmdline: "s6-supervise certsync-log"
},
36: {
cpu: "0.0",
cpu_average: "0",
mem: "0.0",
cmdline: "s6-supervise certsync"
},
37: {
cpu: "0.0",
cpu_average: "0",
mem: "0.0",
cmdline: "s6-supervise nginx"
},
48: {
cpu: "0.0",
cpu_average: "0",
mem: "0.0",
cmdline: "/package/admin/s6-2.13.2.0/command/s6-fdholderd -1 -n 256 -i data/rules"
},
49: {
cpu: "0.0",
cpu_average: "0",
mem: "0.0",
cmdline: "/package/admin/s6/command/s6-ipcserverd -1 -- /package/admin/s6/command/s6-ipcserver-access -v0 -E -l0 -i data/rules -- /package/admin/s6/command/s6-sudod -t 30000 -- /package/admin/s6-rc/command/s6-rc-oneshot-run -l ../.. --"
},
96: {
cpu: "0.0",
cpu_average: "0",
mem: "0.0",
cmdline: "s6-log -b -- T 1 n0 s10000000 T /dev/shm/logs/nginx"
},
98: {
cpu: "0.0",
cpu_average: "0",
mem: "0.0",
cmdline: "s6-log -b -- T 1 n0 s10000000 T /dev/shm/logs/go2rtc"
},
99: {
cpu: "0.0",
cpu_average: "0",
mem: "0.0",
cmdline: "s6-log -b -- T 1 n0 s10000000 T /dev/shm/logs/frigate"
},
100: {
cpu: "0.0",
cpu_average: "0",
mem: "0.0",
cmdline: "s6-log -b -- T 1 n0 s10000000 T /dev/shm/logs/certsync"
},
128: {
cpu: "33.3",
cpu_average: "30",
mem: "0.0",
cmdline: "/usr/local/go2rtc/bin/go2rtc -config=/dev/shm/go2rtc.yaml"
},
136: {
cpu: "0.0",
cpu_average: "0",
mem: "0.0",
cmdline: "bash ./run.user go2rtc-healthcheck"
},
137: {
cpu: "15.4",
cpu_average: "22",
mem: "0.4",
cmdline: "python3 -u -m frigate"
},
144: {
cpu: "0.0",
cpu_average: "0",
mem: "0.0",
cmdline: "nginx: master process nginx"
},
367: {
cpu: "0.1",
cpu_average: "0",
mem: "0.0",
cmdline: "nginx: worker process"
},
368: {
cpu: "0.1",
cpu_average: "0",
mem: "0.0",
cmdline: "nginx: worker process"
},
369: {
cpu: "0.1",
cpu_average: "0",
mem: "0.0",
cmdline: "nginx: worker process"
},
370: {
cpu: "0.0",
cpu_average: "0",
mem: "0.0",
cmdline: "nginx: worker process"
},
371: {
cpu: "0.0",
cpu_average: "0",
mem: "0.0",
cmdline: "nginx: cache manager process"
},
636: {
cpu: "0.0",
cpu_average: "0",
mem: "0.0",
cmdline: "bash ./run.user certsync"
},
788: {
cpu: "0.0",
cpu_average: "0",
mem: "0.1",
cmdline: "python3 -u -m frigate"
},
929: {
cpu: "3.5",
cpu_average: "4",
mem: "0.2",
cmdline: "frigate.recording_manager"
},
932: {
cpu: "2.6",
cpu_average: "2",
mem: "0.1",
cmdline: "frigate.review_segment_manager"
},
951: {
cpu: "10.9",
cpu_average: "14",
mem: "0.1",
cmdline: "frigate.detector.coral2"
},
957: {
cpu: "2.9",
cpu_average: "4",
mem: "0.3",
cmdline: "frigate.embeddings_manager"
},
995: {
cpu: "6.2",
cpu_average: "5",
mem: "0.1",
cmdline: "frigate.output "
},
1145: {
cpu: "0.0",
cpu_average: "0",
mem: "0.0",
cmdline: "/usr/lib/ffmpeg/7.0/bin/ffmpeg -threads 1 -f rawvideo -pix_fmt yuv420p -video_size 1920x1080 -i pipe: -threads 1 -f mpegts -s 1280x720 -codec:v mpeg1video -q 8 -bf 0 pipe:"
},
1152: {
cpu: "0.0",
cpu_average: "0",
mem: "0.0",
cmdline: "/usr/lib/ffmpeg/7.0/bin/ffmpeg -threads 1 -f rawvideo -pix_fmt yuv420p -video_size 704x576 -i pipe: -threads 1 -f mpegts -s 880x720 -codec:v mpeg1video -q 8 -bf 0 pipe:"
},
1159: {
cpu: "0.0",
cpu_average: "0",
mem: "0.0",
cmdline: "/usr/lib/ffmpeg/7.0/bin/ffmpeg -threads 1 -f rawvideo -pix_fmt yuv420p -video_size 704x576 -i pipe: -threads 1 -f mpegts -s 880x720 -codec:v mpeg1video -q 8 -bf 0 pipe:"
},
1166: {
cpu: "0.0",
cpu_average: "0",
mem: "0.0",
cmdline: "/usr/lib/ffmpeg/7.0/bin/ffmpeg -threads 1 -f rawvideo -pix_fmt yuv420p -video_size 704x576 -i pipe: -threads 1 -f mpegts -s 880x720 -codec:v mpeg1video -q 8 -bf 0 pipe:"
},
1173: {
cpu: "0.0",
cpu_average: "0",
mem: "0.0",
cmdline: "/usr/lib/ffmpeg/7.0/bin/ffmpeg -threads 1 -f rawvideo -pix_fmt yuv420p -video_size 704x576 -i pipe: -threads 1 -f mpegts -s 880x720 -codec:v mpeg1video -q 8 -bf 0 pipe:"
},
1180: {
cpu: "0.0",
cpu_average: "0",
mem: "0.0",
cmdline: "/usr/lib/ffmpeg/7.0/bin/ffmpeg -threads 1 -f rawvideo -pix_fmt yuv420p -video_size 704x576 -i pipe: -threads 1 -f mpegts -s 880x720 -codec:v mpeg1video -q 8 -bf 0 pipe:"
},
1188: {
cpu: "0.0",
cpu_average: "0",
mem: "0.0",
cmdline: "/usr/lib/ffmpeg/7.0/bin/ffmpeg -threads 1 -f rawvideo -pix_fmt yuv420p -video_size 704x576 -i pipe: -threads 1 -f mpegts -s 880x720 -codec:v mpeg1video -q 8 -bf 0 pipe:"
},
1196: {
cpu: "0.0",
cpu_average: "0",
mem: "0.0",
cmdline: "/usr/lib/ffmpeg/7.0/bin/ffmpeg -threads 1 -f rawvideo -pix_fmt yuv420p -video_size 640x480 -i pipe: -threads 1 -f mpegts -s 960x720 -codec:v mpeg1video -q 8 -bf 0 pipe:"
},
1203: {
cpu: "0.0",
cpu_average: "0",
mem: "0.0",
cmdline: "/usr/lib/ffmpeg/7.0/bin/ffmpeg -threads 1 -f rawvideo -pix_fmt yuv420p -video_size 1280x720 -i pipe: -threads 1 -f mpegts -s 1280x720 -codec:v mpeg1video -q 8 -bf 0 pipe:"
},
1223: {
cpu: "4.9",
cpu_average: "23",
mem: "0.2",
cmdline: "frigate.process:garage"
},
1225: {
cpu: "4.5",
cpu_average: "25",
mem: "0.2",
cmdline: "frigate.process:gate "
},
1239: {
cpu: "76.5",
cpu_average: "23",
mem: "0.2",
cmdline: "frigate.process:backyard"
},
1252: {
cpu: "3.3",
cpu_average: "5",
mem: "0.2",
cmdline: "frigate.process:courtyard"
},
1260: {
cpu: "4.0",
cpu_average: "16",
mem: "0.2",
cmdline: "frigate.process:driveway"
},
1272: {
cpu: "45.0",
cpu_average: "79",
mem: "0.2",
cmdline: "frigate.process:patio"
},
1280: {
cpu: "4.9",
cpu_average: "70",
mem: "0.2",
cmdline: "frigate.process:pool "
},
1290: {
cpu: "14.2",
cpu_average: "13",
mem: "0.2",
cmdline: "frigate.process:pergola"
},
1304: {
cpu: "11.2",
cpu_average: "10",
mem: "0.2",
cmdline: "frigate.capture:garage"
},
1317: {
cpu: "18.9",
cpu_average: "18",
mem: "0.1",
cmdline: "/usr/lib/ffmpeg/7.0/bin/ffmpeg -hide_banner -loglevel warning -threads 2 -user_agent FFmpeg Frigate/0.16.1-e664cb2 -rtsp_transport tcp -timeout 10000000 -i rtsp://127.0.0.1:8554/garage?video=copy&audio=aac -f segment -segment_time 10 -segment_format mp4 -reset_timestamps 1 -strftime 1 -c:v copy -c:a aac /tmp/cache/garage@%Y%m%d%H%M%S%z.mp4 -r 12 -vf fps=12,scale=1920:1080 -threads 2 -f rawvideo -pix_fmt yuv420p pipe:"
},
1321: {
cpu: "3.4",
cpu_average: "2",
mem: "0.2",
cmdline: "frigate.capture:gate "
},
1327: {
cpu: "13.4",
cpu_average: "13",
mem: "0.0",
cmdline: "/usr/lib/ffmpeg/7.0/bin/ffmpeg -hide_banner -loglevel warning -threads 2 -user_agent FFmpeg Frigate/0.16.1-e664cb2 -avoid_negative_ts make_zero -fflags +genpts+discardcorrupt -rtsp_transport tcp -timeout 10000000 -use_wallclock_as_timestamps 1 -i rtsp://127.0.0.1:8554/gate_sub -r 12 -vf fps=12,scale=704:576 -threads 2 -f rawvideo -pix_fmt yuv420p pipe:"
},
1332: {
cpu: "4.3",
cpu_average: "4",
mem: "0.0",
cmdline: "/usr/lib/ffmpeg/7.0/bin/ffmpeg -hide_banner -loglevel warning -threads 2 -user_agent FFmpeg Frigate/0.16.1-e664cb2 -avoid_negative_ts make_zero -fflags +genpts+discardcorrupt -rtsp_transport tcp -timeout 10000000 -use_wallclock_as_timestamps 1 -i rtsp://127.0.0.1:8554/gate -f segment -segment_time 10 -segment_format mp4 -reset_timestamps 1 -strftime 1 -c:v copy -c:a aac /tmp/cache/gate@%Y%m%d%H%M%S%z.mp4"
},
1350: {
cpu: "1.6",
cpu_average: "1",
mem: "0.2",
cmdline: "frigate.capture:backyard"
},
1419: {
cpu: "7.8",
cpu_average: "7",
mem: "0.0",
cmdline: "/usr/lib/ffmpeg/7.0/bin/ffmpeg -hide_banner -loglevel warning -threads 2 -user_agent FFmpeg Frigate/0.16.1-e664cb2 -avoid_negative_ts make_zero -fflags +genpts+discardcorrupt -rtsp_transport tcp -timeout 10000000 -use_wallclock_as_timestamps 1 -i rtsp://127.0.0.1:8554/backyard_sub -r 6 -vf fps=6,scale=704:576 -threads 2 -f rawvideo -pix_fmt yuv420p pipe:"
},
1420: {
cpu: "3.2",
cpu_average: "2",
mem: "0.0",
cmdline: "/usr/lib/ffmpeg/7.0/bin/ffmpeg -hide_banner -v error -fflags nobuffer -flags low_delay -timeout 5000000 -user_agent go2rtc/ffmpeg -rtsp_flags prefer_tcp -i rtsp://127.0.0.1:8554/garage?audio&source=ffmpeg:garage%23audio%3Daac -c:a aac -vn -f adts -"
},
1422: {
cpu: "1.5",
cpu_average: "1",
mem: "0.2",
cmdline: "frigate.capture:courtyard"
},
1426: {
cpu: "1.5",
cpu_average: "1",
mem: "0.0",
cmdline: "/usr/lib/ffmpeg/7.0/bin/ffmpeg -hide_banner -loglevel warning -threads 2 -user_agent FFmpeg Frigate/0.16.1-e664cb2 -avoid_negative_ts make_zero -fflags +genpts+discardcorrupt -rtsp_transport tcp -timeout 10000000 -use_wallclock_as_timestamps 1 -i rtsp://127.0.0.1:8554/backyard -f segment -segment_time 10 -segment_format mp4 -reset_timestamps 1 -strftime 1 -c:v copy -c:a aac /tmp/cache/backyard@%Y%m%d%H%M%S%z.mp4"
},
1435: {
cpu: "4.5",
cpu_average: "4",
mem: "0.0",
cmdline: "/usr/lib/ffmpeg/7.0/bin/ffmpeg -hide_banner -loglevel warning -threads 2 -user_agent FFmpeg Frigate/0.16.1-e664cb2 -avoid_negative_ts make_zero -fflags +genpts+discardcorrupt -rtsp_transport tcp -timeout 10000000 -use_wallclock_as_timestamps 1 -i rtsp://127.0.0.1:8554/courtyard_sub -r 6 -vf fps=6,scale=704:576 -threads 2 -f rawvideo -pix_fmt yuv420p pipe:"
},
1440: {
cpu: "1.3",
cpu_average: "1",
mem: "0.0",
cmdline: "/usr/lib/ffmpeg/7.0/bin/ffmpeg -hide_banner -loglevel warning -threads 2 -user_agent FFmpeg Frigate/0.16.1-e664cb2 -avoid_negative_ts make_zero -fflags +genpts+discardcorrupt -rtsp_transport tcp -timeout 10000000 -use_wallclock_as_timestamps 1 -i rtsp://127.0.0.1:8554/courtyard -f segment -segment_time 10 -segment_format mp4 -reset_timestamps 1 -strftime 1 -c:v copy -c:a aac /tmp/cache/courtyard@%Y%m%d%H%M%S%z.mp4"
},
1441: {
cpu: "1.7",
cpu_average: "1",
mem: "0.2",
cmdline: "frigate.capture:driveway"
},
1447: {
cpu: "4.8",
cpu_average: "4",
mem: "0.0",
cmdline: "/usr/lib/ffmpeg/7.0/bin/ffmpeg -hide_banner -loglevel warning -threads 2 -user_agent FFmpeg Frigate/0.16.1-e664cb2 -avoid_negative_ts make_zero -fflags +genpts+discardcorrupt -rtsp_transport tcp -timeout 10000000 -use_wallclock_as_timestamps 1 -i rtsp://127.0.0.1:8554/driveway_sub -r 6 -vf fps=6,scale=704:576 -threads 2 -f rawvideo -pix_fmt yuv420p pipe:"
},
1448: {
cpu: "1.4",
cpu_average: "1",
mem: "0.2",
cmdline: "frigate.capture:patio"
},
1453: {
cpu: "1.5",
cpu_average: "1",
mem: "0.0",
cmdline: "/usr/lib/ffmpeg/7.0/bin/ffmpeg -hide_banner -loglevel warning -threads 2 -user_agent FFmpeg Frigate/0.16.1-e664cb2 -avoid_negative_ts make_zero -fflags +genpts+discardcorrupt -rtsp_transport tcp -timeout 10000000 -use_wallclock_as_timestamps 1 -i rtsp://127.0.0.1:8554/driveway -f segment -segment_time 10 -segment_format mp4 -reset_timestamps 1 -strftime 1 -c:v copy -c:a aac /tmp/cache/driveway@%Y%m%d%H%M%S%z.mp4"
},
1459: {
cpu: "4.9",
cpu_average: "4",
mem: "0.0",
cmdline: "/usr/lib/ffmpeg/7.0/bin/ffmpeg -hide_banner -loglevel warning -threads 2 -user_agent FFmpeg Frigate/0.16.1-e664cb2 -avoid_negative_ts make_zero -fflags +genpts+discardcorrupt -rtsp_transport tcp -timeout 10000000 -use_wallclock_as_timestamps 1 -i rtsp://127.0.0.1:8554/patio_sub -r 6 -vf fps=6,scale=704:576 -threads 2 -f rawvideo -pix_fmt yuv420p pipe:"
},
1463: {
cpu: "1.5",
cpu_average: "1",
mem: "0.2",
cmdline: "frigate.capture:pool "
},
1465: {
cpu: "1.5",
cpu_average: "1",
mem: "0.0",
cmdline: "/usr/lib/ffmpeg/7.0/bin/ffmpeg -hide_banner -loglevel warning -threads 2 -user_agent FFmpeg Frigate/0.16.1-e664cb2 -avoid_negative_ts make_zero -fflags +genpts+discardcorrupt -rtsp_transport tcp -timeout 10000000 -use_wallclock_as_timestamps 1 -i rtsp://127.0.0.1:8554/patio -f segment -segment_time 10 -segment_format mp4 -reset_timestamps 1 -strftime 1 -c:v copy -c:a aac /tmp/cache/patio@%Y%m%d%H%M%S%z.mp4"
},
1471: {
cpu: "5.1",
cpu_average: "4",
mem: "0.0",
cmdline: "/usr/lib/ffmpeg/7.0/bin/ffmpeg -hide_banner -loglevel warning -threads 2 -user_agent FFmpeg Frigate/0.16.1-e664cb2 -avoid_negative_ts make_zero -fflags +genpts+discardcorrupt -rtsp_transport tcp -timeout 10000000 -use_wallclock_as_timestamps 1 -i rtsp://127.0.0.1:8554/pool_sub -r 6 -vf fps=6,scale=704:576 -threads 2 -f rawvideo -pix_fmt yuv420p pipe:"
},
1476: {
cpu: "1.5",
cpu_average: "1",
mem: "0.0",
cmdline: "/usr/lib/ffmpeg/7.0/bin/ffmpeg -hide_banner -loglevel warning -threads 2 -user_agent FFmpeg Frigate/0.16.1-e664cb2 -avoid_negative_ts make_zero -fflags +genpts+discardcorrupt -rtsp_transport tcp -timeout 10000000 -use_wallclock_as_timestamps 1 -i rtsp://127.0.0.1:8554/pool -f segment -segment_time 10 -segment_format mp4 -reset_timestamps 1 -strftime 1 -c:v copy -c:a aac /tmp/cache/pool@%Y%m%d%H%M%S%z.mp4"
},
1479: {
cpu: "1.3",
cpu_average: "1",
mem: "0.2",
cmdline: "frigate.capture:pergola"
},
1485: {
cpu: "4.1",
cpu_average: "3",
mem: "0.0",
cmdline: "/usr/lib/ffmpeg/7.0/bin/ffmpeg -hide_banner -loglevel warning -threads 2 -user_agent FFmpeg Frigate/0.16.1-e664cb2 -avoid_negative_ts make_zero -fflags +genpts+discardcorrupt -rtsp_transport tcp -timeout 10000000 -use_wallclock_as_timestamps 1 -i rtsp://127.0.0.1:8554/pergola_sub -r 6 -vf fps=6,scale=640:480 -threads 2 -f rawvideo -pix_fmt yuv420p pipe:"
},
1486: {
cpu: "2.1",
cpu_average: "1",
mem: "0.2",
cmdline: "python3 -u -m frigate"
},
1492: {
cpu: "0.9",
cpu_average: "0",
mem: "0.0",
cmdline: "/usr/lib/ffmpeg/7.0/bin/ffmpeg -hide_banner -loglevel warning -threads 2 -user_agent FFmpeg Frigate/0.16.1-e664cb2 -avoid_negative_ts make_zero -fflags +genpts+discardcorrupt -rtsp_transport tcp -timeout 10000000 -use_wallclock_as_timestamps 1 -i rtsp://127.0.0.1:8554/pergola -f segment -segment_time 10 -segment_format mp4 -reset_timestamps 1 -strftime 1 -c:v copy -c:a aac /tmp/cache/pergola@%Y%m%d%H%M%S%z.mp4"
},
1509: {
cpu: "0.5",
cpu_average: "0",
mem: "0.0",
cmdline: "/usr/lib/ffmpeg/7.0/bin/ffmpeg -vn -threads 1 -hide_banner -loglevel warning -threads 2 -user_agent FFmpeg Frigate/0.16.1-e664cb2 -rtsp_transport tcp -timeout 10000000 -i rtsp://127.0.0.1:8554/garage?video=copy&audio=aac -threads 1 -f s16le -ar 16000 -ac 1 -y pipe:"
},
1521: {
cpu: "1.6",
cpu_average: "1",
mem: "0.0",
cmdline: "/usr/lib/ffmpeg/7.0/bin/ffmpeg -vn -threads 1 -hide_banner -loglevel warning -threads 2 -user_agent FFmpeg Frigate/0.16.1-e664cb2 -avoid_negative_ts make_zero -fflags +genpts+discardcorrupt -rtsp_transport tcp -timeout 10000000 -use_wallclock_as_timestamps 1 -i rtsp://127.0.0.1:8554/gate -threads 1 -f s16le -ar 16000 -ac 1 -y pipe:"
},
18617: {
cpu: "0.0",
cpu_average: "0",
mem: "0.0",
cmdline: "sleep 30s"
},
18974: {
cpu: "0.0",
cpu_average: "0",
mem: "0.0",
cmdline: "sleep 60"
},
frigate.full_system: {
cpu: "5.3",
mem: "12.5"
}
},
service: {
uptime: 1002,
version: "0.16.1-e664cb2",
latest_version: "0.16.1",
storage: {
/media/frigate/recordings: {
total: 4654654.8,
used: 2966783.5,
free: 1497067,
mount_type: "fuse.mergerfs"
},
/media/frigate/clips: {
total: 4654654.8,
used: 2966783.5,
free: 1497067,
mount_type: "fuse.mergerfs"
},
/tmp/cache: {
total: 953.7,
used: 41.1,
free: 912.5,
mount_type: "tmpfs"
},
/dev/shm: {
total: 512,
used: 350.8,
free: 161.2,
mount_type: "tmpfs"
}
},
temperatures: { },
last_updated: 1758620956
},
processes: {
recording: {
pid: 929
},
review_segment: {
pid: 932
},
go2rtc: {
pid: 128
},
embeddings: {
pid: 957
},
audio_detector: {
pid: 1486
}
}
}Operating systemOther Linux Install methodDocker Compose docker-compose file or Docker CLI commandservices:
frigate:
container_name: frigate
# privileged: true # this may not be necessary for all setups
restart: unless-stopped
stop_grace_period: 30s # allow enough time to shut down the various services
image: ghcr.io/blakeblackshear/frigate:stable
shm_size: "512mb" # update for your cameras based on calculation above
devices:
- /dev/bus/usb:/dev/bus/usb # Passes the USB Coral, needs to be modified for other versions
# - /dev/apex_0:/dev/apex_0 # Passes a PCIe Coral, follow driver instructions here https://coral.ai/docs/m2/get-started/#2a-on-linux
# - /dev/video11:/dev/video11 # For Raspberry Pi 4B
# - /dev/dri/renderD128:/dev/dri/renderD128 # For intel hwaccel, needs to be updated for your hardware
volumes:
- /etc/localtime:/etc/localtime:ro
- /data/frigate/config:/config
- /data/frigate/media:/media/frigate
- type: tmpfs # Optional: 1GB of memory, reduces SSD/SD Card wear
target: /tmp/cache
tmpfs:
size: 1000000000
ports:
- "8971:8971"
- "5000:5000" # Internal unauthenticated access. Expose carefully.
- "8554:8554" # RTSP feeds
- "8555:8555/tcp" # WebRTC over tcp
- "8555:8555/udp" # WebRTC over udp
environment:
FRIGATE_RTSP_PASSWORD: "password"
PLUS_API_KEY: "<REDACTED>"Object DetectorCoral Screenshots of the Frigate UI's System metrics pagesNo response Any other information that may be helpfulNo response |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments
-
|
This error can occur when the Frigate container cannot write to the mapped /config directory, even if permissions appear correct on the host. In similar scenarios, the root cause has sometimes been related to how the directory is mounted into the container or underlying filesystem quirks, rather than simple UNIX permissions(1). The Frigate documentation specifies that the /config directory must be bind-mounted as a directory, not just the config file, and the container must have write access to it(2)(3)(1). If Frigate is unable to write to /config despite seemingly correct permissions, try these steps:
If the problem persists, review the container logs for any additional permission or filesystem errors, and ensure there are no AppArmor/SELinux restrictions interfering with writes. Check out these potentially useful sources: Updating Frigate, Installation, [Config Support]: Upgraded to 0.14 from 0.13 and throwing errors. Would you like a general answer based on my knowledge instead? 📚 Sources: Have another question? Just tag @inkeep. |
Beta Was this translation helpful? Give feedback.
-
|
Frigate writes two hidden files to the I'd check the permissions on both of those files. |
Beta Was this translation helpful? Give feedback.
-
|
That seems to have fixed it - it was the .vacuum file. |
Beta Was this translation helpful? Give feedback.
Frigate writes two hidden files to the
/configdirectory to help maintain the state of the database:/config/.vacuumand/config/.timeline. The error message you are seeing in the logs is indicating that one of these files could not be successfully written.I'd check the permissions on both of those files.