HA Core Upgrades from 2025.2.5 fail

I am on Homeassistant Yellow Hardware and now stuck on HA Core 2025.2.5 because upgrades failed with new versions of HA Core. The rest of the stack is at

  • Supervisor 2025.04.0
  • Operating System 15.2
  • Frontend 20250221.0

My latest try was to update to HA Core 2025.4.3; and it also failed.

Repairs are empty

Supervisor Logs:

2025-04-20 17:59:46.303 INFO (MainThread) [supervisor.homeassistant.core] Updating Home Assistant to version 2025.4.3
2025-04-20 17:59:46.304 INFO (MainThread) [supervisor.docker.interface] Updating image ghcr.io/home-assistant/yellow-homeassistant:2025.2.5 to ghcr.io/home-assistant/yellow-homeassistant:2025.4.3
2025-04-20 17:59:46.304 INFO (MainThread) [supervisor.docker.interface] Downloading docker image ghcr.io/home-assistant/yellow-homeassistant with tag 2025.4.3.
2025-04-20 18:02:41.394 INFO (SyncWorker_2) [supervisor.docker.manager] Stopping homeassistant application
2025-04-20 18:03:21.591 INFO (SyncWorker_2) [supervisor.docker.manager] Cleaning homeassistant application
2025-04-20 18:03:22.188 INFO (MainThread) [supervisor.homeassistant.module] Update pulse/client.config: /data/tmp/homeassistant_pulse
2025-04-20 18:03:22.628 INFO (MainThread) [supervisor.docker.homeassistant] Starting Home Assistant ghcr.io/home-assistant/yellow-homeassistant with version 2025.4.3
2025-04-20 18:03:22.629 INFO (MainThread) [supervisor.homeassistant.core] Wait until Home Assistant is ready
2025-04-20 18:03:40.412 INFO (MainThread) [supervisor.resolution.evaluate] Starting system evaluation with state running
2025-04-20 18:03:40.675 INFO (MainThread) [supervisor.resolution.evaluate] System evaluation complete
2025-04-20 18:03:42.678 INFO (MainThread) [supervisor.homeassistant.core] Home Assistant Core state changed to APIState(core_state='NOT_RUNNING', offline_db_migration=False)
2025-04-20 18:03:52.707 ERROR (MainThread) [supervisor.homeassistant.core] Home Assistant has crashed!
2025-04-20 18:03:52.708 CRITICAL (MainThread) [supervisor.homeassistant.core] HomeAssistant update failed -> rollback!
2025-04-20 18:03:52.712 INFO (MainThread) [supervisor.homeassistant.core] A backup of the logfile is stored in /config/home-assistant-rollback.log
2025-04-20 18:03:52.712 INFO (MainThread) [supervisor.homeassistant.core] Updating Home Assistant to version 2025.2.5
2025-04-20 18:03:52.713 INFO (MainThread) [supervisor.docker.interface] Updating image ghcr.io/home-assistant/yellow-homeassistant:2025.4.3 to ghcr.io/home-assistant/yellow-homeassistant:2025.2.5
2025-04-20 18:03:52.713 INFO (MainThread) [supervisor.docker.interface] Downloading docker image ghcr.io/home-assistant/yellow-homeassistant with tag 2025.2.5.
2025-04-20 18:03:53.361 INFO (SyncWorker_0) [supervisor.docker.manager] Cleaning homeassistant application
2025-04-20 18:03:53.529 INFO (MainThread) [supervisor.homeassistant.module] Update pulse/client.config: /data/tmp/homeassistant_pulse
2025-04-20 18:03:53.917 INFO (MainThread) [supervisor.docker.homeassistant] Starting Home Assistant ghcr.io/home-assistant/yellow-homeassistant with version 2025.2.5
2025-04-20 18:03:53.918 INFO (MainThread) [supervisor.homeassistant.core] Wait until Home Assistant is ready
2025-04-20 18:04:11.942 INFO (MainThread) [supervisor.resolution.evaluate] Starting system evaluation with state running
2025-04-20 18:04:12.160 INFO (MainThread) [supervisor.resolution.evaluate] System evaluation complete
2025-04-20 18:04:13.979 INFO (MainThread) [supervisor.homeassistant.core] Home Assistant Core state changed to APIState(core_state='NOT_RUNNING', offline_db_migration=False)
2025-04-20 18:04:55.361 INFO (MainThread) [supervisor.homeassistant.core] Home Assistant Core state changed to APIState(core_state='RUNNING', offline_db_migration=False)
2025-04-20 18:04:55.361 INFO (MainThread) [supervisor.homeassistant.core] Detect a running Home Assistant instance
2025-04-20 18:04:55.362 INFO (MainThread) [supervisor.homeassistant.core] Successfully started Home Assistant 2025.2.5
2025-04-20 18:04:55.442 INFO (SyncWorker_5) [supervisor.docker.manager] Cleanup images: ['ghcr.io/home-assistant/yellow-homeassistant:2025.4.3']

File mentioned in the log:

[home-assistant loader] a one-liner regarding custom integration HACS being detected and to be sure to disable it, when having problems

So I removed all HACS components and uninstalled the HACS-integration, but the log message persists.

How can I further debug this failure? I am a bit lost.

Thanks for any hints
Carsten

Updating after rebooting into secure mode also wasn’t succesful.

installing β€œAdvanced SSH & Web Terminal” and tinkering with ha comandline tools…

  • ha rebuild and installing update via WebFrontend afterwards: failed
  • ha core check and installing update via WebFrontend afterwards: failed
  • ha core update: failed

The logs (ha core logs) showed failures of transactions running while the update started (aioshelly: β€˜Fatal write error on datagram transport’, ipp coordinator; Unexpected error fetching ipp data, Runtime Error: Seesion is closed). I regard these errors not being related to the update failure.

Isn’t there anything else to look at?

Try

ha supervisor repair

Thanks you, @nickrout for the hint.


       β–„β–ˆβ–ˆβ–„           _   _                                    
     β–„β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–„        | | | | ___  _ __ ___   ___               
   β–„β–ˆβ–ˆβ–ˆβ–ˆβ–€β–€β–ˆβ–ˆβ–ˆβ–ˆβ–„      | |_| |/ _ \| '_ ` _ \ / _ \              
 β–„β–ˆβ–ˆβ–ˆβ–ˆβ–ˆ    β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–„    |  _  | (_) | | | | | |  __/              
β–„β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–„  β–„β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–„   |_| |_|\___/|_| |_| |_|\___|          _   
β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ  β–ˆβ–ˆβ–€  β–€β–ˆβ–ˆ      / \   ___ ___(_)___| |_ __ _ _ __ | |_ 
β–ˆβ–ˆβ–ˆβ–€β–€β–ˆβ–ˆβ–ˆ  β–ˆβ–ˆ   β–„β–ˆβ–ˆ     / _ \ / __/ __| / __| __/ _` | '_ \| __|
β–ˆβ–ˆ    β–ˆβ–ˆ  β–€ β–„β–ˆβ–ˆβ–ˆβ–ˆβ–ˆ    / ___ \\__ \__ \ \__ \ || (_| | | | | |_ 
β–ˆβ–ˆβ–ˆβ–„β–„ β–€β–ˆ  β–„β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ   /_/   \_\___/___/_|___/\__\__,_|_| |_|\__|
β–€β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–„   β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–€

Welcome to the Home Assistant command line.

System information
  IPv4 addresses for end0:  192.168.1.201/24
  IPv6 addresses for end0:  2003:f8:[...]:4d1/64, fd00:571c:102e:ffff:f251:e135:b2dd:e0f7/64, fe80::9ae:7402:3b78:9d96/64

  OS Version:               Home Assistant OS 15.2
  Home Assistant Core:      2025.2.5

  Home Assistant URL:       http://homeassistant.local:8123
  Observer URL:             http://homeassistant.local:4357
➜  ~ ha supervisor repair
Processing... Done.

Command completed successfully.
➜  ~ ha core update      
Processing... Done.

➜  ~ ha core restart     
Processing... Done.

Command completed successfully.
➜  ~ 

However, after a reboot I am still at 2025.2.5.

You may have needed to reboot after the supervisor repair.

Okay. Tried this

(1)

➜  ~ ha supervisor repair
Processing... Done.

Command completed successfully.

(2)
Reboot in webGUI β†’ red button

(3)

       β–„β–ˆβ–ˆβ–„           _   _                                    
     β–„β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–„        | | | | ___  _ __ ___   ___               
   β–„β–ˆβ–ˆβ–ˆβ–ˆβ–€β–€β–ˆβ–ˆβ–ˆβ–ˆβ–„      | |_| |/ _ \| '_ ` _ \ / _ \              
 β–„β–ˆβ–ˆβ–ˆβ–ˆβ–ˆ    β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–„    |  _  | (_) | | | | | |  __/              
β–„β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–„  β–„β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–„   |_| |_|\___/|_| |_| |_|\___|          _   
β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ  β–ˆβ–ˆβ–€  β–€β–ˆβ–ˆ      / \   ___ ___(_)___| |_ __ _ _ __ | |_ 
β–ˆβ–ˆβ–ˆβ–€β–€β–ˆβ–ˆβ–ˆ  β–ˆβ–ˆ   β–„β–ˆβ–ˆ     / _ \ / __/ __| / __| __/ _` | '_ \| __|
β–ˆβ–ˆ    β–ˆβ–ˆ  β–€ β–„β–ˆβ–ˆβ–ˆβ–ˆβ–ˆ    / ___ \\__ \__ \ \__ \ || (_| | | | | |_ 
β–ˆβ–ˆβ–ˆβ–„β–„ β–€β–ˆ  β–„β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ   /_/   \_\___/___/_|___/\__\__,_|_| |_|\__|
β–€β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–„   β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–€

Welcome to the Home Assistant command line.

System information
  IPv4 addresses for end0:  192.168.1.201/24
  IPv6 addresses for end0:  2003:f8:[...]/64, fd00:571c:102e:ffff:f251:e135:b2dd:e0f7/64, fe80::9ae:7402:3b78:9d96/64

  OS Version:               Home Assistant OS 15.2
  Home Assistant Core:      2025.2.5

  Home Assistant URL:       http://homeassistant.local:8123
  Observer URL:             http://homeassistant.local:4357
➜  ~ ha core update      
Processing... Done.

Command completed successfully.

[refreshing the WebUI still revealed Version 2025.2.5]

➜  ~ ha core update --log-level debug
DEBU[0000] Adding homedir to searchpath                  homedir=/root
INFO[0000] No configfile found                          
DEBU[0000] Debug flags                                   apiToken=d2[..]50 cfgFile= endpoint=supervisor logLevel=debug noProgress=false rawJSON=false
DEBU[0000] core update                                   args="[]"
DEBU[0000] [GenerateURI]                                 base=supervisor command=update section=core
DEBU[0000] [GenerateURI] Result                          uri="http://supervisor/core/update" url="http://supervisor/core/update" url(string)="http://supervisor/core/update"
β£½ Processing... DEBU[0316] Response                                      body="{\"result\":\"ok\",\"data\":{}}" fields.time=5m16.628023269s headers="map[Content-Length:[25] Content-Type:[application/json; charset=utf-8] Date:[Thu, 24 Apr 2025 08:30:06 GMT] Server:[Python/3.13 aiohttp/3.11.16]]" received-at="2025-04-24 10:30:06.445849327 +0200 CEST m=+316.632403993" request="&{POST http://supervisor/core/update HTTP/1.1 1 1 map[Accept:[application/json] Authorization:[Bearer d2[...]50] User-Agent:[go-resty/2.16.5 (https://github.com/go-resty/resty)]] <nil> <nil> 0 [] false supervisor map[] map[] <nil> map[]   <nil> <nil> <nil>  {{}} <nil> [] map[]}" status="200 OK" statuscode=200
Processing... Done.

Command completed successfully.
➜  ~ ha supervisor logs 
2025-04-24 10:16:15.400 INFO (MainThread) [supervisor.resolution.evaluate] System evaluation complete
2025-04-24 10:16:16.773 INFO (MainThread) [supervisor.homeassistant.api] Updated Home Assistant API token
2025-04-24 10:16:16.807 INFO (MainThread) [supervisor.homeassistant.core] Home Assistant Core state changed to APIState(core_state='NOT_RUNNING', offline_db_migration=False)
2025-04-24 10:16:47.300 INFO (MainThread) [supervisor.homeassistant.core] Home Assistant Core state changed to APIState(core_state='STARTING', offline_db_migration=False)
2025-04-24 10:16:52.361 INFO (MainThread) [supervisor.homeassistant.core] Home Assistant Core state changed to APIState(core_state='RUNNING', offline_db_migration=False)
2025-04-24 10:16:52.361 INFO (MainThread) [supervisor.homeassistant.core] Detect a running Home Assistant instance
2025-04-24 10:16:52.361 INFO (MainThread) [supervisor.addons.manager] Phase 'application' starting 1 add-ons
2025-04-24 10:16:53.005 INFO (MainThread) [supervisor.docker.addon] Starting Docker add-on homeassistant/aarch64-addon-configurator with version 5.8.0
2025-04-24 10:17:17.799 INFO (MainThread) [supervisor.api.middleware.security] /network/info access from a0d7b954_ssh
2025-04-24 10:17:17.806 INFO (MainThread) [supervisor.api.middleware.security] /network/info access from a0d7b954_ssh
2025-04-24 10:17:17.812 INFO (MainThread) [supervisor.api.middleware.security] /host/info access from a0d7b954_ssh
2025-04-24 10:17:17.821 INFO (MainThread) [supervisor.api.middleware.security] /core/info access from a0d7b954_ssh
2025-04-24 10:17:23.256 INFO (MainThread) [supervisor.misc.tasks] All core tasks are scheduled
2025-04-24 10:17:23.257 INFO (MainThread) [supervisor.host.info] Updating local host information
2025-04-24 10:17:23.260 INFO (MainThread) [supervisor.updater] Fetching update data from https://version.home-assistant.io/stable.json
2025-04-24 10:17:23.262 INFO (MainThread) [supervisor.resolution.check] Starting system checks with state running
2025-04-24 10:17:23.263 INFO (MainThread) [supervisor.resolution.checks.base] Run check for multiple_data_disks/system
2025-04-24 10:17:23.263 INFO (MainThread) [supervisor.resolution.checks.base] Run check for no_current_backup/system
2025-04-24 10:17:23.264 INFO (MainThread) [supervisor.resolution.module] Create new suggestion create_full_backup - system / None
2025-04-24 10:17:23.264 INFO (MainThread) [supervisor.resolution.module] Create new issue no_current_backup - system / None
2025-04-24 10:17:23.265 INFO (MainThread) [supervisor.resolution.checks.base] Run check for free_space/system
2025-04-24 10:17:23.273 INFO (MainThread) [supervisor.resolution.checks.base] Run check for docker_config/system
2025-04-24 10:17:23.274 INFO (MainThread) [supervisor.resolution.checks.base] Run check for pwned/addon
2025-04-24 10:17:23.283 INFO (MainThread) [supervisor.core] Supervisor is up and running
2025-04-24 10:17:23.428 INFO (MainThread) [supervisor.resolution.checks.base] Run check for disabled_data_disk/system
2025-04-24 10:17:23.428 INFO (MainThread) [supervisor.resolution.checks.base] Run check for ipv4_connection_problem/system
2025-04-24 10:17:23.429 INFO (MainThread) [supervisor.resolution.checks.base] Run check for trust/supervisor
2025-04-24 10:17:23.452 INFO (MainThread) [supervisor.resolution.checks.base] Run check for dns_server_ipv6_error/dns_server
2025-04-24 10:17:23.485 INFO (MainThread) [supervisor.resolution.checks.base] Run check for dns_server_failed/dns_server
2025-04-24 10:17:23.498 INFO (MainThread) [supervisor.resolution.checks.base] Run check for security/core
2025-04-24 10:17:23.498 INFO (MainThread) [supervisor.resolution.check] System checks complete
2025-04-24 10:17:23.498 INFO (MainThread) [supervisor.resolution.evaluate] Starting system evaluation with state running
2025-04-24 10:17:23.914 INFO (MainThread) [supervisor.resolution.evaluate] System evaluation complete
2025-04-24 10:17:23.915 INFO (MainThread) [supervisor.resolution.fixup] Starting system autofix at state running
2025-04-24 10:17:23.915 INFO (MainThread) [supervisor.resolution.fixup] System autofix complete
2025-04-24 10:17:24.206 INFO (MainThread) [supervisor.host.services] Updating service information
2025-04-24 10:17:24.219 INFO (MainThread) [supervisor.host.network] Updating local network information
2025-04-24 10:17:24.586 INFO (MainThread) [supervisor.host.sound] Updating PulseAudio information
2025-04-24 10:17:24.599 INFO (MainThread) [supervisor.host.manager] Host information reload completed
2025-04-24 10:17:53.694 INFO (MainThread) [supervisor.api.middleware.security] /core/update access from a0d7b954_ssh
2025-04-24 10:17:53.720 INFO (MainThread) [supervisor.homeassistant.core] Updating Home Assistant to version 2025.4.3
2025-04-24 10:17:53.722 INFO (MainThread) [supervisor.docker.interface] Updating image ghcr.io/home-assistant/yellow-homeassistant:2025.2.5 to ghcr.io/home-assistant/yellow-homeassistant:2025.4.3
2025-04-24 10:17:53.722 INFO (MainThread) [supervisor.docker.interface] Downloading docker image ghcr.io/home-assistant/yellow-homeassistant with tag 2025.4.3.
2025-04-24 10:20:49.246 INFO (SyncWorker_1) [supervisor.docker.manager] Stopping homeassistant application
2025-04-24 10:21:29.308 INFO (SyncWorker_1) [supervisor.docker.manager] Cleaning homeassistant application
2025-04-24 10:21:29.906 INFO (MainThread) [supervisor.homeassistant.module] Update pulse/client.config: /data/tmp/homeassistant_pulse
2025-04-24 10:21:30.324 INFO (MainThread) [supervisor.docker.homeassistant] Starting Home Assistant ghcr.io/home-assistant/yellow-homeassistant with version 2025.4.3
2025-04-24 10:21:30.324 INFO (MainThread) [supervisor.homeassistant.core] Wait until Home Assistant is ready
2025-04-24 10:21:48.056 INFO (MainThread) [supervisor.resolution.evaluate] Starting system evaluation with state running
2025-04-24 10:21:48.443 INFO (MainThread) [supervisor.resolution.evaluate] System evaluation complete
2025-04-24 10:21:50.542 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)]
2025-04-24 10:21:55.554 ERROR (MainThread) [supervisor.homeassistant.core] Home Assistant has crashed!
2025-04-24 10:21:55.555 CRITICAL (MainThread) [supervisor.homeassistant.core] HomeAssistant update failed -> rollback!
2025-04-24 10:21:55.555 INFO (MainThread) [supervisor.resolution.module] Create new issue update_rollback - core / None
2025-04-24 10:21:55.559 INFO (MainThread) [supervisor.homeassistant.core] A backup of the logfile is stored in /config/home-assistant-rollback.log
2025-04-24 10:21:55.559 INFO (MainThread) [supervisor.homeassistant.core] Updating Home Assistant to version 2025.2.5
2025-04-24 10:21:55.560 INFO (MainThread) [supervisor.docker.interface] Updating image ghcr.io/home-assistant/yellow-homeassistant:2025.4.3 to ghcr.io/home-assistant/yellow-homeassistant:2025.2.5
2025-04-24 10:21:55.560 INFO (MainThread) [supervisor.docker.interface] Downloading docker image ghcr.io/home-assistant/yellow-homeassistant with tag 2025.2.5.
2025-04-24 10:21:56.225 INFO (SyncWorker_2) [supervisor.docker.manager] Cleaning homeassistant application
2025-04-24 10:21:56.393 INFO (MainThread) [supervisor.homeassistant.module] Update pulse/client.config: /data/tmp/homeassistant_pulse
2025-04-24 10:21:56.790 INFO (MainThread) [supervisor.docker.homeassistant] Starting Home Assistant ghcr.io/home-assistant/yellow-homeassistant with version 2025.2.5
2025-04-24 10:21:56.790 INFO (MainThread) [supervisor.homeassistant.core] Wait until Home Assistant is ready
2025-04-24 10:22:14.713 INFO (MainThread) [supervisor.resolution.evaluate] Starting system evaluation with state running
2025-04-24 10:22:14.923 INFO (MainThread) [supervisor.resolution.evaluate] System evaluation complete
2025-04-24 10:22:16.848 INFO (MainThread) [supervisor.homeassistant.core] Home Assistant Core state changed to APIState(core_state='NOT_RUNNING', offline_db_migration=False)
2025-04-24 10:23:02.341 INFO (MainThread) [supervisor.homeassistant.core] Home Assistant Core state changed to APIState(core_state='RUNNING', offline_db_migration=False)
2025-04-24 10:23:02.341 INFO (MainThread) [supervisor.homeassistant.core] Detect a running Home Assistant instance
2025-04-24 10:23:02.342 INFO (MainThread) [supervisor.homeassistant.core] Successfully started Home Assistant 2025.2.5
2025-04-24 10:23:02.435 INFO (SyncWorker_7) [supervisor.docker.manager] Cleanup images: ['ghcr.io/home-assistant/yellow-homeassistant:2025.4.3']
2025-04-24 10:24:49.820 INFO (MainThread) [supervisor.api.middleware.security] /core/update access from a0d7b954_ssh
2025-04-24 10:24:49.848 INFO (MainThread) [supervisor.homeassistant.core] Updating Home Assistant to version 2025.4.3
2025-04-24 10:24:49.849 INFO (MainThread) [supervisor.docker.interface] Updating image ghcr.io/home-assistant/yellow-homeassistant:2025.2.5 to ghcr.io/home-assistant/yellow-homeassistant:2025.4.3
2025-04-24 10:24:49.849 INFO (MainThread) [supervisor.docker.interface] Downloading docker image ghcr.io/home-assistant/yellow-homeassistant with tag 2025.4.3.
2025-04-24 10:27:44.235 INFO (SyncWorker_3) [supervisor.docker.manager] Stopping homeassistant application
2025-04-24 10:28:24.165 INFO (SyncWorker_3) [supervisor.docker.manager] Cleaning homeassistant application
2025-04-24 10:28:24.626 INFO (MainThread) [supervisor.homeassistant.module] Update pulse/client.config: /data/tmp/homeassistant_pulse
2025-04-24 10:28:25.037 INFO (MainThread) [supervisor.docker.homeassistant] Starting Home Assistant ghcr.io/home-assistant/yellow-homeassistant with version 2025.4.3
2025-04-24 10:28:25.038 INFO (MainThread) [supervisor.homeassistant.core] Wait until Home Assistant is ready
2025-04-24 10:28:42.895 INFO (MainThread) [supervisor.resolution.evaluate] Starting system evaluation with state running
2025-04-24 10:28:43.304 INFO (MainThread) [supervisor.resolution.evaluate] System evaluation complete
2025-04-24 10:28:45.425 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)]
2025-04-24 10:28:50.439 ERROR (MainThread) [supervisor.homeassistant.core] Home Assistant has crashed!
2025-04-24 10:28:50.440 CRITICAL (MainThread) [supervisor.homeassistant.core] HomeAssistant update failed -> rollback!
2025-04-24 10:28:50.443 INFO (MainThread) [supervisor.homeassistant.core] A backup of the logfile is stored in /config/home-assistant-rollback.log
2025-04-24 10:28:50.443 INFO (MainThread) [supervisor.homeassistant.core] Updating Home Assistant to version 2025.2.5
2025-04-24 10:28:50.444 INFO (MainThread) [supervisor.docker.interface] Updating image ghcr.io/home-assistant/yellow-homeassistant:2025.4.3 to ghcr.io/home-assistant/yellow-homeassistant:2025.2.5
2025-04-24 10:28:50.444 INFO (MainThread) [supervisor.docker.interface] Downloading docker image ghcr.io/home-assistant/yellow-homeassistant with tag 2025.2.5.
2025-04-24 10:28:51.158 INFO (SyncWorker_4) [supervisor.docker.manager] Cleaning homeassistant application
2025-04-24 10:28:51.322 INFO (MainThread) [supervisor.homeassistant.module] Update pulse/client.config: /data/tmp/homeassistant_pulse
2025-04-24 10:28:51.710 INFO (MainThread) [supervisor.docker.homeassistant] Starting Home Assistant ghcr.io/home-assistant/yellow-homeassistant with version 2025.2.5
2025-04-24 10:28:51.711 INFO (MainThread) [supervisor.homeassistant.core] Wait until Home Assistant is ready
2025-04-24 10:29:09.722 INFO (MainThread) [supervisor.resolution.evaluate] Starting system evaluation with state running
2025-04-24 10:29:09.937 INFO (MainThread) [supervisor.resolution.evaluate] System evaluation complete
2025-04-24 10:29:11.777 INFO (MainThread) [supervisor.homeassistant.core] Home Assistant Core state changed to APIState(core_state='NOT_RUNNING', offline_db_migration=False)
2025-04-24 10:29:57.143 INFO (MainThread) [supervisor.homeassistant.core] Home Assistant Core state changed to APIState(core_state='RUNNING', offline_db_migration=False)
2025-04-24 10:29:57.143 INFO (MainThread) [supervisor.homeassistant.core] Detect a running Home Assistant instance
2025-04-24 10:29:57.144 INFO (MainThread) [supervisor.homeassistant.core] Successfully started Home Assistant 2025.2.5
2025-04-24 10:29:57.215 INFO (SyncWorker_0) [supervisor.docker.manager] Cleanup images: ['ghcr.io/home-assistant/yellow-homeassistant:2025.4.3']
2025-04-24 10:46:34.673 INFO (MainThread) [supervisor.homeassistant.api] Updated Home Assistant API token
2025-04-24 11:07:08.929 INFO (MainThread) [supervisor.api.middleware.security] /supervisor/logs access from a0d7b954_ssh
➜  ~ cat /config/home-assistant-rollback.log 
2025-04-24 10:28:39.486 WARNING (SyncWorker_0) [homeassistant.loader] We found a custom integration hacs which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant

The update consistently fails with this error being logged.

2025-04-24 10:21:50.542 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)]
2025-04-24 10:21:55.554 ERROR (MainThread) [supervisor.homeassistant.core] Home Assistant has crashed!
2025-04-24 10:21:55.555 CRITICAL (MainThread) [supervisor.homeassistant.core] HomeAssistant update failed β†’ rollback!

Is there something else I can scrape during the boot process of the core container?

BTW: I also failed with the factory-reset method described in Resetting a device – Home Assistant Yellow …

Hmmm… Option 1 in Reinstalling the operating system on CM4 – Home Assistant Yellow failed as well. Without blue button and with blue button (to force install on NVMe).

2025.2.5 REALLY, REALLY wants to stay on that Yellow. :frowning:

➜  ~ ha core info
arch: aarch64
audio_input: None
audio_output: None
backups_exclude_database: false
boot: true
image: ghcr.io/home-assistant/yellow-homeassistant
ip_address: 172.30.32.1
machine: yellow
port: 8123
ssl: false
update_available: true
version: 2025.2.5
version_latest: 2025.4.3
watchdog: true

Well, at least, I managed to remove an unused boot slot. :wink: Yeah.

➜  ~ ha os info
board: yellow
boot: A
boot_slots:
  A:
    state: booted
    status: good
    version: "15.2"
  B:
    state: inactive
    status: good
    version: null
data_disk: CT500P3SSD8-2302E69C0B3C
update_available: false
version: "15.2"
version_latest: "15.2"

What bugs me is

➜  ~ ha os datadisk list
devices: []
disks: []
➜  ~ ha os info         
board: yellow
boot: A
boot_slots:
  A:
    state: booted
    status: good
    version: "15.2"
  B:
    state: inactive
    status: good
    version: null
data_disk: CT500P3SSD8-2302E69C0B3C
update_available: false
version: "15.2"
version_latest: "15.2"

the inconsistent display of the datadisk. A NVMe drive is installed as in ha os info, but ha os datadisk does not seem to know.

➜  ~ ha os datadisk wipe

This will completely wipe the datadisk. This process is irreversible.
Are you sure you want to proceed? [enter YES to confirm] YES
ERRO[0002] API did not return a JSON response. Status code 403 
API did not return a JSON response. Status code 403

f k

So I ripped the NVMe disk out of the Yellow, formatted it with gnome-disk-utility (ext4) put it back, plugged in the USB stick with the Yellow installer and somehow managed in a couple of trials to push the right buttons.

I have a fresh install feeling right now. :slight_smile:

It’s gonna be interesting what will happen, when I reinstall the backup. :crossed_fingers:

So I could not upload the backup. eMMC storage was too small (can’t remember the error message, but it had nothing to do with available space).

The fast lane is: temporarily configure the installation, move the data partition, wait for reboot, upload the backup again (three dots on the top right corner) and start the restore process.

For my own surprise I immediately found the encryption key! :slight_smile:

Restoring GBytes of encrypted data takes ages…

Importing the backup (~15 GB) is still running (> 8 hrs) and there is no way to distinguish between importing backup and crash.

The LEDs look like: yellow heartbeat, flashing green and solid red.

Going to work now and leave it as it is.

Meanwhile the ESPhome devices
go mad…

07:35:39	[D]	[sensor:093]	

'nous-plug-server-079637 - Electric Consumption [kWh]': Sending state 0.53065 kWh with 3 decimals of accuracy

07:35:40	[E]	[api:129]	

No client connected to API. Rebooting...

07:35:40	[I]	[app:125]	

Forcing a reboot...

The restore took about 10 hrs (telling from energy data started to being recorded this morning).

I had to revert the network configuration back to a static IPv4, to keep the Shelly devices happy (CoIoT protocol). But now everything seems to be functional again.

Now I am on latest (as of yesterday) HA Core and hesitate to push the β€œUpdate”-Button…

I stand corrected. The backup reverted HA Core to 2025.2.5 as well.

I just hit the update button.

Restoring backups always reverse the installed version to the version in the backup.

Thanks for the hint. It makes sense, but seeing 2025.2.5 after all the things I have been through… was a stressful experience. :wink:

But this time the update was succesful! :partying_face:

I am finally there:

       β–„β–ˆβ–ˆβ–„           _   _
     β–„β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–„        | | | | ___  _ __ ___   ___
   β–„β–ˆβ–ˆβ–ˆβ–ˆβ–€β–€β–ˆβ–ˆβ–ˆβ–ˆβ–„      | |_| |/ _ \| '_ ` _ \ / _ \
 β–„β–ˆβ–ˆβ–ˆβ–ˆβ–ˆ    β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–„    |  _  | (_) | | | | | |  __/
β–„β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–„  β–„β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–„   |_| |_|\___/|_| |_| |_|\___|          _
β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ  β–ˆβ–ˆβ–€  β–€β–ˆβ–ˆ      / \   ___ ___(_)___| |_ __ _ _ __ | |_
β–ˆβ–ˆβ–ˆβ–€β–€β–ˆβ–ˆβ–ˆ  β–ˆβ–ˆ   β–„β–ˆβ–ˆ     / _ \ / __/ __| / __| __/ _` | '_ \| __|
β–ˆβ–ˆ    β–ˆβ–ˆ  β–€ β–„β–ˆβ–ˆβ–ˆβ–ˆβ–ˆ    / ___ \\__ \__ \ \__ \ || (_| | | | | |_
β–ˆβ–ˆβ–ˆβ–„β–„ β–€β–ˆ  β–„β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ   /_/   \_\___/___/_|___/\__\__,_|_| |_|\__|
β–€β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–„   β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–€

Welcome to the Home Assistant command line.

System information
  IPv4 addresses for end0:  192.168.1.201/24
  IPv6 addresses for end0:  2003:[...]:47e0/64, fd00:571c:102e:ffff:b1f8:90d4:97da:e381/64, fe80::f897:d417:6ac2:c42e/64

  OS Version:               Home Assistant OS 15.2
  Home Assistant Core:      2025.4.4

  Home Assistant URL:       http://homeassistant.local:8123
  Observer URL:             http://homeassistant.local:4357

What a ride…

Wait, what? How do you have 15GB of data? Did you disable recorder or maybe trying to back up something heavy like voice or videos in media folder?

retention period: 3650d

But now I know, I need to store historic data elsewhere / more selective.

influxdb maybe.