Troubleshooting sudden multiple errors and failed loading integrations

My HA semi broke this morning after running +100 days with no interruption. I have tried everything I can think of, but I am too novice to troubleshoot further.

I did not touch the system before the issue happened. I am running HA OS on a mini pc with proxmox. I was not able to reach my webinterface and i logged on to Proxmox and saw my CPU pinned to 100% on my HA vm. I as unable to restart HA from Proxmox because of “TASK ERROR: can’t lock file ‘/var/lock/qemu-server/lock-100.conf’ - got timeout” – i ended up just forcing the node to restart.

After HA booted up there was many issues, mainly a many of my integrations failing to load properly. To me it seems like some underlying issue causing many of the integrations to fail to load. Network issue?, DNS? I have so many errors in my logs that I do not know where to start – does anyone have an idea? I have attached some logs and screenshots, if more are needed, please let me know. Any help is much appreciated.

I am also not able to access HA externally with the error: Error code:
Secure connection failed.
PR_END_OF_FILE_ERROR

And the app shows:
Failed to perfom SSL handshake.

Troubleshooting tried so far:

Rebooting HA

Recovering from backup

Removing unneeded integrations

Updating to latest version

DNS logs:


s6-rc: info: service s6rc-oneshot-runner: starting
s6-rc: info: service s6rc-oneshot-runner successfully started
s6-rc: info: service fix-attrs: starting
s6-rc: info: service fix-attrs successfully started
s6-rc: info: service legacy-cont-init: starting
cont-init: info: running /etc/cont-init.d/corefile.sh
cont-init: info: /etc/cont-init.d/corefile.sh exited 0
s6-rc: info: service legacy-cont-init successfully started
s6-rc: info: service legacy-services: starting
services-up: info: copying legacy longrun coredns (no readiness notification)
s6-supervise coredns: warning: unable to spawn ./run (waiting 60 seconds): Exec format error
s6-supervise coredns: warning: unable to spawn ./run (waiting 60 seconds): Exec format error
s6-supervise coredns: warning: unable to spawn ./run (waiting 60 seconds): Exec format error
s6-supervise coredns: warning: unable to spawn ./run (waiting 60 seconds): Exec format error
s6-supervise coredns: warning: unable to spawn ./run (waiting 60 seconds): Exec format error
s6-supervise coredns: warning: unable to spawn ./run (waiting 60 seconds): Exec format error
s6-supervise coredns: warning: unable to spawn ./run (waiting 60 seconds): Exec format error
s6-supervise coredns: warning: unable to spawn ./run (waiting 60 seconds): Exec format error
s6-supervise coredns: warning: unable to spawn ./run (waiting 60 seconds): Exec format error
s6-supervise coredns: warning: unable to spawn ./run (waiting 60 seconds): Exec format error
s6-supervise coredns: warning: unable to spawn ./run (waiting 60 seconds): Exec format error
s6-supervise coredns: warning: unable to spawn ./run (waiting 60 seconds): Exec format error

Core logs:


2024-03-21 10:53:39.260 WARNING (SyncWorker_0) [homeassistant.loader] We found a custom integration hacs which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant
2024-03-21 10:53:39.262 WARNING (SyncWorker_0) [homeassistant.loader] We found a custom integration astroweather which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant
2024-03-21 10:53:39.263 WARNING (SyncWorker_0) [homeassistant.loader] We found a custom integration alarmo which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant
2024-03-21 10:53:39.264 WARNING (SyncWorker_0) [homeassistant.loader] We found a custom integration alexa_media which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant
2024-03-21 10:53:39.264 WARNING (SyncWorker_0) [homeassistant.loader] We found a custom integration nordpool which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant
2024-03-21 10:53:39.265 WARNING (SyncWorker_0) [homeassistant.loader] We found a custom integration adaptive_lighting which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant
2024-03-21 10:53:39.266 WARNING (SyncWorker_0) [homeassistant.loader] We found a custom integration watchman which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant
2024-03-21 10:53:45.549 WARNING (MainThread) [homeassistant.config_entries] Config entry ' for tuya integration could not authenticate: Authentication failed. Please re-authenticate.
2024-03-21 10:53:46.025 WARNING (MainThread) [homeassistant.components.alarm_control_panel] FORMAT_NUMBER was used from alarmo, this is a deprecated constant which will be removed in HA Core 2025.1. Use CodeFormat.NUMBER instead, please create a bug report at https://github.com/nielsfaber/alarmo/issues
2024-03-21 10:53:46.029 WARNING (MainThread) [homeassistant.components.alarm_control_panel] FORMAT_NUMBER was used from alarmo, this is a deprecated constant which will be removed in HA Core 2025.1. Use CodeFormat.NUMBER instead, please create a bug report at https://github.com/nielsfaber/alarmo/issues
2024-03-21 10:53:47.890 ERROR (MainThread) [homeassistant.util.logging] Exception in async_alarm_state_changed when dispatching 'alarmo_state_updated': ('1700421419', None, 'armed_home')
Traceback (most recent call last):
  File "/config/custom_components/alarmo/mqtt.py", line 61, in async_alarm_state_changed
    if not self._config[ATTR_MQTT][const.ATTR_ENABLED] or not new_state:
           ~~~~~~~~~~~~^^^^^^^^^^^
TypeError: 'NoneType' object is not subscriptable

2024-03-21 10:53:50.557 ERROR (SyncWorker_1) [homeassistant.components.nut] Failure getting NUT ups alias, Socket error.
2024-03-21 10:53:50.694 ERROR (MainThread) [homeassistant.config_entries] Error setting up entry  for roborock
Traceback (most recent call last):
  File "/usr/local/lib/python3.12/site-packages/aiohttp/connector.py", line 1173, in _create_direct_connection
    hosts = await asyncio.shield(host_resolved)
            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/site-packages/aiohttp/connector.py", line 884, in _resolve_host
    addrs = await self._resolver.resolve(host, port, family=self._family)
            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/site-packages/aiohttp/resolver.py", line 33, in resolve
    infos = await self._loop.getaddrinfo(
            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/asyncio/base_events.py", line 899, in getaddrinfo
    return await self.run_in_executor(
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/concurrent/futures/thread.py", line 58, in run
    result = self.fn(*self.args, **self.kwargs)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/socket.py", line 963, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
socket.gaierror: [Errno -3] Try again

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/config_entries.py", line 504, in async_setup
    result = await component.async_setup_entry(hass, self)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/components/roborock/__init__.py", line 36, in async_setup_entry
    home_data = await api_client.get_home_data(user_data)
                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/site-packages/roborock/web_api.py", line 201, in get_home_data
    home_id = await self._get_home_id(user_data)
              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/site-packages/roborock/web_api.py", line 181, in _get_home_id
    home_id_response = await home_id_request.request(
                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/site-packages/roborock/web_api.py", line 297, in request
    async with session.request(
  File "/usr/local/lib/python3.12/site-packages/aiohttp/client.py", line 1194, in __aenter__
    self._resp = await self._coro
                 ^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/site-packages/aiohttp/client.py", line 578, in _request
    conn = await self._connector.connect(
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/site-packages/aiohttp/connector.py", line 544, in connect
    proto = await self._create_connection(req, traces, timeout)
            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/site-packages/aiohttp/connector.py", line 911, in _create_connection
    _, proto = await self._create_direct_connection(req, traces, timeout)
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/site-packages/aiohttp/connector.py", line 1187, in _create_direct_connection
    raise ClientConnectorError(req.connection_key, exc) from exc
aiohttp.client_exceptions.ClientConnectorError: Cannot connect to host euiot.roborock.com:443 ssl:default [Try again]
2024-03-21 10:53:50.712 ERROR (MainThread) [metno] Access to https://aa015h6buqvih86i1.api.met.no/weatherapi/locationforecast/2.0/complete returned error 'ClientConnectorError'
2024-03-21 10:53:51.535 WARNING (SyncWorker_2) [homeconnect] Token expired.
2024-03-21 10:53:53.202 ERROR (Thread-4) [pychromecast.socket_client] [SHIELD(96b49e67-320a-0408-c61b-01585aa69646.local.):8009] Failed to connect to service MDNSServiceInfo(name='SHIELD-Android-TV-96b49e67320a0408c61b01585aa69646._googlecast._tcp.local.'), retrying in 5.0s
2024-03-21 10:53:53.550 ERROR (MainThread) [custom_components.hacs] Request exception for 'https://api.github.com/rate_limit' with - Cannot connect to host api.github.com:443 ssl:default [Try again]
Traceback (most recent call last):
  File "/config/custom_components/hacs/base.py", line 464, in async_can_update
    response = await self.async_github_api_method(self.githubapi.rate_limit)
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/config/custom_components/hacs/base.py", line 522, in async_github_api_method
    raise HacsException(_exception)
custom_components.hacs.exceptions.HacsException: Request exception for 'https://api.github.com/rate_limit' with - Cannot connect to host api.github.com:443 ssl:default [Try again]
2024-03-21 10:53:53.557 WARNING (MainThread) [homeassistant.helpers.frame] Detected that custom integration 'hacs' accesses hass.components.frontend. This is deprecated and will stop working in Home Assistant 2024.9, it should be updated to import functions used from frontend directly at custom_components/hacs/frontend.py, line 58: hass.components.frontend.async_register_built_in_panel(, please create a bug report at https://github.com/hacs/integration/issues
2024-03-21 10:53:56.543 ERROR (MainThread) [homeassistant.config_entries] Error setting up entry Home Assistant for home_connect
Traceback (most recent call last):
  File "/usr/local/lib/python3.12/site-packages/aiohttp/connector.py", line 1173, in _create_direct_connection
    hosts = await asyncio.shield(host_resolved)
            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/site-packages/aiohttp/connector.py", line 884, in _resolve_host
    addrs = await self._resolver.resolve(host, port, family=self._family)
            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/site-packages/aiohttp/resolver.py", line 33, in resolve
    infos = await self._loop.getaddrinfo(
            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/asyncio/base_events.py", line 899, in getaddrinfo
    return await self.run_in_executor(
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/concurrent/futures/thread.py", line 58, in run
    result = self.fn(*self.args, **self.kwargs)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/socket.py", line 963, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
socket.gaierror: [Errno -3] Try again

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/config_entries.py", line 504, in async_setup
    result = await component.async_setup_entry(hass, self)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/components/home_connect/__init__.py", line 229, in async_setup_entry
    await update_all_devices(hass, entry)
  File "/usr/src/homeassistant/homeassistant/components/home_connect/__init__.py", line 253, in update_all_devices
    await hass.async_add_executor_job(hc_api.get_devices)
  File "/usr/local/lib/python3.12/concurrent/futures/thread.py", line 58, in run
    result = self.fn(*self.args, **self.kwargs)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/components/home_connect/api.py", line 70, in get_devices
    appl = self.get_appliances()
           ^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/site-packages/homeconnect/api.py", line 136, in get_appliances
    data = self.get(ENDPOINT_APPLIANCES)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/site-packages/homeconnect/api.py", line 83, in get
    res = self.request("get", endpoint)
          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/site-packages/homeconnect/api.py", line 77, in request
    self._oauth.token = self.refresh_tokens()
                        ^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/components/home_connect/api.py", line 64, in refresh_tokens
    ).result()
      ^^^^^^^^
  File "/usr/local/lib/python3.12/concurrent/futures/_base.py", line 456, in result
    return self.__get_result()
           ^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/concurrent/futures/_base.py", line 401, in __get_result
    raise self._exception
  File "/usr/src/homeassistant/homeassistant/helpers/config_entry_oauth2_flow.py", line 519, in async_ensure_token_valid
    new_token = await self.implementation.async_refresh_token(self.token)
                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/helpers/config_entry_oauth2_flow.py", line 94, in async_refresh_token
    new_token = await self._async_refresh_token(token)
                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/helpers/config_entry_oauth2_flow.py", line 184, in _async_refresh_token
    new_token = await self._token_request(
                ^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/helpers/config_entry_oauth2_flow.py", line 203, in _token_request
    resp = await session.post(self.token_url, data=data)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/site-packages/aiohttp/client.py", line 578, in _request
    conn = await self._connector.connect(
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/site-packages/aiohttp/connector.py", line 544, in connect
    proto = await self._create_connection(req, traces, timeout)
            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/site-packages/aiohttp/connector.py", line 911, in _create_connection
    _, proto = await self._create_direct_connection(req, traces, timeout)
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/site-packages/aiohttp/connector.py", line 1187, in _create_direct_connection
    raise ClientConnectorError(req.connection_key, exc) from exc
aiohttp.client_exceptions.ClientConnectorError: Cannot connect to host api.home-connect.com:443 ssl:default [Try again]
2024-03-21 10:53:57.305 WARNING (MainThread) [zigpy.application] Zigbee channel 23 utilization is 88.70%!
2024-03-21 10:53:57.305 WARNING (MainThread) [zigpy.application] If you are having problems joining new devices, are missing sensor updates, or have issues keeping devices joined, ensure your coordinator is away from interference sources such as USB 3.0 devices, SSDs, WiFi routers, etc.
2024-03-21 10:54:45.426 WARNING (MainThread) [hass_nabucasa.iot] Cannot connect because unable to refresh token: 
2024-03-21 10:54:47.453 ERROR (MainThread) [hass_nabucasa.remote] Can't update remote details from Home Assistant cloud (timeout)
2024-03-21 10:55:01.402 ERROR (SyncWorker_5) [homeassistant.util.package] Unable to install package pyastroweatherio==0.42.5: WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.HTTPSConnection object at 0x7f1815808080>: Failed to establish a new connection: [Errno -3] Try again')': /simple/pyastroweatherio/
WARNING: Retrying (Retry(total=3, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.HTTPSConnection object at 0x7f18157e3ad0>: Failed to establish a new connection: [Errno -3] Try again')': /simple/pyastroweatherio/
WARNING: Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.HTTPSConnection object at 0x7f1814a54620>: Failed to establish a new connection: [Errno -3] Try again')': /simple/pyastroweatherio/
WARNING: Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.HTTPSConnection object at 0x7f1814a54650>: Failed to establish a new connection: [Errno -3] Try again')': /simple/pyastroweatherio/
WARNING: Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.HTTPSConnection object at 0x7f1814a54830>: Failed to establish a new connection: [Errno -3] Try again')': /simple/pyastroweatherio/
WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.HTTPSConnection object at 0x7f1814a54a10>: Failed to establish a new connection: [Errno -3] Try again')': /musllinux-index/pyastroweatherio/
WARNING: Retrying (Retry(total=3, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.HTTPSConnection object at 0x7f1814a54e00>: Failed to establish a new connection: [Errno -3] Try again')': /musllinux-index/pyastroweatherio/
WARNING: Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.HTTPSConnection object at 0x7f1814a55010>: Failed to establish a new connection: [Errno -3] Try again')': /musllinux-index/pyastroweatherio/
WARNING: Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.HTTPSConnection object at 0x7f1814a55220>: Failed to establish a new connection: [Errno -3] Try again')': /musllinux-index/pyastroweatherio/
WARNING: Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.HTTPSConnection object at 0x7f1814a55490>: Failed to establish a new connection: [Errno -3] Try again')': /musllinux-index/pyastroweatherio/
ERROR: Could not find a version that satisfies the requirement pyastroweatherio==0.42.5 (from versions: none)
ERROR: No matching distribution found for pyastroweatherio==0.42.5
2024-03-21 10:55:23.652 WARNING (MainThread) [hass_nabucasa.iot] Cannot connect because unable to refresh token: 
2024-03-21 10:55:27.456 ERROR (MainThread) [hass_nabucasa.remote] Can't update remote details from Home Assistant cloud (timeout)
2024-03-21 10:56:01.526 ERROR (MainThread) [homeassistant.components.websocket_api.http.connection] [139914181853632] Error updating Z-Wave JS: 'BackupManager.do_backup_partial' blocked from execution, system is not running - startup
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/components/hassio/update.py", line 167, in async_install
    await async_update_addon(self.hass, slug=self._addon_slug, backup=backup)
  File "/usr/src/homeassistant/homeassistant/components/hassio/handler.py", line 58, in _wrapper
    data = await funct(*argv, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/components/hassio/handler.py", line 135, in async_update_addon
    return await hassio.send_command(
           ^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/components/hassio/handler.py", line 592, in send_command
    raise HassioAPIError(error.get(ATTR_MESSAGE))
homeassistant.components.hassio.handler.HassioAPIError: 'BackupManager.do_backup_partial' blocked from execution, system is not running - startup

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/components/websocket_api/commands.py", line 239, in handle_call_service
    response = await hass.services.async_call(
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/core.py", line 2319, in async_call
    response_data = await coro
                    ^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/core.py", line 2356, in _execute_service
    return await target(service_call)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 905, in entity_service_call
    single_response = await _handle_entity_call(
                      ^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 975, in _handle_entity_call
    result = await task
             ^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/components/update/__init__.py", line 161, in async_install
    await entity.async_install_with_progress(version, backup)
  File "/usr/src/homeassistant/homeassistant/components/update/__init__.py", line 465, in async_install_with_progress
    await self.async_install(version, backup)
  File "/usr/src/homeassistant/homeassistant/components/hassio/update.py", line 169, in async_install
    raise HomeAssistantError(f"Error updating {self.title}: {err}") from err
homeassistant.exceptions.HomeAssistantError: Error updating Z-Wave JS: 'BackupManager.do_backup_partial' blocked from execution, system is not running - startup
2024-03-21 10:56:06.572 WARNING (MainThread) [hass_nabucasa.iot] Cannot connect because unable to refresh token: 
2024-03-21 10:56:07.460 ERROR (MainThread) [hass_nabucasa.remote] Can't update remote details from Home Assistant cloud (timeout)
2024-03-21 10:56:18.521 ERROR (SyncWorker_5) [homeassistant.util.package] Unable to install package pyastroweatherio==0.42.5: WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.HTTPSConnection object at 0x7fce8b8683b0>: Failed to establish a new connection: [Errno -3] Try again')': /simple/pyastroweatherio/
WARNING: Retrying (Retry(total=3, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.HTTPSConnection object at 0x7fce8944ec90>: Failed to establish a new connection: [Errno -3] Try again')': /simple/pyastroweatherio/
WARNING: Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.HTTPSConnection object at 0x7fce8932c680>: Failed to establish a new connection: [Errno -3] Try again')': /simple/pyastroweatherio/
WARNING: Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.HTTPSConnection object at 0x7fce8932c350>: Failed to establish a new connection: [Errno -3] Try again')': /simple/pyastroweatherio/
WARNING: Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.HTTPSConnection object at 0x7fce8932c890>: Failed to establish a new connection: [Errno -3] Try again')': /simple/pyastroweatherio/
WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.HTTPSConnection object at 0x7fce8932cbc0>: Failed to establish a new connection: [Errno -3] Try again')': /musllinux-index/pyastroweatherio/
WARNING: Retrying (Retry(total=3, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.HTTPSConnection object at 0x7fce8932cec0>: Failed to establish a new connection: [Errno -3] Try again')': /musllinux-index/pyastroweatherio/
WARNING: Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.HTTPSConnection object at 0x7fce8932d0d0>: Failed to establish a new connection: [Errno -3] Try again')': /musllinux-index/pyastroweatherio/
WARNING: Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.HTTPSConnection object at 0x7fce8932d2e0>: Failed to establish a new connection: [Errno -3] Try again')': /musllinux-index/pyastroweatherio/
WARNING: Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.HTTPSConnection object at 0x7fce8932d550>: Failed to establish a new connection: [Errno -3] Try again')': /musllinux-index/pyastroweatherio/
ERROR: Could not find a version that satisfies the requirement pyastroweatherio==0.42.5 (from versions: none)
ERROR: No matching distribution found for pyastroweatherio==0.42.5
2024-03-21 10:56:21.495 ERROR (MainThread) [homeassistant.components.hassio] Failed to to call /store/addons/core_zwave_js/update - 'BackupManager.do_backup_partial' blocked from execution, system is not running - startup
2024-03-21 10:56:47.462 ERROR (MainThread) [hass_nabucasa.remote] Can't update remote details from Home Assistant cloud (timeout)
2024-03-21 10:56:51.498 WARNING (MainThread) [hass_nabucasa.iot] Cannot connect because unable to refresh token: 
2024-03-21 10:57:27.465 ERROR (MainThread) [hass_nabucasa.remote] Can't update remote details from Home Assistant cloud (timeout)
2024-03-21 10:57:35.652 ERROR (SyncWorker_5) [homeassistant.util.package] Unable to install package pyastroweatherio==0.42.5: WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.HTTPSConnection object at 0x7f507044c8c0>: Failed to establish a new connection: [Errno -3] Try again')': /simple/pyastroweatherio/
WARNING: Retrying (Retry(total=3, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.HTTPSConnection object at 0x7f506f594290>: Failed to establish a new connection: [Errno -3] Try again')': /simple/pyastroweatherio/
WARNING: Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.HTTPSConnection object at 0x7f506f594830>: Failed to establish a new connection: [Errno -3] Try again')': /simple/pyastroweatherio/
WARNING: Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.HTTPSConnection object at 0x7f506f594950>: Failed to establish a new connection: [Errno -3] Try again')': /simple/pyastroweatherio/
WARNING: Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.HTTPSConnection object at 0x7f506f594bf0>: Failed to establish a new connection: [Errno -3] Try again')': /simple/pyastroweatherio/
WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.HTTPSConnection object at 0x7f506f594ef0>: Failed to establish a new connection: [Errno -3] Try again')': /musllinux-index/pyastroweatherio/
WARNING: Retrying (Retry(total=3, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.HTTPSConnection object at 0x7f506f5951c0>: Failed to establish a new connection: [Errno -3] Try again')': /musllinux-index/pyastroweatherio/
WARNING: Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.HTTPSConnection object at 0x7f506f595340>: Failed to establish a new connection: [Errno -3] Try again')': /musllinux-index/pyastroweatherio/
WARNING: Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.HTTPSConnection object at 0x7f506f5955b0>: Failed to establish a new connection: [Errno -3] Try again')': /musllinux-index/pyastroweatherio/
WARNING: Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.HTTPSConnection object at 0x7f506f595820>: Failed to establish a new connection: [Errno -3] Try again')': /musllinux-index/pyastroweatherio/
ERROR: Could not find a version that satisfies the requirement pyastroweatherio==0.42.5 (from versions: none)
ERROR: No matching distribution found for pyastroweatherio==0.42.5
2024-03-21 10:57:35.653 ERROR (MainThread) [homeassistant.setup] Setup failed for custom integration 'astroweather': Requirements for astroweather not found: ['pyastroweatherio==0.42.5'].

Whatever this was it was not HA related, it was docker related. Solved by installing a new HA image from scratch on a new VM in docker and loading my backup to the new installation.

1 Like