question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[Support]: [Errno 2] No such file or directory: '/config/config.yml'

See original GitHub issue

Describe the problem you are having

For the life of me, I can’t seem to get past this. I’m doing a docker-compose install on a fresh updated raspiean os. I’ve walked through the config and keep getting this message. Everything will be going to the local sd card for the time being while i set up my nas. Below is the sanitized version of both my docker-compose file as well as the frigate config file

Any help you could give would be much appreciated. I have a Home Assistant box set up on a different box and DeepStack running on a Jetson Nano and both are working correctly. Conversely, I have the HA Integration for Frigate running but am wanting to off-load it to it own RPi4 8gig

Version

latest armv7

Frigate config file

`mqtt:
  # Required: host name
  host: hostip
  # Optional: port (default: shown below)
  port: 1883
  # Optional: topic prefix (default: shown below)
  # NOTE: must be unique if you are running multiple instances
  topic_prefix: frigate
  # Optional: client id (default: shown below)
  # NOTE: must be unique if you are running multiple instances
  client_id: frigate
  # Optional: 
  user: user
  # Optional: pas
  # NOTE: MQTT password can be specified with an environment variables that must begin with 'FRIGATE_'.
  #       e.g. password: '{FRIGATE_MQTT_PASSWORD}'
  password: password
  stats_interval: 60
detectors:
  cpu1:
    type: cpu
    num_threads: 5
  cpu2:
    type: cpu
    num_threads: 5
  cpu3:
    type: cpu
    num_threads: 5
  cpu4:
    type: cpu
    num_threads: 5
ffmpeg:
  hwaccel_args:
    - -hwaccel
    - qsv
    - -qsv_device
    - /dev/dri/renderD128
cameras:
  livingroom:
    ffmpeg:
      inputs:
        - path: rtsp://streamip/live
          roles:
            - detect
            - rtmp
            - record
    detect:
      width: 1280
      height: 720
    record: # <----- Enable recording
      enabled: True
    snapshots: # <----- Enable snapshots
      enabled: True
      bounding_box: true
  sidedoorbell:
    ffmpeg:
      inputs:
        - path: rtsp://streamip/cam/realmonitor?channel=1&subtype=0&authbasic=64
          roles:
            - detect
            - rtmp
            - record
    detect:
      width: 2560
      height: 1920
    record: # <----- Enable recording
      enabled: True
    snapshots: # <----- Enable snapshots
      enabled: True
      bounding_box: true
  frontdoor:
    ffmpeg:
      inputs:
        - path: rtsp://streamip/live
          roles:
            - detect
            - rtmp
            - record
    detect:
      width: 1280
      height: 720
    record: # <----- Enable recording
      enabled: True
    snapshots: # <----- Enable snapshots
      enabled: True
      bounding_box: true
  deckcam:
    ffmpeg:
      inputs:
        - path: rtsp://streamip/live
          roles:
            - detect
            - rtmp
            - record
    detect:
      width: 1280
      height: 720
    record: # <----- Enable recording
      enabled: True
    snapshots: # <----- Enable snapshots
      enabled: True
      bounding_box: true
# Optional: Database configuration
database:
  # The path to store the SQLite DB (default: shown below)
  path: /config/frigate.db



# Optional: logger verbosity settings
logger:
  # Optional: Default log verbosity (default: shown below)
  default: info
  # Optional: Component specific logger overrides
  logs:
    frigate.event: debug

Relevant log output

`version: '3.9'
services:
  frigate:
    container_name: frigate
    privileged: true # this may not be necessary for all setups
    restart: unless-stopped
    image: blakeblackshear/frigate:stable-armv7
    devices:
      - /dev/bus/usb:/dev/bus/usb
      - /dev/dri/renderD128 # for intel hwaccel, needs to be updated for your hardware
    volumes:
      - /etc/localtime:/etc/localtime:ro
      - ./home/pi/docker-compose/frigate/config.yml:/config/config.yml:ro
#     - ./media/:/media/frigate
      - /mnt/footage:/media/frigate
      - 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: password
`

FFprobe output from your camera

NA

Frigate stats

No response

Operating system

Other Linux

Install method

Docker Compose

Coral version

CPU (no coral)

Network connection

Wired

Camera make and model

amcrest, wyze, reolink

Any other information that may be helpful

No response

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:33 (7 by maintainers)

github_iconTop GitHub Comments

1reaction
LordNexcommented, Dec 12, 2021

sorry accidentally closed it

0reactions
LordNexcommented, Dec 24, 2021

Thanks for the help on this. I believe I have this resolved. Even have it running on ESXi with a Nvidia card pass through. The integration with Double Take and DeepStack is just wicked. Thanks for everything have a merry xmass!

Read more comments on GitHub >

github_iconTop Results From Across the Web

[Errno 2] No such file or directory: '/config/config.yml ... - GitHub
I'm new to docker and don't really know how I access this location its looking for the config in. Can anyone help? Ubuntu...
Read more >
Running elastalert rule : IOError: [Errno 2] No such file or ...
Mention the config file in the elasticalert config.yaml.example in the command i.e, python -m elastalert.elastalert --verbose --rule ...
Read more >
Docker error parsing config {error 21] is a directory config ...
Hi I am unable to create a container due to the error ` * Starting ... config: [Errno 2] No such file or...
Read more >
[SUPPORT] blakeblackshear - Frigate - Page 17
Im really struggling with maintaining a clean config.yml for this. Is anyone aware of a script or application that will generate a basic ......
Read more >
Local realtime person detection for RTSP cameras
... FileNotFoundError: [Errno 2] No such file or directory: '/config/config.yml'. New to doctors so some help would be appreciated thank you.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found