Schönen guten Abend zusammen,
nach dem ich jetzt etliche Stunden damit verbracht hab Frigate zum laufen zu bekommen, brauche ich so langsam ein bissel hilfe.
Ich habe hier einen Proxmox Server laufen. In diesem Läuft Docker als LXC Container und innerhalb des Containers Läuft Frigate.
Es geht sich dabei dadrum, dass ich eine Fritzbox habe, welche ein Nas Laufwerk bereit stellt. Dieses wird auch vom Host an den LXC weitergeleitet.
Auf dem Dockercontainer habe ich via Portainer zwei volumen, jeweils zum reellen Pfad angebene.
Ich kann auch von der Frigate Konsole in die Verzeichnisse schauen.
In dem ersten Pfad liegt selbstverständlich die config.yml des frigate.
Den Zweiten Pfad will ich nutzen im Videos und Snapshots meiner Cams zu speichern.
Meine Frigate will aber einfach nicht start. Und spukt mir in der Log folgende Fehler aus:
2025/03/24 01:28:59 EOF
2025-03-24 01:28:59.922240242 [INFO] Service NGINX exited with code 1 (by signal 0)
2025-03-24 01:28:59.997036459 [INFO] Preparing new go2rtc config...
Traceback (most recent call last):
File "/usr/local/go2rtc/create_config.py", line 40, in <module>
with open(config_file) as f:
OSError: [Errno 116] Stale file handle: '/config/config.yml'
2025-03-24 01:29:00.383463143 [INFO] The go2rtc service exited with code 1 (by signal 0)
2025-03-24 01:29:00.927923518 [INFO] Starting NGINX...
Traceback (most recent call last):
File "/usr/local/nginx/get_tls_settings.py", line 18, in <module>
with open(config_file) as f:
OSError: [Errno 116] Stale file handle: '/config/config.yml'
2025/03/24 01:29:01 EOF
2025-03-24 01:29:01.048625975 [INFO] Service NGINX exited with code 1 (by signal 0)
2025-03-24 01:29:01.389054693 [INFO] Preparing new go2rtc config...
Traceback (most recent call last):
File "/usr/local/go2rtc/create_config.py", line 40, in <module>
with open(config_file) as f:
OSError: [Errno 116] Stale file handle: '/config/config.yml'
2025-03-24 01:29:01.745365998 [INFO] The go2rtc service exited with code 1 (by signal 0)
2025-03-24 01:29:02.054469426 [INFO] Starting NGINX...
Traceback (most recent call last):
File "/usr/local/nginx/get_tls_settings.py", line 18, in <module>
with open(config_file) as f:
OSError: [Errno 116] Stale file handle: '/config/config.yml'
2025/03/24 01:29:02 EOF
2025-03-24 01:29:02.178426098 [INFO] Service NGINX exited with code 1 (by signal 0)
2025-03-24 01:29:02.751194415 [INFO] Preparing new go2rtc config...
Traceback (most recent call last):
File "/usr/local/go2rtc/create_config.py", line 40, in <module>
with open(config_file) as f:
OSError: [Errno 116] Stale file handle: '/config/config.yml'
2025-03-24 01:29:03.147049663 [INFO] The go2rtc service exited with code 1 (by signal 0)
2025-03-24 01:29:03.184142041 [INFO] Starting NGINX...
Traceback (most recent call last):
File "/usr/local/nginx/get_tls_settings.py", line 18, in <module>
with open(config_file) as f:
OSError: [Errno 116] Stale file handle: '/config/config.yml'
2025/03/24 01:29:03 EOF
2025-03-24 01:29:03.332729127 [INFO] Service NGINX exited with code 1 (by signal 0)
2025-03-24 01:29:04.152612439 [INFO] Preparing new go2rtc config...
2025-03-24 01:29:04.341888130 [INFO] Starting NGINX...
Traceback (most recent call last):
File "/usr/local/nginx/get_tls_settings.py", line 18, in <module>
with open(config_file) as f:
OSError: [Errno 116] Stale file handle: '/config/config.yml'
Traceback (most recent call last):
File "/usr/local/go2rtc/create_config.py", line 40, in <module>
with open(config_file) as f:
OSError: [Errno 116] Stale file handle: '/config/config.yml'
2025/03/24 01:29:04 EOF
2025-03-24 01:29:04.525852373 [INFO] Service NGINX exited with code 1 (by signal 0)
2025-03-24 01:29:04.566159309 [INFO] The go2rtc service exited with code 1 (by signal 0)
Meine Frigate Compose:
version: "3.9"
services:
frigate:
container_name: frigate
privileged: true # this may not be necessary for all setups
restart: unless-stopped
image: ghcr.io/blakeblackshear/frigate:stable
shm_size: "128mb"
devices:
- /dev/bus/usb:/dev/bus/usb # passes the USB Coral, needs to be modified for other versions
- /dev/dri/renderD128 # for intel hwaccel, needs to be updated for your hardware
volumes:
- /etc/localtime:/etc/localtime:ro
- my_config:/config
- my_clips:/media/frigate
- type: tmpfs # Optional: 1GB of memory, reduces SSD/SD Card wear
target: /tmp/cache
tmpfs:
size: 10000000000
ports:
- "1984:1984"
- "5000:5000"
- "8554:8554" # RTSP feeds
- "8555:8555/tcp" # WebRTC over tcp
- "8555:8555/udp" # WebRTC over udp
environment:
FRIGATE_RTSP_PASSWORD: "02006741"
volumes:
my_config:
external: true
my_clips:
external: true
Meine Frigate config.yml:
mqtt:
enabled: false
database:
path: /config/frigate.db
cameras:
Eingang_main:
ffmpeg:
hwaccel_args: preset-vaapi
inputs:
- path: rtsp://benutzername:password@192.168.2.52:554/h264Preview_01_main
roles:
- record
- detect
detect:
enabled: false # <---- disable detection until you have a working camera feed
width: 1280
height: 720
Ich würde mich mega freuen wenn einer von euch mir hierbei helfen würde.