Repository navigation
Old recordings not purged. #113
Fregata version0.18.2.0 macOS version and chipMacOS 27.0.1 Mac mini M4 Pro Diagnostic bundle IDFDB-ZHQPZRH0NSN9JMFK2Z7M What are you trying to do?Not sure if this is an issue with fregata for frigate. I have set the recordings to only last for three days, however, I noticed that old files remain until it fills my NAS. They continue to accumulate and old recordings are never purged. What have you tried?I have tried to set this up both in the new gui and within the configuration.yaml Relevant logs (only if you couldn't attach a diagnostic bundle)See diagnostic bundleCamera setup (if relevant)Cameras work fine, recordings are saved to a NAS but never deleted as expected. |
Replies: 7 comments 6 replies
|
Hi @steveof2620 We found this issue. The hourly cleanup will delete at most 100,000 files, if we ask it to do more than that, it crashes. It looks like you recently dropped your storage retention settings from a higher number of days to a lower number, which caused Frigate to try and delete more than 100k files on the next hourly run, so it's just crashing every hour and not cleaning up anything. This build should clean everything up a few minutes after you start it (it might take a bit to delete that many files) and prevent the issue in the future. If you can confirm it works, we'll include this fix in the next release. https://releases.fregata.app/beta/Fregata-BETA-file-cleanup-fix-bfa5b6520.dmg |
|
Thank you for that. I purged the old files manually yesterday. I have installed the version you sent me and will keep an eye on it. Thanks so much for your rapid response. |
|
Thanks again for responding. Generated a new bundle just now => FDB-C3P83RBSK64ZAM9G850D
Also attached, FYI, is the screenshot I posted yesterday.
Thanks for you help with this.
Cheers,
Steve of Queanbeyan

… On 28 Oct 2026, at 00:12, nulledy ***@***.***> wrote:
The screenshot isn't loading for me, but if you shoot over another diagnostic bundle we should be able to see exactly what's going on.
—
Reply to this email directly, view it on GitHub <#113?email_source=notifications&email_token=ALEABO2MAUXDAOMR26ZBZYT5WCNNHA5CNFSNUABIM5UWIORPF5TWS5BNNB2WEL2ENFZWG5LTONUW63SDN5WW2ZLOOQXTCOJSGE3TINJSUZZGKYLTN5XKO3LFNZ2GS33OUVSXMZLOOSWGM33PORSXEX3DNRUWG2Y#discussioncomment-19217452>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/ALEABO3C6WZVE46OV6777W35WCNNHAVCNFSNUABJKJSXA33TNF2G64TZHMYTEMRQGMYDEMBSGA5UI2LTMN2XG43JN5XDWMJRGEYDSMZSGSQXMAQ>.
Triage notifications, keep track of coding agent tasks and review pull requests on the go with GitHub Mobile for iOS <https://github.com/notifications/mobile/ios/ALEABO4OGRVA3KEXPLSTZP35WCNNHA5CNFSNUABIM5UWIORPF5TWS5BNNB2WEL2ENFZWG5LTONUW63SDN5WW2ZLOOQXTCOJSGE3TINJSUZZGKYLTN5XKO3LFNZ2GS33OUVSXMZLOOSVGM33PORSXEX3JN5ZQ> and Android <https://github.com/notifications/mobile/android/ALEABO2JJQXHK6IUILDXA2L5WCNNHA5CNFSNUABIM5UWIORPF5TWS5BNNB2WEL2ENFZWG5LTONUW63SDN5WW2ZLOOQXTCOJSGE3TINJSUZZGKYLTN5XKO3LFNZ2GS33OUVSXMZLOOSXGM33PORSXEX3BNZSHE33JMQ>. Download it today!
You are receiving this because you were mentioned.
|
|
Glad you found what was blocking the cleanup. Did you first notice it in Fregata, or was the NAS warning the first sign that those old clips were still there? |
|
The NAS was filling up regularly, I found that frigate clips were the culprit.
Thanks,
s
… On 24 Nov 2026, at 09:59, viss2423 ***@***.***> wrote:
Glad you found what was blocking the cleanup. Did you first notice it in Fregata, or was the NAS warning the first sign that those old clips were still there?
—
Reply to this email directly, view it on GitHub <#113?email_source=notifications&email_token=ALEABO6EN5PR6WA3222AK2T52S6MVA5CNFSNUABIM5UWIORPF5TWS5BNNB2WEL2ENFZWG5LTONUW63SDN5WW2ZLOOQXTCOJYGQZDMMBUUZZGKYLTN5XKO3LFNZ2GS33OUVSXMZLOOSWGM33PORSXEX3DNRUWG2Y#discussioncomment-19842604>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/ALEABO3FGNWCGUPT72GWIED52S6MVAVCNFSNUABJKJSXA33TNF2G64TZHMYTEMRQGMYDEMBSGA5UI2LTMN2XG43JN5XDWMJRGEYDSMZSGSQXMAQ>.
Triage notifications, keep track of coding agent tasks and review pull requests on the go with GitHub Mobile for iOS <https://github.com/notifications/mobile/ios/ALEABOY43ENS2PQ57ZW6LQL52S6MVA5CNFSNUABIM5UWIORPF5TWS5BNNB2WEL2ENFZWG5LTONUW63SDN5WW2ZLOOQXTCOJYGQZDMMBUUZZGKYLTN5XKO3LFNZ2GS33OUVSXMZLOOSVGM33PORSXEX3JN5ZQ> and Android <https://github.com/notifications/mobile/android/ALEABO77EWSBGNI5KLRDTID52S6MVA5CNFSNUABIM5UWIORPF5TWS5BNNB2WEL2ENFZWG5LTONUW63SDN5WW2ZLOOQXTCOJYGQZDMMBUUZZGKYLTN5XKO3LFNZ2GS33OUVSXMZLOOSXGM33PORSXEX3BNZSHE33JMQ>. Download it today!
You are receiving this because you were mentioned.
|
|
Probably not, I just saw the disk space warning and went looking. The time stamps in the file system made it pretty obvious.
Thanks,
s
… On 24 Nov 2026, at 20:55, viss2423 ***@***.***> wrote:
Thanks, Steve. Would seeing the date of the oldest clip in Fregata have helped you spot that the cleanup had stopped?
—
Reply to this email directly, view it on GitHub <#113?email_source=notifications&email_token=ALEABO6QCQLDT7BIP7NWOML52VLIZA5CNFSNUABIM5UWIORPF5TWS5BNNB2WEL2ENFZWG5LTONUW63SDN5WW2ZLOOQXTCOJYGU2DCNJSUZZGKYLTN5XKO3LFNZ2GS33OUVSXMZLOOSWGM33PORSXEX3DNRUWG2Y#discussioncomment-19854152>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/ALEABO6SQTEVDAR7ZSLJXD352VLIZAVCNFSNUABJKJSXA33TNF2G64TZHMYTEMRQGMYDEMBSGA5UI2LTMN2XG43JN5XDWMJRGEYDSMZSGSQXMAQ>.
Triage notifications, keep track of coding agent tasks and review pull requests on the go with GitHub Mobile for iOS <https://github.com/notifications/mobile/ios/ALEABO74N4KUCGWATTNEB5T52VLIZA5CNFSNUABIM5UWIORPF5TWS5BNNB2WEL2ENFZWG5LTONUW63SDN5WW2ZLOOQXTCOJYGU2DCNJSUZZGKYLTN5XKO3LFNZ2GS33OUVSXMZLOOSVGM33PORSXEX3JN5ZQ> and Android <https://github.com/notifications/mobile/android/ALEABO4NFNDLFPTW43UFJ7T52VLIZA5CNFSNUABIM5UWIORPF5TWS5BNNB2WEL2ENFZWG5LTONUW63SDN5WW2ZLOOQXTCOJYGU2DCNJSUZZGKYLTN5XKO3LFNZ2GS33OUVSXMZLOOSXGM33PORSXEX3BNZSHE33JMQ>. Download it today!
You are receiving this because you were mentioned.
|
So here's what we see in your bundle:
Your config: continuous recording on for 1 day, motion recording for 3 days, and alert & detection recording for 5 days.
From what we see in the bundle logs, this appears to be honored and the original issue is fixed (your first bundle showed 949,241 recordings saved, this one shows 106,229 and there are no more failures in your logs since loading this build). However the bundle does not contain any of your recordings or a list of your files, only the counts, so we can't be completely sure.
Are you seeing recording files retained past 5 days + an hour or two? We want to make sure we get this right, so let us know if something seems off.
The screenshot…