#Frigate Giving Refuse to Connect Error

1 messages · Page 1 of 1 (latest)

late bloom
#

I must have forgot to make an exception for frigate in watchtower. I assume thats the issue. Log below. The directory for frigate I set to chmod 777 so not sure why it would throw that error.

2025-02-11 23:41:19.418641987  127.0.0.1 - - [11/Feb/2025:23:41:19 +0000] "" 400 0 "-" "-" "-"
2025-02-11 23:41:21.006787158  [2025-02-11 23:41:21] frigate.util.config            INFO    : Checking if frigate config needs migration...
2025-02-11 23:41:21.006975158  [2025-02-11 23:41:21] frigate.util.config            ERROR   : Config file is read-only, unable to migrate config file.
2025-02-11 23:41:21.032902060  *************************************************************
2025-02-11 23:41:21.032906646  *************************************************************
2025-02-11 23:41:21.032910304  ***    Your config file is not valid!                     ***
2025-02-11 23:41:21.032936375  ***    Please check the docs at                           ***
2025-02-11 23:41:21.032938474  ***    https://docs.frigate.video/configuration/          ***
2025-02-11 23:41:21.032940472  *************************************************************
2025-02-11 23:41:21.032942389  *************************************************************
2025-02-11 23:41:21.032944600  ***    Config Validation Errors                           ***
2025-02-11 23:41:21.032947644  *************************************************************
2025-02-11 23:41:21.032967965  record.events: Extra inputs are not permitted
2025-02-11 23:41:21.032977988  *************************************************************
2025-02-11 23:41:21.032980163  ***    End Config Validation Errors                       ***
2025-02-11 23:41:21.032989252  *************************************************************
2025-02-11 23:41:21.357944396  [INFO] Service Frigate exited with code 1 (by signal 0)
s6-rc: info: service legacy-services: stopping
#
    host: 192.168.40.12
    user: mosquitto
    password: mosquitto

  database:
    path: /db/frigate.db

  birdseye:
    enabled: True
    mode: continuous

  objects:
    track:
      - person
      - cat
      - dog
      #- car

  detectors:
    ov:
      type: openvino
      device: CPU
      model:
        path: /openvino-model/ssdlite_mobilenet_v2.xml

  model:
    width: 300
    height: 300
    input_tensor: nhwc
    input_pixel_format: bgr
    labelmap_path: /openvino-model/coco_91cl_bkgr.txt

  snapshots:
    enabled: True
    timestamp: True
    bounding_box: True

  record:
    enabled: True
    events:
      retain:
        default: 7

  cameras:
    Backyard:
      ffmpeg:
        input_args: preset-http-reolink
        inputs:
          - path: http://192.168.50.5/flv?port=1935&app=bcs&stream=channel0_main.bcs&user=admin&password=passw0rd
            roles:
              - record
             # - rtmp
          - path: http://192.168.50.5/flv?port=1935&app=bcs&stream=channel0_ext.bcs&user=admin&password=passw0rd
            roles:
              - detect
      detect:
        width: 896
        height: 672
        fps: 5
#

thats my current config as well. Any help would be great!

bold wind
#

what is the docker compose

late bloom
# bold wind what is the docker compose
version: "3"
services:
   frigate:
    image: ghcr.io/blakeblackshear/frigate:stable
    container_name: frigate
    privileged: true # this may not be necessary for all setups
    shm_size: "64mb" # update for your cameras based on calculation above
    volumes:
      - /etc/localtime:/etc/localtime:ro
      - /docker/frigate/config.yml:/config/config.yml:ro
      #- /mnt/media/NVR:/media/frigate
      - /docker/frigate/recordings:/media/frigate
      - /docker/frigate/db:/db
      - type: tmpfs # Optional: 1GB of memory, reduces SSD/SD Card wear
        target: /tmp/cache
        tmpfs:
          size: 1000000000
    ports:
      - "5000:5000"
      - "1935:1935" # RTMP feeds
    environment:
      FRIGATE_RTSP_PASSWORD: "eagleeye"
    restart: unless-stopped

   mosquitto:
    image: eclipse-mosquitto
    container_name: mosquitto
    environment:
     - PUID=1000
     - PGID=1000
    volumes:
      - /docker/mosquitto/config/mosquitto.conf:/mosquitto/config/mosquitto.conf:ro
      - /docker/mosquitto/config:/mosquitto/config
      - /docker/mosquitto/data:/mosquitto/data
      - /docker/mosquitto/log:/mosquitto/log
      #- /docker/mosquitto/config/mosquitto.passwd:/mosquitto/config/mosquitto.passwd
    ports:
      - 1883:1883
      - 9001:9001
    restart: unless-stopped
bold wind
#
  - /docker/frigate/config.yml:/config/config.yml:ro
#

this is your problem

#

also you should be mapping the entire config directory

#

not just the config file

late bloom
bold wind
#

it should be /docker/frigate/:/config/