[Support]: sync_recordings: true doesn't seem to delete missing/old exports from database - What's the easiest solution? #14839
Unanswered
distinctjuggle
asked this question in
General Support
Replies: 1 comment 4 replies
-
sync recordings does not touch exports, only the recording segment files |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Describe the problem you are having
I've manually deleted all of my video exports from my filesystem since I have created a large number of them via the API working on something else. Now, Frigate complains about missing files and won't seem to auto-remove them from the database.
I've got:
set in my config, but it doesn't seem to auto delete the missing exports when running a simple
docker compose restart frigate
.Is this intended, or is this a bug? Does sync_recordings only check recordings against the database and not exports or other files? I would assume it would check all database values against all files.
If my assumption is wrong, then is there an easier way for me to delete everything here besides deleting the entire database? I suppose I could write a program which will auto call the delete export API over all
id
s found from the get exports API, but there really seems like there should be a more elegant built-in Frigate solution.Version
0.15.0 Beta 1
What browser(s) are you using?
Firefox
Frigate config file
Irrelevant
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
Irrelevant
Object Detector
Other
Network connection
Wired
Camera make and model
Irrelevant
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