Home Assistant VM: Stuck at HASSIO login screen: "HUSBZB-1 USB" not working?

2021-01-15 15:00:10 ERROR (Recorder) [homeassistant.components.recorder] Error executing query: (sqlite3.DatabaseError) database disk image is malformed

This was a great tip. It turns out the home assistant database was corrupted. I just renamed “home-assistant_v2.db” via sFTP and restarted my VM. Everything came right up.

In the past, when my database file was corrupted, I was still able to access the log file via samba share (to confirm that the database was corrupted). Since this time I couldn’t get to the log file via Samba share, I incorrectly assumed that HA wasn’t starting up. Your tip was when I realized Home Assistant WAS starting up; just not the samba addon.

BTW @finity: I’m still enjoying the automation you helped me with a while back. You’re a great asset to this community. Thanks again for all your help!

2 Likes