Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

HA 2024.1.4 crash on installation #108496

Closed
antivirus68 opened this issue Jan 20, 2024 · 6 comments · Fixed by #108489
Closed

HA 2024.1.4 crash on installation #108496

antivirus68 opened this issue Jan 20, 2024 · 6 comments · Fixed by #108489

Comments

@antivirus68
Copy link

antivirus68 commented Jan 20, 2024

The problem

I have HA 2024.1.3 and it does not install 2024.1.4 due to a crash.

What version of Home Assistant Core has the issue?

core-2024-1-4

What was the last working version of Home Assistant Core?

core-2024-1-3

What type of installation are you running?

Home Assistant OS

Integration causing the issue

No response

Link to integration documentation on our website

No response

Diagnostics information

24-01-20 14:06:52 ERROR (MainThread) [supervisor.homeassistant.core] Home Assistant has crashed!
24-01-20 14:06:52 CRITICAL (MainThread) [supervisor.homeassistant.core] HomeAssistant update failed -> rollback!

Example YAML snippet

No response

Anything in the logs that might be useful for us?

24-01-20 14:03:06 INFO (MainThread) [supervisor.homeassistant.core] Updating Home Assistant to version 2024.1.4
24-01-20 14:03:06 INFO (MainThread) [supervisor.docker.interface] Updating image ghcr.io/home-assistant/qemux86-64-homeassistant:2024.1.3 to ghcr.io/home-assistant/qemux86-64-homeassistant:2024.1.4
24-01-20 14:03:06 INFO (MainThread) [supervisor.docker.interface] Downloading docker image ghcr.io/home-assistant/qemux86-64-homeassistant with tag 2024.1.4.
24-01-20 14:06:20 INFO (SyncWorker_0) [supervisor.docker.manager] Stopping homeassistant application
24-01-20 14:06:20 INFO (MainThread) [supervisor.api.proxy] Home Assistant WebSocket API error: Cannot proxy websocket message of unsupported type: 8
24-01-20 14:06:20 INFO (MainThread) [supervisor.api.proxy] Home Assistant WebSocket API connection is closed
24-01-20 14:06:47 INFO (SyncWorker_0) [supervisor.docker.manager] Cleaning homeassistant application
24-01-20 14:06:47 INFO (MainThread) [supervisor.homeassistant.module] Update pulse/client.config: /data/tmp/homeassistant_pulse
24-01-20 14:06:47 INFO (MainThread) [supervisor.docker.homeassistant] Starting Home Assistant ghcr.io/home-assistant/qemux86-64-homeassistant with version 2024.1.4
24-01-20 14:06:47 INFO (MainThread) [supervisor.homeassistant.core] Wait until Home Assistant is ready
24-01-20 14:06:52 ERROR (MainThread) [supervisor.homeassistant.core] Home Assistant has crashed!
24-01-20 14:06:52 CRITICAL (MainThread) [supervisor.homeassistant.core] HomeAssistant update failed -> rollback!
24-01-20 14:06:52 INFO (MainThread) [supervisor.resolution.module] Create new issue update_rollback - core / None
24-01-20 14:06:52 INFO (MainThread) [supervisor.homeassistant.core] A backup of the logfile is stored in /config/home-assistant-rollback.log

Additional information

This is the log in /config/home-assistant-rollback.log

2024-01-20 14:06:47.963 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['ac_studio_timer']

@joostlek
Copy link
Member

You have an empty file ac_... And you use !include dir thingy. There's a fix for this merged now.

@antivirus68
Copy link
Author

Thanks for the explanation.
And yes this file is empty or better everything is commented out.
I have more than one file like this and I would like to keep them.

So, I'll wait next version with the fix.

@robwolff3
Copy link

I think I ran into this same issue, and it was even more confusing because my empty config file was called influxdb.yaml so the error in the logs was regarding "influxdb" lol.

@novisys
Copy link

novisys commented Jan 20, 2024

Same issue here !
Don't work on GUI and CLI
Any advise ?

@smarthomefamilyverrips
Copy link

Anybody had any succes with fix in 2024.1.5?

@novisys
Copy link

novisys commented Jan 21, 2024

Yes that worked for me 👍

@github-actions github-actions bot locked and limited conversation to collaborators Feb 20, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

6 participants
@joostlek @robwolff3 @novisys @antivirus68 @smarthomefamilyverrips and others