Cleaning up old tracked objects #20984
-
|
I've got a few older tracked objects in the tracked objects menu, which have no thumbnails or details (e.g. they aren't even clickable). I'm assuming my database and recordings/clips got out of sync somehow. Is there a way to clean these old things up without deleting the entire database? I think deleting the database will fix it, but I will lose my login users and maybe some other things... |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 4 replies
-
|
Based on the available documentation, Frigate provides a To enable this cleanup, add the following to your Frigate configuration(1): record:
sync_recordings: TrueHowever, there's an important limitation: this feature is designed to fix variations in files, not to completely delete all entries in the database(2). If you deleted large amounts of media, the documentation recommends stopping Frigate, deleting the Regarding your concern about losing user logins: user authentication data is stored in the database(4). If you delete the database, you will lose your configured users(3)(4). The database will clean itself up over time if you delete the media files and leave the database intact(4). For your specific situation with unclickable tracked objects that have no thumbnails, enabling ** 📚 Sources:
Have another question? Just tag @inkeep. |
Beta Was this translation helpful? Give feedback.
You should be able to still right click or long-press on the objects in Explore and choose the delete button in the top right corner. If not, you could try making an HTTP API call. If that still doesn't work, you could manually purge them from your database using SQL.