#frigate not removing recordings

1 messages · Page 1 of 1 (latest)

stable compass
#

I have frigate set to record for 7 days, but often I find my disk running out of space, and sure enough, it has 20+ days of recordings.

I have the following set in my config


record:
  enabled: true
  retain:
    days: 7
  sync_recordings: false

  alerts:
    retain:
      days: 30
  detections:
    retain:
      days: 30
stable moat
stable compass
#

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

stable moat
#

Are you sure that is the case? What are you seeing that shows that? Would be good to have an example

stable compass
#

that is the 06 hour just for driveway. only 10 events all day for that camera

stable moat
#

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

stable compass
#

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

stable compass
#

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 compass
#

@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.

stable moat
#

Are they still in the database?

stable compass
#

How do I check that? I haven't restarted frigate at all since the start of this conversation

stable moat
#

could download and save /api/{camera}/recordings/summary and post that here so we can see

stable compass
#

can you confirm that url? my camera name is front_porch

stable moat
#

sorry, updated

stable compass
stable moat
#

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?

stable compass
#

System
0.15.0-6cb5cfb

stable moat
#

You could try enabling debug logs for frigate.record.cleanup

stable compass
#

I did, does this process run at a specific time, I don't see anything in there yet