Upgrade Failure - 2024.10.4 OOM, Rollback

Hi all,

Running into an issue where I cannot update HA past 10.4, core boots then Supervisor decides that it is no longer running and terminates & rolls back. Having issues finding logging that will actually help. Running HAOS on Hyper-V, latest 14.0 with 5gb of ram allocated.

I have tried:

  • Upgrading manually to every version of 2024.11 and 2024.12
  • Entirely remade the VM - downloaded HAOS vhdx, and restored from a full backup
  • Disabled numerous add-ons and integrations, then upgraded to no avail
  • Repair of supervisor, restart and reboot

I’ve exhausted my know-how for this, was hoping someone could help troubleshoot!

I have added to my configuration.yaml:

homeassistant:
  debug: true

home-assistant.log.fault is empty, and there don’t seem to be any relevant logs in the core.

When updating from CLI:
Out of memory: Killed process 28845 (python3) total-vm:10318920kB, anon-rss 3776684kB, file-rss:128kB, shmem-rss:0kB, UID:0 pgtables:11184kB oom_score_adj:-300

Supervisor log:

2024-12-18 13:40:12.409 ERROR (MainThread) [supervisor.homeassistant.api] Error on call http://172.30.32.1:8123/api/core/state: Cannot connect to host 172.30.32.1:8123 ssl:False [Connect call failed ('172.30.32.1', 8123)]
2024-12-18 13:40:17.414 ERROR (MainThread) [supervisor.homeassistant.core] Home Assistant has crashed!
2024-12-18 13:40:17.415 CRITICAL (MainThread) [supervisor.homeassistant.core] HomeAssistant update failed -> rollback!

Supervisor log:

1 Like

Following up - after trial and error, found out the Lidarr integration caused this.

1 Like

Did you disable Lidarr then perform the upgrade? I have the same issue. Wish there was better logging or error trapping so a failed integration doesn’t take the UI down with no error.

Agreed!

I opted to entirely remove the integration. I then added it back to see what would happen - crashed my HA instance entirely. Going to try to scrape together some debug logging and make a bug report.

Experienced same when testing the Lidarr integration as well.