[Config Support]: config file not found after upgrading from 0.13 to 0.14 #12106
-
Describe the problem you are havingI am running a linux system using docker compose. I wanted to try the new version of frigate so i stopped my current container and run these command to update the version. docker compose pull noticed i was getting a docker error and eventually the container doesnt start. I didnt make any changes to my config file location or the docker-compose.yml file, but for some reason the new version can't find the config file. frigate | 2024-06-22T01:58:48.329018878Z 2024-06-21 20:58:48.328742853 [INFO] Preparing Frigate... Here is my docker compose file contents Here is my location of my config file /home/frigate_user/frigate_docker/config.yml Am i missing something obvious? I am not sure why it wont find the config file. I even tried moving the config file into different folders to test and it never finds the config file. Thoughts? Version0.14 Frigate config filemqtt:
host: 192.168.0.85
user: homeassistant
password:
database:
path: /db/frigate.db
detectors:
cpu1:
type: cpu
num_threads: 4
cpu2:
type: cpu
num_threads: 4
#detectors:
# coral:
# type: edgetpu
# device: usb
birdseye:
enabled: true
mode: continuous
cameras:
CAMBARN1:
ffmpeg:
inputs:
- path:
rtsp:https://admin:@192.168.0.20:554/cam/realmonitor?channel=1?subtype=0
roles:
- record
- path:
rtsp:https://admin:@192.168.0.20:554/cam/realmonitor?channel=1?subtype=1
roles:
- detect
detect:
width: 640
height: 480
fps: 5
objects:
track:
- person
- dog
- cat
- car
filters:
person:
threshold: 0.6
snapshots:
enabled: true
timestamp: false
bounding_box: true
retain:
default: 5
record:
enabled: true
retain:
days: 5
motion:
threshold: 30 Relevant log outputfrigate | 2024-06-22T01:58:48.329018878Z 2024-06-21 20:58:48.328742853 [INFO] Preparing Frigate...
frigate | 2024-06-22T01:58:48.329148205Z 2024-06-21 20:58:48.328895038 [ERROR] Frigate config file not found
frigate | 2024-06-22T01:58:48.329162661Z 2024-06-21 20:58:48.328863570 [INFO] Starting NGINX...
frigate | 2024-06-22T01:58:48.332390493Z 2024-06-21 20:58:48.332176219 [INFO] Preparing new go2rtc config... Frigate statsNo response Operating systemDebian Install methodDocker Compose Object DetectorCPU (no coral) Any other information that may be helpfulNo response |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
The docker compose config is incorrect. You're napping a config.yml file to the entire /config directory |
Beta Was this translation helpful? Give feedback.
As Nick said, you're mapping a file to a directory. You need to map the directory containing that file to the config directory in the container.
/home/frigate_user/frigate_docker:/config
is the change needed