frigate: [Support]: Could not write config file, be sure that Frigate has write permission on the config file.
Describe the problem you are having
Love the new interface/version 12 with direct config editing support. However, I can’t update via Frigate and must use ssh to edit and update the file.
Obviously, I’m missing something. I don’t have a user named Frigate but I’m assuming it has something to do with file permissions?
Version
0.12.0-DA3E197
Frigate config file
mqtt:
host: 192.168.178.82
user: mqtt
password: haosmqtt
ffmpeg:
hwaccel_args: preset-intel-qsv-h264
cameras:
Dining: # <------ Name the camera
ffmpeg:
inputs:
- path: rtsp://frigate:spyb0t@192.168.178.59:554/play1.sdp # <----- Update for your camera
roles:
- detect
- record
detect:
width: 1280 # <---- update for your camera's resolution
height: 720 # <---- update for your camera's resolution
Garage: # <------ Name the camera
ffmpeg:
inputs:
- path: rtsp://frigate:spyb0t@192.168.178.36:554/play1.sdp # <----- Update for your camera
roles:
- detect
- record
detect:
width: 1280 # <---- update for your camera's resolution
height: 720 # <---- update for your camera's resolution
Front-door: # <------ Name the camera
ffmpeg:
inputs:
- path: rtsp://frigate:spyb0t@192.168.178.28:554/play1.sdp # <----- Update for your camera
roles:
- detect
- record
detect:
width: 1280 # <---- update for your camera's resolution
height: 720 # <---- update for your camera's resolution
motion:
mask:
- 0,127,0,352,226,352,242,327,206,83
- 640,352,640,218,506,318,356,352,240,331,227,352
zones:
entry_doors:
coordinates: 293,318,513,302,574,63,285,27
Drive-way: # <------ Name the camera
ffmpeg:
inputs:
- path: rtsp://frigate:spyb0t22!@192.168.178.55:554/h264 # <----- Update for your camera
roles:
- detect
- record
detect:
width: 2560 # <---- update for your camera's resolution
height: 1440 # <---- update for your camera's resolution
motion:
zones:
driveway_area:
coordinates: 469,117,596,360,226,360,224,115
front_entrance:
coordinates: 224,112,463,105,442,0,211,0
Patio: # <------ Name the camera.
ffmpeg:
inputs:
- path: rtsp://frigate:spyb0t22!@192.168.178.74:554/h264 # <----- Update for your camera
roles:
- detect
- record
detect:
width: 2560 # <---- update for your camera's resolution
height: 1440 # <---- update for your camera's resolution
detectors:
coral:
type: edgetpu
device: usb
record:
enabled: True
events:
retain:
default: 10
Relevant log output
None.
FFprobe output from your camera
None
Frigate stats
No response
Operating system
Debian
Install method
Docker Compose
Coral version
USB
Network connection
Wired
Camera make and model
Not a camera issue
Any other information that may be helpful
Running on standalone Ubuntu box.
About this issue
- Original URL
- State: closed
- Created a year ago
- Comments: 16 (1 by maintainers)
You may have missed this from the release notes:
It looks like you guys are running commands inside the pve shell.
Docker-compose
commands should only be executed inside the frigate container itself, this is also mentioned in the guide you had linked also.I suggest you remove everything from the pve node and start fresh, with the steps I have mentioned above.
In your docker-compose.yaml file, remove
:ro
next to config:Save changes, then just restart docker using:
docker compose restart