Updating Home Assistant Core - Stuck on Loading Data

Solved: Home Assistant VM Stuck at “Loading data…” Screen :clap:

A few days ago, I encountered an issue where my Home Assistant instance, running inside a virtual machine, got stuck on the “Loading data…” screen after startup. It wouldn’t proceed to the dashboard.

I followed a troubleshooting suggestion from salok08228 and successfully resolved the problem. Here’s the process I took:

  1. Booted the virtual machine using an Ubuntu live image, and entered the LiveCD environment.
  2. Located the configuration file at:
    /homeassistant/configuration.yaml
  3. Opened the file using a text editor (nano or vim) and commented out all the recorder related configurations (by adding # at the beginning of those lines).
  4. Saved the changes, shut down the Ubuntu live session, and restarted the Home Assistant virtual machine.
  5. The system booted up successfully and the frontend loaded normally!

Possible Cause:
It seems that the recorder integration was encountering an issue while accessing the database, causing the frontend to hang on the “Loading data…” state.

Takeaway:
If you run into a similar problem where Home Assistant gets stuck at “Loading data…”, it’s a good idea to check your configuration.yaml, especially the sections related to recorder, history, and logbook, as these components rely on database access.

Many thanks to salok08228 for sharing the solution!

5 Likes