HomeAssistant update failed -> rollback!

Hello, I am trying to update HA from 2024.1.3 to 2024.1.4. I am running HAOS in HA blue. After pressing the update button it stays in 2024.1.3.

HA Supervisor log

24-01-20 18:35:29 INFO (MainThread) [supervisor.homeassistant.core] Updating Home Assistant to version 2024.1.4
24-01-20 18:35:29 INFO (MainThread) [supervisor.docker.interface] Updating image ghcr.io/home-assistant/odroid-n2-homeassistant:2024.1.3 to ghcr.io/home-assistant/odroid-n2-homeassistant:2024.1.4
24-01-20 18:35:29 INFO (MainThread) [supervisor.docker.interface] Downloading docker image ghcr.io/home-assistant/odroid-n2-homeassistant with tag 2024.1.4.
24-01-20 18:37:46 INFO (SyncWorker_2) [supervisor.docker.manager] Stopping homeassistant application
24-01-20 18:37:46 INFO (MainThread) [supervisor.api.proxy] Home Assistant WebSocket API error: Cannot proxy websocket message of unsupported type: 8
24-01-20 18:37:46 INFO (MainThread) [supervisor.api.proxy] Home Assistant WebSocket API connection is closed
24-01-20 18:37:46 INFO (MainThread) [supervisor.api.proxy] Home Assistant WebSocket API error: Cannot proxy websocket message of unsupported type: 8
24-01-20 18:37:46 INFO (MainThread) [supervisor.api.proxy] Home Assistant WebSocket API connection is closed
24-01-20 18:38:17 INFO (SyncWorker_2) [supervisor.docker.manager] Cleaning homeassistant application
24-01-20 18:38:17 INFO (MainThread) [supervisor.homeassistant.module] Update pulse/client.config: /data/tmp/homeassistant_pulse
24-01-20 18:38:17 INFO (MainThread) [supervisor.docker.homeassistant] Starting Home Assistant ghcr.io/home-assistant/odroid-n2-homeassistant with version 2024.1.4
24-01-20 18:38:17 INFO (MainThread) [supervisor.homeassistant.core] Wait until Home Assistant is ready
24-01-20 18:38:27 ERROR (MainThread) [supervisor.homeassistant.core] Home Assistant has crashed!
24-01-20 18:38:27 CRITICAL (MainThread) [supervisor.homeassistant.core] HomeAssistant update failed -> rollback!
24-01-20 18:38:27 INFO (MainThread) [supervisor.homeassistant.core] A backup of the logfile is stored in /config/home-assistant-rollback.log
24-01-20 18:38:27 INFO (MainThread) [supervisor.homeassistant.core] Updating Home Assistant to version 2024.1.3
24-01-20 18:38:27 INFO (MainThread) [supervisor.docker.interface] Updating image ghcr.io/home-assistant/odroid-n2-homeassistant:2024.1.4 to ghcr.io/home-assistant/odroid-n2-homeassistant:2024.1.3
24-01-20 18:38:27 INFO (MainThread) [supervisor.docker.interface] Downloading docker image ghcr.io/home-assistant/odroid-n2-homeassistant with tag 2024.1.3.
24-01-20 18:38:28 INFO (SyncWorker_2) [supervisor.docker.manager] Cleaning homeassistant application
24-01-20 18:38:28 INFO (MainThread) [supervisor.homeassistant.module] Update pulse/client.config: /data/tmp/homeassistant_pulse
24-01-20 18:38:28 INFO (MainThread) [supervisor.docker.homeassistant] Starting Home Assistant ghcr.io/home-assistant/odroid-n2-homeassistant with version 2024.1.3
24-01-20 18:38:28 INFO (MainThread) [supervisor.homeassistant.core] Wait until Home Assistant is ready
24-01-20 18:39:07 INFO (MainThread) [supervisor.resolution.evaluate] Starting system evaluation with state running
24-01-20 18:39:08 INFO (MainThread) [supervisor.resolution.evaluate] System evaluation complete
24-01-20 18:39:08 INFO (MainThread) [supervisor.homeassistant.core] Home Assistant Core state changed to NOT_RUNNING
24-01-20 18:39:08 INFO (MainThread) [supervisor.store.git] Update add-on https://github.com/thomasmauerer/hassio-addons repository
24-01-20 18:39:08 INFO (MainThread) [supervisor.store.git] Update add-on https://github.com/FunkeyFlo/ps5-mqtt repository
24-01-20 18:39:08 INFO (MainThread) [supervisor.store.git] Update add-on https://github.com/CoolKit-Technologies/ha-addon repository
24-01-20 18:39:08 INFO (MainThread) [supervisor.store.git] Update add-on https://github.com/adamoutler/HassOSConfigurator repository
24-01-20 18:39:08 INFO (MainThread) [supervisor.store.git] Update add-on https://github.com/albertogeniola/ha-meross-local-broker repository
24-01-20 18:39:08 INFO (MainThread) [supervisor.store.git] Update add-on https://github.com/esphome/home-assistant-addon repository
24-01-20 18:39:08 INFO (MainThread) [supervisor.store.git] Update add-on https://github.com/hassio-addons/repository repository
24-01-20 18:39:08 INFO (MainThread) [supervisor.store.git] Update add-on https://github.com/home-assistant/addons repository
24-01-20 18:39:08 INFO (MainThread) [supervisor.updater] Fetching update data from https://version.home-assistant.io/stable.json
24-01-20 18:39:11 INFO (MainThread) [supervisor.store] Loading add-ons from store: 87 all - 0 new - 0 remove
24-01-20 18:39:11 INFO (MainThread) [supervisor.store] Loading add-ons from store: 87 all - 0 new - 0 remove

home-assistant-rollback.log

2024-01-20 18:38:19.339 ERROR (MainThread) [root] Uncaught exception
Traceback (most recent call last):
  File "<frozen runpy>", line 198, in _run_module_as_main
  File "<frozen runpy>", line 88, in _run_code
  File "/usr/src/homeassistant/homeassistant/__main__.py", line 221, in <module>
    sys.exit(main())
             ^^^^^^
  File "/usr/src/homeassistant/homeassistant/__main__.py", line 209, in main
    exit_code = runner.run(runtime_conf)
                ^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/runner.py", line 188, in run
    return loop.run_until_complete(setup_and_run_hass(runtime_config))
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/asyncio/base_events.py", line 653, in run_until_complete
    return future.result()
           ^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/runner.py", line 154, in setup_and_run_hass
    hass = await bootstrap.async_setup_hass(runtime_config)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/bootstrap.py", line 147, in async_setup_hass
    config_dict = await conf_util.async_hass_config_yaml(hass)
                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/config.py", line 501, in async_hass_config_yaml
    await merge_packages_config(hass, config, core_config.get(CONF_PACKAGES, {}))
  File "/usr/src/homeassistant/homeassistant/config.py", line 1029, in merge_packages_config
    PACKAGES_CONFIG_SCHEMA(packages)
  File "/usr/src/homeassistant/homeassistant/helpers/config_validation.py", line 588, in verify
    return cast(dict, schema(value))
                      ^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/voluptuous/schema_builder.py", line 272, in __call__
    return self._compiled([], data)
           ^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/voluptuous/schema_builder.py", line 595, in validate_dict
    return base_validate(path, iteritems(data), out)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/voluptuous/schema_builder.py", line 433, in validate_mapping
    raise er.MultipleInvalid(errors)
voluptuous.error.MultipleInvalid: expected a dictionary for dictionary value @ data['dyson']

I have deleted my dyson local and cloud integration, but still no change. What can I do?

Had the same error but with “speedtest”. You probably need to look in the core.entity_registry file to see if there are entries called “dyson” and remove these. First make a copy of the file before editing.

I just read this article: HA Core 2024.1.4 update failure

→ Maybe you have a package file which is empty.

1 Like

Look for a file dyson.yaml in your packages. If the whole content is commented, than that’s the reason.

1 Like

Check this topic: HA Core 2024.1.4 update failure - #11 by Lifelogger

1 Like

thanks all, it was indeed an empty package file dyson.yaml. i have another empty which I also moved to a temp directory. Now HA updated itself successfully :slight_smile: