#frigate not removing recordings
1 messages · Page 1 of 1 (latest)
you are telling Frigate to keep segments of recordings with alerts or detections for 30 days
It is keeping everything even those without alerts or detections
Yes, I want alerts and detections to remain for 30 days, but 24/7 recording without any events to be deleted after 7 days
Are you sure that is the case? What are you seeing that shows that? Would be good to have an example
yeah but that is within 7 days ago
remember that the file system is in UTC
show two weeks ago, that will be a more clear test on what is actually beeing seen
Unfortunately I just cleaned up as I was running out of disk space again, so that included everything including 5/25/2025. So I guess i'll have to wait until tomorrow
Of course, now it is working, but I clearly had to delete 2 weeks worth of data on 6/1/2025. I'll monitor and ping here when I see it again.
@stable moat this is what I see that suggests it is not cleaning up. all directories for every day are nearly the same size. There are very few events per day.
Are they still in the database?
How do I check that? I haven't restarted frigate at all since the start of this conversation
could download and save /api/{camera}/recordings/summary and post that here so we can see
can you confirm that url? my camera name is front_porch
sorry, updated
you'll need to put in a pastebin and share
looks like those days are in the API though
which means Frigate knows about them, and they are being retained for a reason
what version of Frigate are you running by the way?
System
0.15.0-6cb5cfb
You could try enabling debug logs for frigate.record.cleanup
I did, does this process run at a specific time, I don't see anything in there yet