[Support]: Recordings saved under export duplicate on container restart #19936
Replies: 1 comment
-
|
Based on your Docker Compose configuration, the issue appears to be related to how you're mounting the Frigate configuration directory. Looking at your setup, you're only mounting the config file itself rather than the entire config directory(1). Your current volume mapping: - /media/docker/config.yml:/config/config.yml
- /media/docker/db:/config/dbThis configuration separates the config file from the database directory, which can cause issues with data persistence across container restarts. The recommended approach is to mount the entire config directory as a single volume(1). To fix this issue, modify your Docker Compose file to use: volumes:
- /etc/localtime:/etc/localtime:ro
- /media/docker:/config
- /mnt/WD/storage:/media/frigate
- type: tmpfs
target: /tmp/cache
tmpfs:
size: 1000000000This change ensures that both your configuration file and database are stored in the same mounted directory ( Make sure to place your 📚 Sources: Have another question? Just tag @inkeep. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Checklist
Describe the problem you are having
Every time I restart the Frigate docker container all of the recordings i have in the export page duplicate.
Steps to reproduce
Version
0.16.0-c2f8de9
In which browser(s) are you experiencing the issue with?
No response
Frigate config file
docker-compose file or Docker CLI command
Relevant Frigate log output
Relevant go2rtc log output
Operating system
Proxmox
Install method
Docker Compose
Network connection
Wired
Camera make and model
Axis P3245
Screenshots of the Frigate UI's System metrics pages
Any other information that may be helpful
Beta Was this translation helpful? Give feedback.
All reactions