Closed awwbaker closed 8 months ago
this happens when 0.13 was previously run and then downgraded or frigate was restarted while it was in the middle of a migration after updating to 0.13
If so, it was unintentional....is there a way to recover...please excuse my ignorance.
if you have a backup to restore from that would be easiest. otherwise, could try manually running sql commands to delete the field or just delete the existing db and recordings and start fresh
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Describe the problem you are having
Frigate had been fine for weeks. Yesterday I was prompted to up date. Failed to restart with error in log file: 2024-02-01 19:20:26.697704083 [2024-02-01 14:20:26] peewee_migrate.logs INFO : add_column ('event', 'score',)
2024-02-01 19:20:26.699379855 duplicate column name: score
2024-02-01 19:20:26.699698105 [2024-02-01 14:20:26] peewee_migrate.logs ERROR : Migration failed: 014_event_updates_for_fp
2024-02-01 19:20:26.699701220 Traceback (most recent call last):
2024-02-01 19:20:26.699706212 File "/usr/local/lib/python3.9/dist-packages/peewee.py", line 3252, in execute_sql
2024-02-01 19:20:26.699708476 cursor.execute(sql, params or ())
2024-02-01 19:20:26.699710353 sqlite3.OperationalError: duplicate column name: score
2024-02-01 19:20:26.699712254
2024-02-01 19:20:26.699713858 During handling of the above exception, another exception occurred: 2024-02-01 19:20:26.699737284
Version
0.13.1
Frigate config file
Relevant log output
FFprobe output from your camera
Frigate stats
No response
Operating system
HassOS
Install method
HassOS Addon
Coral version
USB
Network connection
Wired
Camera make and model
Wyze, Reolink
Any other information that may be helpful
Just updated as prompted is all