Home Assistant wont start - (MainThread) [homeassistant.bootstrap] Waiting on integrations to complete setup: recorder

I keep getting this error and won’t load.

Nothing has changed other than I re-booted.

Looks like your database is corrupt. Delete /config/home-assistant_v2.db and restart. You will lose your history data. If that bothers you, search the forum for how to repair the database instead.


Thanks Tom.
When you say my history, will my integrations still be available?

Looks like the DB created some weird extensions?

No you won’t lose anything except your past history data. i.e. The data used to draw graphs and fill your logbook with times that states changed, automations ran etc…

Delete the files with the extra extensions first. That might solve your problem. They should only appear temporarily when the database is being written to. I doubt this will work but it’s worth a shot.

1 Like

sensor/integration history is lost, no integrations/configurations…

1 Like

Thanks all.
I’m not too concerned about the history.

Moved those three files to a backup & booted HA … all back to normal (so far so good)

BIG lesson learned, always create a backup.

1 Like

In my case, this same worked out, thank you very much.
This error caused a startup time close to 10 minutes.
From recollection, it should have been caused by a sudden power drop.

1 Like