Slow Bootup

So for context, have been running Home Assistant over 2 years in Debian Supervised, but run out of space on my hypervisor.

Had to delete snapshots of the VM to get Home Assistant to recover, took a backup, and decided to reinstall using HAOS.

Now after the backup restore, I’ve noticed that the bootup is quite a bit slower than before.

Timeline Events:

2025-01-02 10:21:26.279 INFO (MainThread) [main] Initializing Supervisor setup

2025-01-02 12:21:26.345 INFO (MainThread) [main] Setting up Supervisor

2025-01-02 12:21:27.585 INFO (MainThread) [supervisor.os.manager] Detect Home Assistant Operating System 14.1 / BootSlot A

2025-01-02 12:21:28.347 INFO (MainThread) [main] Running Supervisor

2025-01-02 12:21:28.362 INFO (MainThread) [supervisor.addons.manager] Phase ‘initialize’ starting 0 add-ons

2025-01-02 12:21:28.363 INFO (MainThread) [supervisor.addons.manager] Phase ‘system’ starting 1 add-ons

2025-01-02 12:21:33.562 INFO (MainThread) [supervisor.addons.manager] Phase ‘services’ starting 4 add-ons

Up to this point, things are pretty fast (7 seconds)

2025-01-02 12:22:03.773 INFO (MainThread) [supervisor.core] Start Home Assistant Core

2025-01-02 12:27:34.310 INFO (MainThread) [supervisor.addons.manager] Phase ‘application’ starting 5 add-ons

But from starting core & application - 5 minutes


Is this all normal behaviour? Full supervisor log > Home Assistant Log - Pastebin.com

Go to settings → system → repairs, 3 dot menu on the top right, select integration start times. You should be able to see the start times for the individual core entries.

1 Like

None of the items there add up to 5 minutes.

The issue is more related to home assistant core, as Node-Red container is only started after the core becomes “running” if I look at the supervisor logs

Here is a timeline of the events in your Home Assistant log file:

### January 2, 2025

- **10:21:25**
  - Local supervisor watchdog started.
  - Legacy services successfully initialized.

- **10:21:26**
  - Supervisor setup began initialization.
  - `supervisor.bootstrap`: Core system setup for machine `qemux86-64`.

- **12:21:26**
  - Supervisor docker attached to version `2024.12.0`.
  - System evaluation started and completed.
  - API started on `172.30.32.2`.
  - Hardware monitor initialized.
  - Connected to system D-Bus and various dbus interfaces were loaded.
  - Service and PulseAudio information updated (PulseAudio server connection failed).
  - Network, AppArmor, and Docker events monitor initialized.
  - Plugins and CoreDNS started.
  - Audio, Multicast, and other system plugins attached to Docker.

- **12:21:27**
  - Home Assistant secrets and add-on repositories loaded.
  - 11 installed add-ons detected.
  - Backup files (4) and ingress sessions (22) loaded.

- **12:21:28**
  - System checks started and completed.
  - Supervisor system transitioned to the `setup` state.
  - Docker add-on for MQTT started (version `6.4.1`).

- **12:22:03**
  - Home Assistant Core started and waiting for readiness.

- **12:27:19**
  - Home Assistant Core state transitioned to `STARTING`.

- **12:27:34**
  - Home Assistant Core state transitioned to `RUNNING`.
  - Application phase initiated for starting add-ons.
  - Add-ons for Google Drive Backup, Cloudflared, Node-RED, Configurator, and MQTT Explorer started.

- **12:28:05**
  - Supervisor system transitioned to `running` state.
  - System checks and evaluations completed.
  - Network, sound, and host information updated.

Probably. You aren’t counting the time to start your OS and VM. In a VM much of your complete system are already running when you started timing your Home Assistant boot.

OTOH- Why does this matter? HAOS is a server and expected to be always-on. I haven’t rebooted my host computer (an Intel NUC i3) in years.

Fair point, but surely a lightweight service like Home Assistant shouldn’t take 5+ minutes to be ready for use?

I’m merely just curious, as my previous supervised installation was lightning fast to boot

So I reverted to downgrading the HA OS to version 13 as a test and now things boot super fast.

2025-01-02 21:13:41.919 INFO (MainThread) [main] Initializing Supervisor setup

2025-01-02 21:14:10.029 INFO (MainThread) [supervisor.homeassistant.core] Home Assistant Core state changed to APIState(core_state=‘RUNNING’, offline_db_migration=False)

2025-01-02 21:14:40.685 INFO (MainThread) [supervisor.core] Supervisor is up and running

So 1 minute vs previous 5+ minutes