Hi there,
I’m at a loss because my HA installation no longer works and I don’t know how to solve it.
HA is running on a NUC8i3 with ubuntu and docker. I was on 2023.12.2 and did the update to 2023.12.3 but now I just get 404: Not Found when I try to access HA although the container is running.
The log states several errors:
return _bootstrap._gcd_import(name[level:], package, level)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "<frozen importlib._bootstrap>", line 1204, in _gcd_import
File "<frozen importlib._bootstrap>", line 1176, in _find_and_load
File "<frozen importlib._bootstrap>", line 1147, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 690, in _load_unlocked
File "<frozen importlib._bootstrap_external>", line 940, in exec_module
File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
File "/usr/src/homeassistant/homeassistant/components/mobile_app/__init__.py", line 5, in <module>
from homeassistant.components import cloud, notify as hass_notify
File "/usr/src/homeassistant/homeassistant/components/cloud/__init__.py", line 9, in <module>
from hass_nabucasa import Cloud
File "/usr/local/lib/python3.11/site-packages/hass_nabucasa/__init__.py", line 15, in <module>
from .auth import CloudError, CognitoAuth
File "/usr/local/lib/python3.11/site-packages/hass_nabucasa/auth.py", line 14, in <module>
import pycognito
File "/usr/local/lib/python3.11/site-packages/pycognito/__init__.py", line 8, in <module>
import requests
File "/usr/local/lib/python3.11/site-packages/requests/__init__.py", line 45, in <module>
from .exceptions import RequestsDependencyWarning
File "/usr/local/lib/python3.11/site-packages/requests/exceptions.py", line 9, in <module>
from .compat import JSONDecodeError as CompatJSONDecodeError
File "/usr/local/lib/python3.11/site-packages/requests/compat.py", line 40, in <module>
from simplejson import JSONDecodeError
ImportError: cannot import name 'JSONDecodeError' from 'simplejson' (/usr/local/lib/python3.11/site-packages/simplejson/__init__.py)
2023-12-15 21:02:07.005 ERROR (MainThread) [homeassistant.setup] Unable to set up dependencies of 'default_config'. Setup failed for dependencies: assist_pipeline, bluetooth, cloud, conversation, energy, frontend, history, homeassistant_alerts, logbook, map, mobile_app, my, usb
2023-12-15 21:02:07.005 ERROR (MainThread) [homeassistant.setup] Setup failed for 'default_config': (DependencyError(...), 'Could not setup dependencies: assist_pipeline, bluetooth, cloud, conversation, energy, frontend, history, homeassistant_alerts, logbook, map, mobile_app, my, usb')
2023-12-15 21:02:07.386 ERROR (MainThread) [homeassistant.config] Setup of package 'modbus_sungrow' at integrations/modbus_sungrow.yaml, line 6 failed: Integration template caused error: cannot import name 'JSONDecodeError' from 'simplejson' (/usr/local/lib/python3.11/site-packages/simplejson/__init__.py)
2023-12-15 21:02:07.386 WARNING (MainThread) [homeassistant.components.knx] No `knx:` key found in configuration.yaml. See https://www.home-assistant.io/integrations/knx/ for KNX entity configuration documentation
2023-12-15 21:02:08.313 WARNING (MainThread) [homeassistant.bootstrap] Detected that frontend did not load. Activating recovery mode
2023-12-15 21:02:08.372 ERROR (MainThread) [homeassistant.setup] Setup failed for 'analytics': Unable to import component: cannot import name 'JSONDecodeError' from 'simplejson' (/usr/local/lib/python3.11/site-packages/simplejson/__init__.py)
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/setup.py", line 251, in _async_setup_component
component = integration.get_component()
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/loader.py", line 814, in get_component
ComponentProtocol, importlib.import_module(self.pkg_path)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/importlib/__init__.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "<frozen importlib._bootstrap>", line 1204, in _gcd_import
File "<frozen importlib._bootstrap>", line 1176, in _find_and_load
File "<frozen importlib._bootstrap>", line 1147, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 690, in _load_unlocked
File "<frozen importlib._bootstrap_external>", line 940, in exec_module
File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
File "/usr/src/homeassistant/homeassistant/components/analytics/__init__.py", line 13, in <module>
from .analytics import Analytics
File "/usr/src/homeassistant/homeassistant/components/analytics/analytics.py", line 13, in <module>
from homeassistant.components import hassio
File "/usr/src/homeassistant/homeassistant/components/hassio/__init__.py", line 42, in <module>
from homeassistant.helpers.update_coordinator import DataUpdateCoordinator, UpdateFailed
File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 15, in <module>
import requests
File "/usr/local/lib/python3.11/site-packages/requests/__init__.py", line 45, in <module>
from .exceptions import RequestsDependencyWarning
File "/usr/local/lib/python3.11/site-packages/requests/exceptions.py", line 9, in <module>
from .compat import JSONDecodeError as CompatJSONDecodeError
File "/usr/local/lib/python3.11/site-packages/requests/compat.py", line 40, in <module>
from simplejson import JSONDecodeError
ImportError: cannot import name 'JSONDecodeError' from 'simplejson' (/usr/local/lib/python3.11/site-packages/simplejson/__init__.py)
2023-12-15 21:02:08.379 ERROR (MainThread) [homeassistant.setup] Unable to set up dependencies of 'onboarding'. Setup failed for dependencies: analytics
2023-12-15 21:02:08.380 ERROR (MainThread) [homeassistant.setup] Setup failed for 'onboarding': (DependencyError(...), 'Could not setup dependencies: analytics')
2023-12-15 21:02:08.380 ERROR (MainThread) [homeassistant.setup] Unable to set up dependencies of 'frontend'. Setup failed for dependencies: onboarding
2023-12-15 21:02:08.380 ERROR (MainThread) [homeassistant.setup] Setup failed for 'frontend': (DependencyError(...), 'Could not setup dependencies: onboarding')
2023-12-15 21:02:08.396 ERROR (MainThread) [homeassistant.setup] Setup failed for 'cloud': Unable to import component: cannot import name 'JSONDecodeError' from 'simplejson' (/usr/local/lib/python3.11/site-packages/simplejson/__init__.py)
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/setup.py", line 251, in _async_setup_component
component = integration.get_component()
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/loader.py", line 814, in get_component
ComponentProtocol, importlib.import_module(self.pkg_path)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/importlib/__init__.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "<frozen importlib._bootstrap>", line 1204, in _gcd_import
File "<frozen importlib._bootstrap>", line 1176, in _find_and_load
File "<frozen importlib._bootstrap>", line 1147, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 690, in _load_unlocked
File "<frozen importlib._bootstrap_external>", line 940, in exec_module
File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
File "/usr/src/homeassistant/homeassistant/components/cloud/__init__.py", line 9, in <module>
from hass_nabucasa import Cloud
File "/usr/local/lib/python3.11/site-packages/hass_nabucasa/__init__.py", line 15, in <module>
from .auth import CloudError, CognitoAuth
File "/usr/local/lib/python3.11/site-packages/hass_nabucasa/auth.py", line 14, in <module>
import pycognito
File "/usr/local/lib/python3.11/site-packages/pycognito/__init__.py", line 8, in <module>
import requests
File "/usr/local/lib/python3.11/site-packages/requests/__init__.py", line 45, in <module>
from .exceptions import RequestsDependencyWarning
File "/usr/local/lib/python3.11/site-packages/requests/exceptions.py", line 9, in <module>
from .compat import JSONDecodeError as CompatJSONDecodeError
File "/usr/local/lib/python3.11/site-packages/requests/compat.py", line 40, in <module>
from simplejson import JSONDecodeError
ImportError: cannot import name 'JSONDecodeError' from 'simplejson' (/usr/local/lib/python3.11/site-packages/simplejson/__init__.py)
2023-12-15 21:02:08.400 ERROR (MainThread) [homeassistant.setup] Unable to set up dependencies of 'recovery_mode'. Setup failed for dependencies: frontend, cloud
2023-12-15 21:02:08.400 ERROR (MainThread) [homeassistant.setup] Setup failed for 'recovery_mode': (DependencyError(...), 'Could not setup dependencies: frontend, cloud')
Several system reboots, container restarts and recreations of the container unfortunately didn’t help.
I’ve run out of ideas and I’m hoping to get some help here.
Thanks and best regards