core: ZHA integration not loading after 2023.3.0b2 upgrade

The problem

After upgrading from 2023.3.0b1 to 2023.3.0b2 there is a constant message of “Home Assistant is starting, not everything will be available until it is finished.” on UI, which possibly preventing ZHA integration to load. I’ve left it about 3h thinking it is an on-going db migration job or something but the message is still there.

What version of Home Assistant Core has the issue?

2023.3.0b2

What was the last working version of Home Assistant Core?

2023.3.0b1

What type of installation are you running?

Home Assistant OS

Integration causing the issue

ZHA, sqlite3

Link to integration documentation on our website

No response

Diagnostics information

No response

Example YAML snippet

No response

Anything in the logs that might be useful for us?

Logger: homeassistant.components.recorder.util
Source: components/recorder/util.py:232
Integration: Recorder (documentation, issues)
First occurred: 11:07:38 am (1 occurrences)
Last logged: 11:07:38 am

The system could not validate that the sqlite3 database at //config/home-assistant_v2.db was shutdown cleanly

Additional information

Is there a way to find which task is taken so long or have been stuck ? The other logs seem clear ( Supervisor, Host ). If it is a database issue is there a way to repair it, because I cannot find any command through Terminal or on VM Box window.

Also, if I try to add a new ZHA integration, the pop-up modal get stuck at “Please wait, starting configuration wizard for Zigbee Home Automation”.

About this issue

  • Original URL
  • State: closed
  • Created a year ago
  • Comments: 25 (2 by maintainers)

Most upvoted comments

I disabled ZHA, waited for around 30min. till it really showed being disabled. Restarted my HA machine, and the update showed up and I immediately pressed install. That worked for me