Skip to content

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

@deathgr1n

Description

@deathgr1n

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:
- person
#- dog
- bicycle
- car
- motorcycle
filters:
person:
min_area: 5000
max_area: 100000
cameras:
ShopCam:
ffmpeg:
inputs:
#High resolution stream
- path: rtsp://admin:password@172.20.x.x:554/cam/realmonitor?channel=1&subtype=0
roles:
- record
- detect
#Using main stream for detect
#- path: rtsp://admin:password@172.20.x.x:554/cam/realmonitor?channel=1&subtype=0
# roles:
# - detect
detect:
width: 2592
height: 1944
record:
enabled: True
retain:
days: 7
mode: motion
events:
required_zones:
- entire_yard
retain:
default: 7
mode: active_objects
zones:
entire_yard:
coordinates: 2592,1944,2592,791,2062,686,1109,643,701,714,0,792,0,1944
FrontDrivewayCam:
ffmpeg:
inputs:
#High resolution stream
- path: rtsp://admin:password@172.20.x.x:554/cam/realmonitor?channel=1&subtype=0
roles:
- record
- detect
#Using main stream for detect
#- path: rtsp://admin:password@172.20.x.x:554/cam/realmonitor?channel=1&subtype=0
# roles:
# - detect
detect:
width: 3840
height: 2160
record:
enabled: True
retain:
days: 7
mode: motion
events:
required_zones:
- entire_yard
- street
retain:
default: 7
mode: active_objects
zones:
entire_yard:
coordinates: 0,1944,2592,1944,2592,1421,2483,1237,2409,1113,2342,1019,2383,888,2369,659,2329,496,0,570
street:
coordinates: 908,386,1247,418,2323,490,2269,355,1702,240,834,229,1030,123,923,117,384,346,0,493
FrontYardCam:
ffmpeg:
inputs:
#High resolution stream
- path: rtsp://admin:password@172.20.x.x:554/cam/realmonitor?channel=1&subtype=0
roles:
- record
- detect
#Using main stream for detect
#- path: rtsp://admin:password@172.20.x.x:554/cam/realmonitor?channel=1&subtype=0
# roles:
# - detect
detect:
width: 3840
height: 2160
record:
enabled: True
retain:
days: 7
mode: motion
events:
required_zones:
- entire_yard
- street
retain:
default: 7
mode: active_objects
zones:
entire_yard:
coordinates: 0,1944,2592,1944,2592,765,2072,641,841,639,0,722
street:
coordinates: 0,748,72,439,906,274,2158,348,2592,756,1964,628,887,605
WestSideCam:
ffmpeg:
inputs:
#High resolution stream
- path: rtsp://admin:password@172.20.x.x:554/cam/realmonitor?channel=1&subtype=0
roles:
- record
- detect
#Using main stream for detect
#- path: rtsp://admin:password@172.20.x.x:554/cam/realmonitor?channel=1&subtype=0
# roles:
# - detect
detect:
width: 3840
height: 2160
record:
enabled: True
retain:
days: 7
mode: motion
events:
required_zones:
- entire_yard
retain:
default: 7
mode: active_objects
zones:
entire_yard:
coordinates: 0,1944,2592,1944,2592,347,1098,313,0,414
BackYardCam:
ffmpeg:
inputs:
#High resolution stream
- path: rtsp://admin:password@172.20.x.x:554/cam/realmonitor?channel=1&subtype=0
roles:
- record
- detect
#Using main stream for detect
#- path: rtsp://admin:password@172.20.x.x:554/cam/realmonitor?channel=1&subtype=0
# roles:
# - detect
detect:
width: 3840
height: 2160
record:
enabled: True
retain:
days: 7
mode: motion
events:
required_zones:
- entire_yard
retain:
default: 7
mode: active_objects
zones:
entire_yard:
coordinates: 0,1944,2592,1944,2592,417,2489,340,2094,183,1534,71,542,112,265,250,0,281
FrontDoorCam:
ffmpeg:
inputs:
#High resolution stream
- path: rtsp://admin:password@172.20.x.x:554/h264Preview_01_main
roles:
- record
- detect
#Using main stream for detect
#- path: rtsp://admin:password@172.20.x.x:554/cam/realmonitor?channel=1&subtype=0
# roles:
# - detect
detect:
width: 2560
height: 1920
record:
enabled: True
retain:
days: 7
mode: motion
events:
required_zones:
- entire_yard
retain:
default: 7
mode: active_objects
zones:
entire_yard:
coordinates: 2592,1944,2592,791,2062,686,1109,643,701,714,0,792,0,1944

go2rtc:
streams:
FrontDrivewayCam:
- rtsp://admin:password@172.20.15.242:554/cam/realmonitor?channel=1&subtype=0
#FrontDrivewayCam_sub:
# - rtsp://admin:password@172.20.15.242:554/cam/realmonitor?channel=1&subtype=1
FrontYardCam:
- rtsp://admin:password@172.20.15.243:554/cam/realmonitor?channel=1&subtype=0
#FrontYardCam_sub:
# - rtsp://admin:password@172.20.15.243:554/cam/realmonitor?channel=1&subtype=1
WestSideCam:
- rtsp://admin:password@172.20.15.244:554/cam/realmonitor?channel=1&subtype=0
#WestSideCam_sub:
# - rtsp://admin:password@172.20.15.244:554/cam/realmonitor?channel=1&subtype=1
BackYardCam:
- rtsp://admin:password@172.20.15.245:554/cam/realmonitor?channel=1&subtype=0
#BackYardCam_sub:
# - rtsp://admin:password@172.20.15.245:554/cam/realmonitor?channel=1&subtype=1
ShopCam:
- rtsp://admin:password@172.20.15.241:554/cam/realmonitor?channel=1&subtype=0
#ShopCam_sub:
# - rtsp://admin:password@172.20.15.241:554/cam/realmonitor?channel=1&subtype=1
FrontDoorCam:
- "ffmpeg:http://172.20.15.21/flv?port=1913&app=bcs&stream=channe10_ext.bcs&user=admin&password=password#video=copy#audio=copy#audio=opus"
- rtsp://admin:password@172.20.15.21:554/h264Preview_01_sub`

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions