Since a couple of weeks HA won’t come available again after a restart. Only a hard reset of my rpi4 will help.
On the first try the supervisor logs will read
2025-05-09 13:00:49.123 INFO (SyncWorker_2) [supervisor.docker.manager] Restarting homeassistant
2025-05-09 13:00:49.281 INFO (MainThread) [supervisor.api.proxy] [d5369777_music_assistant] Home Assistant WebSocket API closed
2025-05-09 13:01:12.476 INFO (MainThread) [supervisor.homeassistant.core] Wait until Home Assistant is ready
2025-05-09 13:01:22.508 ERROR (MainThread) [supervisor.homeassistant.core] Home Assistant has crashed!
2025-05-09 13:02:55.552 INFO (MainThread) [supervisor.api.middleware.security] /network/info access from core_ssh
2025-05-09 13:02:55.558 INFO (MainThread) [supervisor.api.middleware.security] /network/info access from core_ssh
2025-05-09 13:02:55.562 INFO (MainThread) [supervisor.api.middleware.security] /host/info access from core_ssh
2025-05-09 13:02:55.570 INFO (MainThread) [supervisor.api.middleware.security] /core/info access from core_ssh
2025-05-09 13:08:38.086 INFO (MainThread) [supervisor.api.middleware.security] /supervisor/logs access from core_ssh
Note the “Home Assistant has crashed!” line.
After a hard reset the supervisor logs will show
2025-05-09 13:31:43.032 INFO (MainThread) [supervisor.core] Start Home Assistant Core
2025-05-09 13:31:43.084 INFO (SyncWorker_5) [supervisor.docker.manager] Starting homeassistant
2025-05-09 13:31:43.360 INFO (MainThread) [supervisor.homeassistant.core] Wait until Home Assistant is ready
2025-05-09 13:31:53.387 ERROR (MainThread) [supervisor.homeassistant.core] Home Assistant has crashed!
2025-05-09 13:31:53.389 ERROR (MainThread) [supervisor.core] Can't start Home Assistant Core - rebuiling
2025-05-09 13:31:53.423 INFO (SyncWorker_4) [supervisor.docker.manager] Cleaning homeassistant application
Note the “rebuilding” line.
The core logs will show errors that might be related but don’t really help me
2025-05-09 13:00:59.184 ERROR (MainThread) [homeassistant] Error doing job: Task exception was never retrieved (None)
Traceback (most recent call last):
File "/usr/local/lib/python3.13/site-packages/aiohttp/client_reqrep.py", line 1059, in start
message, payload = await protocol.read() # type: ignore[union-attr]
^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.13/site-packages/aiohttp/streams.py", line 672, in read
await self._waiter
asyncio.exceptions.CancelledError
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/usr/local/lib/python3.13/site-packages/aiohasupervisor/client.py", line 120, in _request
response = await self.session.request(
^^^^^^^^^^^^^^^^^^^^^^^^^^^
...<7 lines>...
)
^
File "/usr/local/lib/python3.13/site-packages/aiohttp/client.py", line 730, in _request
await resp.start(conn)
File "/usr/local/lib/python3.13/site-packages/aiohttp/client_reqrep.py", line 1054, in start
with self._timer:
^^^^^^^^^^^
File "/usr/local/lib/python3.13/site-packages/aiohttp/helpers.py", line 685, in __exit__
raise asyncio.TimeoutError from exc_val
TimeoutError
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 1110, in _async_admin_handler
await result
File "/usr/src/homeassistant/homeassistant/components/homeassistant/__init__.py", line 213, in async_handle_core_service
await stop_handler(hass, True)
File "/usr/src/homeassistant/homeassistant/components/hassio/__init__.py", line 479, in _async_stop
await supervisor_client.homeassistant.restart()
File "/usr/local/lib/python3.13/site-packages/aiohasupervisor/homeassistant.py", line 40, in restart
await self._client.post(
"core/restart", json=options.to_dict() if options else None
)
File "/usr/local/lib/python3.13/site-packages/aiohasupervisor/client.py", line 182, in post
return await self._request(
^^^^^^^^^^^^^^^^^^^^
...<7 lines>...
)
^
File "/usr/local/lib/python3.13/site-packages/aiohasupervisor/client.py", line 148, in _request
raise SupervisorTimeoutError("Timeout connecting to Supervisor") from err
aiohasupervisor.exceptions.SupervisorTimeoutError: Timeout connecting to Supervisor
Note the “timeout connecting to supervisor” line
I’ve tried enabling debug logging for core components and the built-in debug mode as described in this guide. When up and running the logs don’t show anything weird.
Any help would be appreciated in pointing me in the direction of a solution.
Reinstalling home assistant and restoring a backup would be a last resort, since it will not help me when this happens again.
Currently on 2025.5.1 on a rpi4 with SSD. But the issue has been around for a while now on different versions