-
-
Notifications
You must be signed in to change notification settings - Fork 28.5k
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
Update 2023.6 does not start #94239
Comments
|
You where faster creating an issue. Weird thing is I have the same on Home Assistant docker. Same issue for cloud module and mobile_app
|
That is odd, as your error message says:
The oddity here is ../Frenck |
It results in mobile_app not starting (resulting in unavailability of group and thus alarm on). What could I do to debug this further? (sry don't want ti hi-jack the issue) I'm using docker: ghcr.io/linuxserver/homeassistant and the issue is logged there: linuxserver/docker-homeassistant#70 |
@Ruvetuve That has nothing to do with home assistant, that issue is caused by the linuxserver (which is not the official image) still using python 3.10. As indicated in the issue you linked they are already working on updating it and you can use that test build linked the issue, but it's causing other issues with hacs so it doesn't seem ready yet. Regardless, it's not really in scope for HA's devs, linuxserver is it's own thing |
Do I understand correctly, this problem should not show up after updating python to 3.11 ? Can somebody confirm this? Generally Python 3.10 is still usable until 2023.8. Therefore, any corrections should be done compatible. |
@UweDoe, not sure about 3.11. I'm on MacOS 10.15 using Python 3.11.3 and this error comes up as well. Using homebrew'd Python 3.11.3, fyi. |
I'm not sure if it is the same issue, but my HA running on Docker on a RaspberryPi 4 is also not starting and complaining about python3.11: s6-rc: info: service s6rc-oneshot-runner: starting EDIT: removed code tags as it makes it less readable. Edit 2: 2023.6.1 fixed it for me HA boots again. |
Same issue here, Raspberry Pi 4, Python 3.11.2, HA Core 2023.6.1
and I'm also getting this error:
Any idea? |
Dead for me as well after update. Nice one. Except I don't even have anything in /config/home-assistant.log at all apart from some hacs not tested messages. |
HA not listening on port 8123:
And yes I tried to power cycle it of course. Docker logs show it's chain resetting:
And backup restore fails too:
Every time I update HA I ask myself, why did I do it? It's almost always a mistake and ends in tons of wasted time... over the last few years, I think 1 or 2 updates went smoothly and 4 or 5 caused HA to be completely unreachable. Can't complain about free software of course, but I don't know any software that has this comical of a track record. The core is chain restarting. The supervisor does not accept commands because the core is chain restarting. It is not possible to stop it or update it either :D |
Solution:
You will get update failed error, ignore it, that's wrong like everything else with this software :D Continue with:
Enjoy working home assistant on 2023.3.1. Why this info is nowhere to be found on the official website is beyond me, considering there is an over 50% chance that an update will brick your install and this is the only way to roll back. |
I also got |
Thanks! That fixed it. So, the dependency should updated to: typing-extensions (>=4.6.3) |
Created a PR to update typing_extensions dependency to 4.6.3 or greater |
The problem
After updating to 2023.6 and restarting home assistant the system does not come up and shows errors in the log:
Logger: homeassistant.loader
Source: components/cloud/http_api.py:504
First occurred: 10:41:23 (1 occurrences)
Last logged: 10:41:23
Unexpected exception importing component homeassistant.components.cloud
Traceback (most recent call last):
File "/home/homeassistant/.pyenv/versions/3.10.9/lib/python3.10/site-packages/homeassistant/loader.py", line 813, in get_component
ComponentProtocol, importlib.import_module(self.pkg_path)
File "/home/homeassistant/.pyenv/versions/3.10.9/lib/python3.10/importlib/init.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "", line 1050, in _gcd_import
File "", line 1027, in _find_and_load
File "", line 1006, in _find_and_load_unlocked
File "", line 688, in _load_unlocked
File "", line 883, in exec_module
File "", line 241, in _call_with_frames_removed
File "/home/homeassistant/.pyenv/versions/3.10.9/lib/python3.10/site-packages/homeassistant/components/cloud/init.py", line 35, in
from . import account_link, http_api
File "/home/homeassistant/.pyenv/versions/3.10.9/lib/python3.10/site-packages/homeassistant/components/cloud/http_api.py", line 504, in
hass: HomeAssistant, cloud: Cloud[CloudClient]
TypeError: 'type' object is not subscriptable
The complete logs are attched
What version of Home Assistant Core has the issue?
core-2023.6.0
What was the last working version of Home Assistant Core?
core-2023.5.4
What type of installation are you running?
Home Assistant Core
Integration causing the issue
No response
Link to integration documentation on our website
No response
Diagnostics information
home-assistant_2023-06-08T09-16-01.267Z.log
Example YAML snippet
No response
Anything in the logs that might be useful for us?
No response
Additional information
No response
The text was updated successfully, but these errors were encountered: