[Config Support]: Frigate not deleting files beyond older than the retention periods configured. #15185
-
Describe the problem you are havingI am not computer expert and apologies if this post is excessively wordy in terms of explaining my problem. Versionv0.14.1 f4f3cfa Frigate config filedetectors:
coral:
type: edgetpu
device: usb
mqtt:
host: xxxxxxxxx
user: mqttuser
password: home6mqtt
topic_prefix: frigate
client_id: frigate
#media: #ChatGPT
# output: /media
objects:
track:
- person
- dog
- cat
- bird
- mouse
filters:
person: {}
dog:
threshold: 0.3
cat:
threshold: 0.3
mouse: {}
snapshots:
enabled: true
timestamp: true
bounding_box: true
crop: true
retain:
default: 1
objects:
person: 1
mouse: 1
# path: /media/frigate/snapshots
record:
enabled: true
retain:
days: 1
mode: motion
events:
pre_capture: 5 # Seconds to include before the event starts
post_capture: 5 # Seconds to include after the event ends
retain:
default: 1
mode: active_objects
review:
alerts:
labels:
- person
- cat
- dog
- bird
- mouse
cameras:
wnsvw_black:
enabled: true
ffmpeg:
inputs:
- path: rtsp://xxxxxx
roles:
- record
# - detect
- path: rtsp://xxxxxx
roles:
- detect
detect:
enabled: true
height: 720
width: 1280
fps: 5
objects:
track:
- dog
motion:
mask:
- 0.716,0,0.715,0.055,1,0.055,1,0
- 0.004,0.508,0.358,0.499,0.392,0,0.529,0.103,0.641,0.154,0.865,0.235,0.991,0.328,0.996,0.002,0,0.004
zones: {}
wnsvw_white:
enabled: true
ffmpeg:
inputs:
- path: rtsp://xxxxxxxxx
roles:
- record
- path: rtsp://xxxxxxx
roles:
- detect
detect:
enabled: true
height: 720
width: 1280
fps: 5
objects:
track:
- dog
- mouse
motion:
mask: 0.703,0,0.706,0.046,0.981,0.055,0.979,0
zones: {}
wyze_cam:
ffmpeg:
inputs:
- path: rtsp://xxxxxx
roles:
- record
- detect
detect:
enabled: true
height: 1440
width: 2560
fps: 5
record:
enabled: true
motion:
mask:
- 0.769,1,0.769,0.936,1,0.934,1,0.994,0.94,0.997
- 0.829,0.493,0.836,0.596,0.902,0.648,0.961,0.77,1,0.939,0.996,0.004,0.001,0,0,1,0.498,1,0.265,0.97,0.108,0.831,0,0.715,0.223,0.587,0.408,0.505,0.582,0.51,0.615,0.503,0.654,0.508
zones: {}
review: {}
foscam:
enabled: true
ffmpeg:
inputs:
- path: http://xxxxxxx
roles:
- detect
- record
input_args:
- -f
- mjpeg
font.ttf:fontsize=24:fontcolor=white:x=10:y=10:box=1:[email protected]:text='%{localtime} %H:%M:%S'"
record:
enabled: true # Ensures camera-level adherence to global record settings
detect:
enabled: true
height: 480
width: 640
fps: 2
objects:
track:
- dog
- mouse
motion:
mask: 0,0.463,0.308,0.338,0.453,0.316,0.863,0.326,0.995,0.326,0.995,0,0,0
version: 0.14
camera_groups:
playing:
order: 1
icon: LuCamera
cameras:
- wnsvw_black
- wnsvw_white
- wyze_cam
- foscam Relevant Frigate log output2024-11-25 14:07:50.172814406 [INFO] Preparing Frigate...
2024-11-25 14:07:50.187245671 [INFO] Starting Frigate...
2024-11-25 14:07:51.721262278 [2024-11-25 14:07:51] frigate.app INFO : Starting Frigate (0.14.1-f4f3cfa)
2024-11-25 14:07:51.721453879 [2024-11-25 14:07:51] frigate.app INFO : Creating directory: /tmp/cache
2024-11-25 14:07:51.721457251 [2024-11-25 14:07:51] frigate.util.config INFO : Checking if frigate config needs migration...
2024-11-25 14:07:51.753111856 [2024-11-25 14:07:51] frigate.util.config INFO : frigate config does not need migration...
2024-11-25 14:07:51.960283474 [2024-11-25 14:07:51] frigate.util.services INFO : Automatically detected vaapi hwaccel for video decoding
2024-11-25 14:07:52.001646487 [2024-11-25 14:07:52] peewee_migrate.logs INFO : Starting migrations
2024-11-25 14:07:52.002563927 [2024-11-25 14:07:52] peewee_migrate.logs INFO : There is nothing to migrate
2024-11-25 14:07:52.012968893 [2024-11-25 14:07:52] frigate.app INFO : Recording process started: 394
2024-11-25 14:07:52.018794868 [2024-11-25 14:07:52] frigate.app INFO : Recording process started: 400
2024-11-25 14:07:52.022334240 [2024-11-25 14:07:52] frigate.app INFO : go2rtc process pid: 97
2024-11-25 14:07:52.066333988 [2024-11-25 14:07:52] frigate.app INFO : Output process started: 427
2024-11-25 14:07:52.086429616 [2024-11-25 14:07:52] frigate.app INFO : Camera processor started for wnsvw_black: 443
2024-11-25 14:07:52.092702322 [2024-11-25 14:07:52] frigate.app INFO : Camera processor started for wnsvw_white: 444
2024-11-25 14:07:52.099790171 [2024-11-25 14:07:52] frigate.app INFO : Camera processor started for wyze_cam: 449
2024-11-25 14:07:52.109672176 [2024-11-25 14:07:52] frigate.app INFO : Camera processor started for foscam: 454
2024-11-25 14:07:52.116451683 [2024-11-25 14:07:52] frigate.app INFO : Capture process started for wnsvw_black: 457
2024-11-25 14:07:52.123932588 [2024-11-25 14:07:52] frigate.app INFO : Capture process started for wnsvw_white: 463
2024-11-25 14:07:52.131402051 [2024-11-25 14:07:52] frigate.app INFO : Capture process started for wyze_cam: 474
2024-11-25 14:07:52.143344314 [2024-11-25 14:07:52] frigate.app INFO : Capture process started for foscam: 480
2024-11-25 14:07:54.705666076 [2024-11-25 14:07:52] detector.coral INFO : Starting detection process: 423
2024-11-25 14:07:54.710521352 [2024-11-25 14:07:52] frigate.detectors.plugins.edgetpu_tfl INFO : Attempting to load TPU as usb
2024-11-25 14:07:54.710658275 [2024-11-25 14:07:54] frigate.detectors.plugins.edgetpu_tfl INFO : TPU found
2024-11-25 14:07:55.370631348 [2024-11-25 14:07:55] frigate.util.services ERROR : Unable to poll intel GPU stats: Failed to initialize PMU! (Permission denied)
2024-11-25 14:08:06.273425 2024-11-25 14:07:55.370639400 Relevant go2rtc log output2024-11-25 14:07:50.173714129 [INFO] Preparing new go2rtc config...
2024-11-25 14:07:50.212278016 [INFO] Got IP address from supervisor: 192.168.0.61
2024-11-25 14:07:50.246359123 [INFO] Got WebRTC port from supervisor: 8555
2024-11-25 14:07:50.660578976 [INFO] Starting go2rtc...
2024-11-25 14:07:50.812389245 14:07:50.811 INF go2rtc platform=linux/amd64 revision=b2399f3 version=1.9.2
2024-11-25 14:07:50.812395374 14:07:50.811 INF config path=/dev/shm/go2rtc.yaml
2024-11-25 14:07:50.812397301 14:07:50.811 INF [rtsp] listen addr=:8554
2024-11-25 14:07:50.812399254 14:07:50.811 INF [webrtc] listen addr=:8555/tcp
2024-11-25 14:07:50.813098607 14:07:50.813 INF [api] listen addr=:1984
2024-11-25 14:08:00.174046829 [INFO] Starting go2rtc healthcheck service... Frigate statsNo response Operating systemDebian Install methodHassOS Addon docker-compose file or Docker CLI commandI don't think this is relevant to my configuration Object DetectorCoral Screenshots of the Frigate UI's System metrics pagesAny other information that may be helpfulNo response |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 4 replies
-
how old are the files that you expect to see deleted? |
Beta Was this translation helpful? Give feedback.
I have resolved this after long hours prodding around but unfortunately I am not sure how I did it - I think it was a combination of manually purging old files, resetting retention periods and repeatedly uninstalling and reinstalling frigate. Not very satisfying but at least it is working