blakeblackshear / blakeshome-charts

Repo for helm charts
47 stars 62 forks source link

Frigate - Unable to migrate config file, Config validation errors #73

Open deathgr1n opened 3 months ago

deathgr1n commented 3 months ago

Hey all I am having some trouble with Frigate. I have it running from a Docker Stack and it was running fine, then it wasn't. I have Watchtower running as container as well, so I am assuming it upgraded Frigate and something broke? But I am confused because this config was working fine, no issues. Below is my config and the log output of the container:

2024-08-08 19:20:22.936095656 [2024-08-08 19:20:22] frigate.app INFO : Starting Frigate (0.14.0-da913d8) 2024-08-08 19:20:22.944586081 [2024-08-08 19:20:22] frigate.util.config INFO : Checking if frigate config needs migration... 2024-08-08 19:20:22.944679079 [2024-08-08 19:20:22] frigate.util.config ERROR : Config file is read-only, unable to migrate config file. 2024-08-08 19:20:22.960058812 2024-08-08 19:20:22.960060975 2024-08-08 19:20:22.960063694 Your config file is not valid! 2024-08-08 19:20:22.960065507 Please check the docs at 2024-08-08 19:20:22.960066781 https://docs.frigate.video/configuration/index 2024-08-08 19:20:22.960068455 2024-08-08 19:20:22.960069623 2024-08-08 19:20:22.960079616 Config Validation Errors 2024-08-08 19:20:22.960080856 2024-08-08 19:20:22.960091364 cameras.ShopCam.record.events.required_zones: Extra inputs are not permitted 2024-08-08 19:20:22.960092486 cameras.FrontDrivewayCam.record.events.required_zones: Extra inputs are not permitted 2024-08-08 19:20:22.960093554 cameras.FrontYardCam.record.events.required_zones: Extra inputs are not permitted 2024-08-08 19:20:22.960094644 cameras.WestSideCam.record.events.required_zones: Extra inputs are not permitted 2024-08-08 19:20:22.960116016 cameras.BackYardCam.record.events.required_zones: Extra inputs are not permitted 2024-08-08 19:20:22.960117223 cameras.FrontDoorCam.record.events.required_zones: Extra inputs are not permitted 2024-08-08 19:20:22.960118270 2024-08-08 19:20:22.960119297 End Config Validation Errors 2024-08-08 19:20:22.960125415 ***** 2024-08-08 19:20:24.123660828 [INFO] Service Frigate exited with code 1 (by signal 0) s6-rc: info: service legacy-services: stopping s6-rc: info: service legacy-services successfully stopped s6-rc: info: service go2rtc-healthcheck: stopping s6-rc: info: service certsync: stopping 2024-08-08 19:20:24.131639479 [INFO] The go2rtc-healthcheck service exited with code 256 (by signal 15) 2024-08-08 19:20:24.132495521 [INFO] Service CERTSYNC exited with code 256 (by signal 15) s6-rc: info: service go2rtc-healthcheck successfully stopped s6-rc: info: service certsync successfully stopped s6-rc: info: service nginx: stopping s6-rc: info: service certsync-log: stopping s6-rc: info: service certsync-log successfully stopped 2024-08-08 19:20:24.247802297 [INFO] Service NGINX exited with code 0 (by signal 0) s6-rc: info: service nginx successfully stopped s6-rc: info: service nginx-log: stopping s6-rc: info: service frigate: stopping s6-rc: info: service frigate successfully stopped s6-rc: info: service go2rtc: stopping s6-rc: info: service frigate-log: stopping s6-rc: info: service nginx-log successfully stopped 2024-08-08 19:20:24.250224107 exit with signal: terminated s6-rc: info: service frigate-log successfully stopped

`mqtt: enabled: false

database: path: /db/frigate.db

detectors: coral: type: edgetpu device: usb

ffmpeg: hwaccel_args: preset-vaapi

hwaccel_args: preset-intel-qsv-h265

Include all cameras by default in Birdseye view

birdseye: enabled: True mode: continuous

width: 2592

height: 1944

quality: 15

Global Object Settings

objects: track:

go2rtc: streams: FrontDrivewayCam:

deathgr1n commented 3 months ago

Ok so I removed all the coordinate and zone configs and that "resolved" the frigate successfully starting issue. I will go back and see if something has changed with how zones are configured now.