Home Assistant on my Raspberry Pi went down hard when my dog pulled its plug.
After it rebooted, I get this error. I tried deleting the .db file in the /config folder, but even after rebooting multiple times, I still get this error and the .db file has not been rebuilt.
Any ideas? Thanks
Your mariadb is corrupt. Remove the add-on (save your config) and re-install it. The .db file in the /config folder is the sqlite database, you are not using it anymore since you switched to mariadb.
mariadb was running, but I restarted it anyway and verified it was running, then restarted HA. Still same error.
I will try deleted the mariadb addon and reinstalling it.
Restarted Home Assistant and was able to install MariaDB.
However, I’ve tried twice now to restore just the MariaDB Snapshot from a recent Snapshot and nothing changes on the MariaDB Configuration tab - its still shows the defaults
Can you explain why that rarely works? In what cases does and does it not work? Just genuinely curious. What if OP had restored the entire snapshot they had?