Solved: Home Assistant VM Stuck at “Loading data…” Screen 
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:
- Booted the virtual machine using an Ubuntu live image, and entered the LiveCD environment.
- Located the configuration file at:
/homeassistant/configuration.yaml - Opened the file using a text editor (
nanoorvim) and commented out all therecorderrelated configurations (by adding#at the beginning of those lines). - Saved the changes, shut down the Ubuntu live session, and restarted the Home Assistant virtual machine.
- 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!