[Bug]: Frigate UI config editor reports no access to file, then deletes entire config #13984
-
Checklist
Describe the problem you are havingWhen using the UI's config editor, I am encountering this error upon clicking "Save Only". Then after that, the config.yml file becomes empty. Within a few minutes, the Frigate UI no longer loads a config file in the editor (just the spinning circle). Upon restart, Frigate then reports all kinds of errors about not finding proper config. Luckily I make regular backups of the config, so no harm done on my end. Steps to reproduce
Version0.15.0-35a4460 In which browser(s) are you experiencing the issue with?Latest Chrome Frigate config fileOmitting for the sake of getting this reported docker-compose file or Docker CLI commandfrigate:
container_name: frigate
privileged: true
restart: unless-stopped
image: ghcr.io/blakeblackshear/frigate:35a4460
labels:
- com.centurylinklabs.watchtower.monitor-only=true
shm_size: "1gb"
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
- /dev/dri/card0
#- /dev/dri:/dev/dri
volumes:
- /etc/localtime:/etc/localtime:ro
- ./frigate/config/:/config/
- /mnt/wd3tb/frigate/storage:/media
- type: tmpfs # Optional: 1GB of memory, reduces SSD/SD Card wear
target: /tmp/cache
tmpfs:
size: 1000000000
environment:
- LIBVA_DRIVER_NAME=i965
- PLUS_API_KEY=
ports:
- 8971:8971
- 5000:5000
- 8554:8554
- 1935:1935 # RTMP feeds
- "8555:8555/tcp" # WebRTC over tcp
- "8555:8555/udp" # WebRTC over udp Relevant Frigate log outputNothing unusual appears in the logs Relevant go2rtc log outputSame ^^ Operating systemDebian Install methodDocker Compose Network connectionWired Camera make and modelVarious Screenshots of the Frigate UI's System metrics pagesN/A Any other information that may be helpfulNo response |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
I suppose I should note that nothing has changed with permissions and this began when I pulled 35a4460. |
Beta Was this translation helpful? Give feedback.
-
You should check your config file, it is probably empty. I am putting up a PR to fix this bug now |
Beta Was this translation helpful? Give feedback.
fixed in #13985