[Config Support]: Frigate not deleting files beyond older than the retention periods configured. #15185
Unanswered
HomeAssistbs
asked this question in
Config Support
Replies: 1 comment 4 replies
-
how old are the files that you expect to see deleted? |
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 am not computer expert and apologies if this post is excessively wordy in terms of explaining my problem.
I have four cameras configures in Frigate v0.14.1 as a HACS HA add-on and everything works fine in the Frigate UI.
However, Frigate does not delete files any of the recording, preview or snapshots which it saves in the various folders and sub-folders in the path /usr/share/hassio/media/frigate and therefore they just build up and have to be deleted manually.
Another issue that may be relevant is that if I go the Frigate tab of the HA media browser I see:
Clips [ccab4aaf-frigate:5000]
Recordings [ccab4aaf-frigate:5000]
Snapshots [ccab4aaf-frigate:5000]
The contents of these do appear to be managed in cocordance with the retention configuration but the contents appear to be misconfigured:
Clips [ccab4aaf-frigate:5000] contains cropped bounded snapshots and when I click on one it opens a vieo player but nothing plays or is displayed
Recordings [ccab4aaf-frigate:5000] contains what appear to be one hour recording arranged by hour for each camera. I when I click on these a video player is opened but nothing plays
Snapshots [ccab4aaf-frigate:5000] contains the same cropped bounded snapshot as Clips [ccab4aaf-frigate:5000] but when I click on these it does display the image.
I can’t believe this is how the system should work and I don’t have the expertise to understand or fix it. I have a hypothesis that the actual files may be being recorded to the wrong location so that the deletion process does not find files to delete but does delete the contents of whatever ccab4aaf-frigate:5000 is. This might also explain why it does not create the correct files for ccab4aaf-frigate:5000 in the first place.
I have spent a long time trying to figure out what is going wrong and have repeatedly deleted and reinstalled the add-on an both a live and test environment with the same results. I am unable to find anything relevant in the varioys logs.
Any help would be greatly appreciated.
Version
v0.14.1 f4f3cfa
Frigate config file
Relevant Frigate log output
Relevant go2rtc log output
Frigate stats
No response
Operating system
Debian
Install method
HassOS Addon
docker-compose file or Docker CLI command
I don't think this is relevant to my configuration
Object Detector
Coral
Screenshots of the Frigate UI's System metrics pages
Any other information that may be helpful
No response
Beta Was this translation helpful? Give feedback.
All reactions