core
core copied to clipboard
ha core won't start after update to 2022.11.1
The problem
After upgrading from 2022.11 to 2022.11.1, Home Assistant is not accessible via web browser or mobile app. 'ha core start' fails with Error: Unknown error, see supervisor.
What version of Home Assistant Core has the issue?
2022.11.1
What was the last working version of Home Assistant Core?
2022.11
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
Example YAML snippet
No response
Anything in the logs that might be useful for us?
22-11-04 07:49:32 ERROR (MainThread) [supervisor.auth] None as password is not supported!
22-11-04 07:49:33 ERROR (MainThread) [aiohttp.server] Error handling request
Traceback (most recent call last):
File "/usr/local/lib/python3.10/site-packages/aiohttp/web_protocol.py", line 433, in _handle_request
resp = await request_handler(request)
File "/usr/local/lib/python3.10/site-packages/sentry_sdk/integrations/aiohttp.py", line 126, in sentry_app_handle
reraise(*_capture_exception(hub))
File "/usr/local/lib/python3.10/site-packages/sentry_sdk/_compat.py", line 56, in reraise
raise value
File "/usr/local/lib/python3.10/site-packages/sentry_sdk/integrations/aiohttp.py", line 116, in sentry_app_handle
response = await old_handle(self, request)
File "/usr/local/lib/python3.10/site-packages/aiohttp/web_app.py", line 504, in _handle
resp = await handler(request)
File "/usr/local/lib/python3.10/site-packages/aiohttp/web_middlewares.py", line 117, in impl
return await handler(request)
File "/usr/src/supervisor/supervisor/api/middleware/security.py", line 138, in system_validation
return await handler(request)
File "/usr/src/supervisor/supervisor/api/middleware/security.py", line 204, in token_validation
return await handler(request)
File "/usr/src/supervisor/supervisor/api/utils.py", line 60, in wrap_api
answer = await method(api, *args, **kwargs)
File "/usr/src/supervisor/supervisor/api/auth.py", line 64, in auth
if not await self._process_basic(request, addon):
File "/usr/src/supervisor/supervisor/api/auth.py", line 39, in _process_basic
auth = BasicAuth.decode(request.headers[AUTHORIZATION])
File "/usr/local/lib/python3.10/site-packages/aiohttp/helpers.py", line 154, in decode
raise ValueError("Unknown authorization method %s" % auth_type)
ValueError: Unknown authorization method NTLM
Additional information
➜ ~ ha core start Processing... Done. Error: Unknown error, see supervisor
➜ ~ ha core info arch: amd64 audio_input: None audio_output: None boot: true image: ghcr.io/home-assistant/generic-x86-64-homeassistant ip_address: 172.30.32.1 machine: generic-x86-64 port: 8123 ssl: false update_available: false version: 2022.11.1 version_latest: 2022.11.1 watchdog: true
➜ ~ ha os info board: generic-x86-64 boot: A data_disk: /dev/nvme0n1p8 update_available: false version: "9.3" version_latest: "9.3"
➜ ~ ha refresh-updates ERRO[0000] Unexpected server response. Status code: 403 Unexpected server response. Status code: 403
➜ ~ ha available-updates ERRO[0000] Unexpected server response. Status code: 403 Unexpected server response. Status code: 403
➜ ~ ha core update --version 2022.11 Processing... Done. Command completed successfully.
➜ ~ ha core info arch: amd64 audio_input: None audio_output: None boot: true image: ghcr.io/home-assistant/generic-x86-64-homeassistant ip_address: 172.30.32.1 machine: generic-x86-64 port: 8123 ssl: false update_available: false version: 2022.11.1 version_latest: 2022.11.1 watchdog: true
Goodnight. Checked 2 times. Uploaded to version 2022.11.1, Disaster Downloaded to version 2022.10.5, Working Uploaded to version 2022.11.1, Disaster Downloaded to version 2022.10.5, Working Blue Arrow, it works. Red Arrow, disaster. (The lights when clicking on the plane, do not work). Thanks.
Cheers
Pedro
@ssiillvvyyaannaa
I'm having picture-element issues as well: https://github.com/home-assistant/core/issues/81580
2022.11
2022.11.0 worked fine for me. 2022.11.1 broke the system. I've tried to downgrade several times unsuccessfully.
2022.11
2022.11.0 worked fine for me. 2022.11.1 broke the system. I've tried to downgrade several times unsuccessfully.
You should try to take a backup and reinstall HA OS, then reload your backup
2022.11
2022.11.0 worked fine for me. 2022.11.1 broke the system. I've tried to downgrade several times unsuccessfully.
You should try to take a backup and reinstall HA OS, then reload your backup
Unfortunately I am not at this physical site to do a full bare-metal reinstall.
How can I find out what caused this system to break? Everything was working great until I applied the update through the GUI.
The relevant error seems to be that one
Can't execute update while a task is in progress
It's hard to tell why it's stuck, have you reboot your host?
I issued a reboot command and the server never came back up. I connected local HDMI monitor and saw [WARN] Home Assistant CLI not starting! Jump into emergency console...
I entered the reboot command and the system rebooted normally after that, but Home Assistant is in the same unusable state as before.
I attempted to update to the dev branch with 'ha core update', but the cli has been hung on "Processing..." for at least 20 minutes now.
➜ ~ ha core info
arch: amd64
audio_input: None
audio_output: None
boot: true
image: ghcr.io/home-assistant/generic-x86-64-homeassistant
ip_address: 172.30.32.1
machine: generic-x86-64
port: 8123
ssl: false
update_available: true
version: 2022.11.1
version_latest: 2022.12.0.dev20221108
watchdog: true
➜ ~ ha core update
⣷ Processing...
Supervisor logs indicate the update completed.
22-11-08 07:22:54 INFO (MainThread) [supervisor.api.middleware.security] /core/update access from a0d7b954_ssh
22-11-08 07:22:54 INFO (MainThread) [supervisor.homeassistant.core] Updating Home Assistant to version 2022.12.0.dev20221108
22-11-08 07:22:54 INFO (SyncWorker_0) [supervisor.docker.interface] Updating image ghcr.io/home-assistant/generic-x86-64-homeassistant:2022.11.1 to ghcr.io/home-assistant/generic-x86-64-homeassistant:2022.12.0.dev20221108
22-11-08 07:22:54 INFO (SyncWorker_0) [supervisor.docker.interface] Downloading docker image ghcr.io/home-assistant/generic-x86-64-homeassistant with tag 2022.12.0.dev20221108.
22-11-08 07:23:10 ERROR (MainThread) [supervisor.homeassistant.api] Error on call http://172.30.32.1:8123/api/config:
22-11-08 07:23:41 ERROR (MainThread) [supervisor.homeassistant.api] Error on call http://172.30.32.1:8123/api/config:
22-11-08 07:24:00 INFO (SyncWorker_0) [supervisor.docker.interface] Stopping homeassistant application
22-11-08 07:24:00 ERROR (MainThread) [supervisor.homeassistant.api] Error on call http://172.30.32.1:8123/api/config: [Errno 104] Connection reset by peer
22-11-08 07:24:00 ERROR (MainThread) [supervisor.homeassistant.api] Error on call http://172.30.32.1:8123/api/config: Cannot connect to host 172.30.32.1:8123 ssl:False [Connect call failed ('172.30.32.1', 8123)]
22-11-08 07:24:00 WARNING (MainThread) [supervisor.misc.tasks] Watchdog miss API response from Home Assistant
22-11-08 07:24:00 ERROR (MainThread) [supervisor.homeassistant.api] Error on call http://172.30.32.1:8123/api/config: Cannot connect to host 172.30.32.1:8123 ssl:False [Connect call failed ('172.30.32.1', 8123)]
22-11-08 07:24:04 INFO (SyncWorker_0) [supervisor.docker.interface] Cleaning homeassistant application
22-11-08 07:24:04 INFO (MainThread) [supervisor.homeassistant.module] Update pulse/client.config: /data/tmp/homeassistant_pulse
22-11-08 07:24:04 INFO (SyncWorker_1) [supervisor.docker.homeassistant] Starting Home Assistant ghcr.io/home-assistant/generic-x86-64-homeassistant with version 2022.12.0.dev20221108
22-11-08 07:24:04 INFO (MainThread) [supervisor.homeassistant.core] Wait until Home Assistant is ready
22-11-08 07:24:07 INFO (MainThread) [supervisor.resolution.evaluate] Starting system evaluation with state CoreState.RUNNING
22-11-08 07:24:07 INFO (MainThread) [supervisor.resolution.evaluate] System evaluation complete
22-11-08 07:24:07 INFO (MainThread) [supervisor.store.git] Update add-on https://github.com/esphome/home-assistant-addon repository
22-11-08 07:24:07 INFO (MainThread) [supervisor.store.git] Update add-on https://github.com/hassio-addons/repository repository
22-11-08 07:24:07 INFO (MainThread) [supervisor.store.git] Update add-on https://github.com/sabeechen/hassio-google-drive-backup repository
22-11-08 07:24:07 INFO (MainThread) [supervisor.store.git] Update add-on https://github.com/blakeblackshear/frigate-hass-addons repository
22-11-08 07:24:07 INFO (MainThread) [supervisor.store.git] Update add-on https://github.com/home-assistant/addons repository
22-11-08 07:24:07 INFO (MainThread) [supervisor.store.git] Update add-on https://github.com/zigbee2mqtt/hassio-zigbee2mqtt repository
22-11-08 07:24:07 INFO (MainThread) [supervisor.updater] Fetching update data from https://version.home-assistant.io/dev.json
22-11-08 07:24:07 INFO (MainThread) [supervisor.homeassistant.api] Updated Home Assistant API token
22-11-08 07:24:08 INFO (MainThread) [supervisor.store] Loading add-ons from store: 77 all - 0 new - 0 remove
22-11-08 07:24:08 INFO (MainThread) [supervisor.store] Loading add-ons from store: 77 all - 0 new - 0 remove
You will probably have to look in the home assistant (core) log file
There hasn't been any activity on this issue recently. Due to the high number of incoming GitHub notifications, we have to clean some of the old issues, as many of them have already been resolved with the latest updates. Please make sure to update to the latest Home Assistant version and check if that solves the issue. Let us know if that works for you by adding a comment 👍 This issue has now been marked as stale and will be closed if no further activity occurs. Thank you for your contributions.