I switched over to HassOS yesterday and everything seems to have migrated nicely. However, today I noticed I have no Logbook or History.
The logs showed a lot of errors like: Error executing query: (sqlite3.DatabaseError) database disk image is malformed
After a little searching I found an older thread that suggested deleting Home-Assistant_V2.db to fix the issue. I tried this (just renamed the DB file). A new one was created, but now I have errors like: Error executing query: (sqlite3.OperationalError) no such table: states
Anyone else with a similar issue or any ideas on how to fix it?
UPDATE:
I deleted both the renamed and newly created Home-Assistant_V2.db then rebooted and that seems to have fixed the issue.