[Bug]: 'sync recording' not removing alerts or exports #11750
-
Describe the problem you are havingWhen applying the 'sync recording' option, frigate does not clean up exports which no longer exist, or alerts which are in recordings which no longer exist. Steps to reproduceRestart frigate docker image with a new folder location for /media/frigate . Add 'sync recording' option to the config and restart Frigate. Observe in the logs that frigate has cleaned the database. Open the 'Review' pane and look at the Alerts still there to broken files. Open the 'export' pane and look at exports still there to broken files. Version0.14.0-b97e274 Frigate config fileProbably not relevant but can provide if needed Relevant log outputInfo
2024-06-04 20:24:28
startup
Preparing Frigate...
Info
2024-06-04 20:24:28
startup
Starting Frigate...
Info
2024-06-04 20:24:29
frigate.app
Starting Frigate (0.14.0-b97e274)
Info
2024-06-04 20:24:29
frigate.util.config
Checking if frigate config needs migration...
Info
2024-06-04 20:24:29
frigate.util.config
frigate config does not need migration...
Info
2024-06-04 20:24:29
peewee_migrate.logs
Starting migrations
Info
2024-06-04 20:24:29
peewee_migrate.logs
There is nothing to migrate
Info
2024-06-04 20:24:29
frigate.app
Recording process started: 874
Info
2024-06-04 20:24:29
frigate.app
Recording process started: 883
Info
2024-06-04 20:24:29
frigate.app
go2rtc process pid: 91
Info
2024-06-04 20:24:29
detector.cpu1
Starting detection process: 903
Warning
2024-06-04 20:24:29
frigate.detectors
CPU detectors are not recommended and should only be used for testing or for trial purposes.
Info
2024-06-04 20:24:29
frigate.app
Output process started: 905
Info
2024-06-04 20:24:29
frigate.app
Camera processor started for driveway_front: 920
Info
2024-06-04 20:24:29
frigate.app
Camera processor started for driveway_back: 923
Info
2024-06-04 20:24:29
frigate.app
Camera processor started for front_left: 931
Info
2024-06-04 20:24:29
frigate.app
Camera processor started for front_right: 939
Info
2024-06-04 20:24:29
frigate.app
Camera processor started for back_garden: 947
Info
2024-06-04 20:24:29
frigate.app
Camera processor started for doorbell: 960
Info
2024-06-04 20:24:29
frigate.app
Capture process started for driveway_front: 961
Info
2024-06-04 20:24:29
frigate.app
Capture process started for driveway_back: 971
Info
2024-06-04 20:24:29
frigate.app
Capture process started for front_left: 975
Info
2024-06-04 20:24:29
frigate.app
Capture process started for front_right: 981
Info
2024-06-04 20:24:30
frigate.app
Capture process started for back_garden: 988
Info
2024-06-04 20:24:30
frigate.app
Capture process started for doorbell: 995
Info
2024-06-04 20:24:46
frigate.record.util
Deleting 360146 recording DB entries with missing files Operating systemUNRAID Install methodDocker CLI Network connectionWired Camera make and modelN/A Any other information that may be helpfulNo response |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
this is not a bug. Sync recordings has nothing to do with exports or review items. Its only purpose is to sync the recordings that are on the disk to the recordings database table |
Beta Was this translation helpful? Give feedback.
this is not a bug. Sync recordings has nothing to do with exports or review items. Its only purpose is to sync the recordings that are on the disk to the recordings database table