[Support]: Deleting x% of recordings DB entries, could be due to configuration error. Aborting... #19713
Replies: 2 comments 2 replies
-
This is just because you have |
Beta Was this translation helpful? Give feedback.
-
When you set If you want to clear out all orphaned or corrupted entries without deleting your entire database, the documentation states: There is no documented way to "force" the sync to continue when it aborts due to a high percentage of missing files. The only documented recovery for a severely inconsistent state is to stop Frigate, delete the If you want to avoid deleting your database, you could try resolving any configuration errors, ensuring your media directory is intact, and then running the sync again. However, if the mismatch is due to mass file loss or corruption, the only supported cleanup is a full database reset(1). 📚 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.
-
Describe the problem you are having
I've been through a lot of trouble with my 6tb surveillance drive. I've finally got the drive sorted but don't want to delete my frigate db and format the drive if possible. I wanted to clear up any orphaned files or corrupted files after optimising my retention settings. It looks like there's a lot of mess left over. I changed the frigate config temporarily to
record:
sync_recordings: true
and restarted, but am getting:
2025-08-22 21:13:48 Tag frigate.record.util Message Deleting 445435 recording DB entries with missing files
2025-08-22 21:13:48 Tag frigate.record.util Message Deleting 0.979503% of recordings DB entries, could be due to configuration error. Aborting...
Is there a way to force this through? Or otherwise sort this without having to nuke everything and start over?
Thanks
Version
0.16.0-c2f8de9
What browser(s) are you using?
No response
Frigate config file
N/A
Relevant Frigate log output
Relevant go2rtc log output
FFprobe output from your camera
Frigate stats
No response
Install method
Docker Compose
docker-compose file or Docker CLI command
N/A
Object Detector
Coral
Network connection
Wired
Camera make and model
N/A
Screenshots of the Frigate UI's System metrics pages
No response
Any other information that may be helpful
No response
Beta Was this translation helpful? Give feedback.
All reactions