Hello everyone,
I have Home Assistant installed on a MiniPC U95 with 16GB of RAM. While everything generally works fine, I’m encountering an issue when I need to restart the system. Sometimes it takes an unusually long time (up to an hour) to come back online, or it doesn’t complete the restart at all. In these cases, I have to forcibly power it off and turn it back on to get it working again.
Occasionally, it does restart but shows a message saying not everything was initialized. In Node-RED, I get a message saying the core is unavailable.
After this forced restart, the system usually works normally for a while. Some restarts go smoothly, but after a few days, the issue returns. If I need to restart, I find myself waiting for an hour, unsure if it will recover or not.
Below is a log from one of these incidents:
- I commanded the restart at 09:14:42, but by 09:46:56, it still hadn’t come back online. I then powered it off forcibly by unplugging it, and it rebooted normally afterward.
Has anyone else experienced similar issues, or does anyone have ideas about what could be causing this?
Thanks in advance for any help!
2025-01-15 09:14:42.917 INFO (SyncWorker_0) [supervisor.docker.manager] Restarting homeassistant
2025-01-15 09:14:42.971 INFO (MainThread) [supervisor.api.proxy] Home Assistant WebSocket API for a0d7b954_nodered closed
2025-01-15 09:14:42.973 INFO (MainThread) [supervisor.api.proxy] Home Assistant WebSocket API for a0d7b954_nodered closed
2025-01-15 09:14:42.974 INFO (MainThread) [supervisor.api.proxy] Home Assistant WebSocket API for a0d7b954_nodered closed
2025-01-15 09:15:10.734 ERROR (MainThread) [aiohttp.server] Error handling request
Traceback (most recent call last):
File "/usr/local/lib/python3.12/asyncio/selector_events.py", line 1003, in _read_ready__data_received
data = self._sock.recv(self.max_size)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ConnectionResetError: [Errno 104] Connection reset by peer
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/usr/local/lib/python3.12/site-packages/aiohttp/web_protocol.py", line 480, in _handle_request
resp = await request_handler(request)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/aiohttp/web_app.py", line 569, in _handle
return await handler(request)
^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/aiohttp/web_middlewares.py", line 117, in impl
return await handler(request)
^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/supervisor/supervisor/api/middleware/security.py", line 199, in block_bad_requests
return await handler(request)
^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/supervisor/supervisor/api/middleware/security.py", line 215, in system_validation
return await handler(request)
^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/supervisor/supervisor/api/middleware/security.py", line 285, in token_validation
return await handler(request)
^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/supervisor/supervisor/api/middleware/security.py", line 298, in core_proxy
return await handler(request)
^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/supervisor/supervisor/api/utils.py", line 104, in wrap_api
msg_data = await method(api, *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/supervisor/supervisor/api/host.py", line 278, in advanced_logs
return await self.advanced_logs_handler(request, identifier, follow)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/supervisor/supervisor/api/host.py", line 266, in advanced_logs_handler
await response.write(line.encode("utf-8") + b"\n")
File "/usr/local/lib/python3.12/site-packages/aiohttp/web_response.py", line 550, in write
await self._payload_writer.write(data)
File "/usr/local/lib/python3.12/site-packages/aiohttp/http_writer.py", line 141, in write
await self.drain()
File "/usr/local/lib/python3.12/site-packages/aiohttp/http_writer.py", line 207, in drain
await protocol._drain_helper()
File "/usr/local/lib/python3.12/site-packages/aiohttp/base_protocol.py", line 100, in _drain_helper
await asyncio.shield(waiter)
ConnectionError: Connection lost
2025-01-15 09:15:47.656 INFO (MainThread) [supervisor.homeassistant.core] Wait until Home Assistant is ready
2025-01-15 09:18:48.029 ERROR (MainThread) [supervisor.homeassistant.core] No Home Assistant Core response, assuming a fatal startup error
2025-01-15 09:26:43.605 INFO (MainThread) [supervisor.host.info] Updating local host information
2025-01-15 09:26:44.028 INFO (MainThread) [supervisor.host.services] Updating service information
2025-01-15 09:26:44.033 INFO (MainThread) [supervisor.host.network] Updating local network information
2025-01-15 09:26:44.110 INFO (MainThread) [supervisor.host.sound] Updating PulseAudio information
2025-01-15 09:26:44.115 INFO (MainThread) [supervisor.host.manager] Host information reload completed
2025-01-15 09:36:10.921 INFO (MainThread) [supervisor.resolution.evaluate] Starting system evaluation with state running
2025-01-15 09:36:11.063 INFO (MainThread) [supervisor.resolution.evaluate] System evaluation complete
2025-01-15 09:36:11.372 INFO (MainThread) [supervisor.homeassistant.api] Updated Home Assistant API token
2025-01-15 09:36:16.386 INFO (MainThread) [supervisor.api.proxy] Home Assistant WebSocket API request initialize
2025-01-15 09:36:16.388 INFO (MainThread) [supervisor.api.proxy] Home Assistant WebSocket API request initialize
2025-01-15 09:36:16.389 INFO (MainThread) [supervisor.api.proxy] Home Assistant WebSocket API request initialize
2025-01-15 09:36:16.392 INFO (MainThread) [supervisor.api.proxy] WebSocket access from a0d7b954_nodered
2025-01-15 09:36:16.394 INFO (MainThread) [supervisor.api.proxy] WebSocket access from a0d7b954_nodered
2025-01-15 09:36:16.395 INFO (MainThread) [supervisor.api.proxy] WebSocket access from a0d7b954_nodered
2025-01-15 09:36:16.397 INFO (MainThread) [supervisor.api.proxy] Home Assistant WebSocket API request running
2025-01-15 09:36:16.398 INFO (MainThread) [supervisor.api.proxy] Home Assistant WebSocket API request running
2025-01-15 09:36:16.398 INFO (MainThread) [supervisor.api.proxy] Home Assistant WebSocket API request running
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/udev.sh
[12:46:55] INFO: Using udev information from host
cont-init: info: /etc/cont-init.d/udev.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 supervisor (no readiness notification)
services-up: info: copying legacy longrun watchdog (no readiness notification)
[12:46:55] INFO: Starting local supervisor watchdog...
s6-rc: info: service legacy-services successfully started
2025-01-15 12:46:56.726 INFO (MainThread) [__main__] Initializing Supervisor setup
2025-01-15 09:46:56.793 INFO (MainThread) [supervisor.bootstrap] Setting up coresys for machine: generic-x86-64
2025-01-15 09:46:56.797 INFO (MainThread) [supervisor.docker.supervisor] Attaching to Supervisor ghcr.io/home-assistant/amd64-hassio-supervisor with version 2024.12.3
2025-01-15 09:46:56.816 INFO (MainThread) [supervisor.resolution.evaluate] Starting system evaluation with state initialize
2025-01-15 09:46:56.817 INFO (MainThread) [supervisor.resolution.evaluate] System evaluation complete
2025-01-15 09:46:56.817 INFO (MainThread) [__main__] Setting up Supervisor
2025-01-15 09:46:56.954 INFO (MainThread) [supervisor.api] Starting API on 172.30.32.2
2025-01-15 09:46:57.011 INFO (MainThread) [supervisor.hardware.monitor] Started Supervisor hardware monitor
2025-01-15 09:46:57.012 INFO (MainThread) [supervisor.dbus.manager] Connected to system D-Bus.
2025-01-15 09:46:57.012 INFO (MainThread) [supervisor.dbus.agent] Load dbus interface io.hass.os
2025-01-15 09:46:57.013 INFO (MainThread) [supervisor.dbus.hostname] Load dbus interface org.freedesktop.hostname1
2025-01-15 09:46:57.013 INFO (MainThread) [supervisor.dbus.logind] Load dbus interface org.freedesktop.login1
2025-01-15 09:46:57.014 INFO (MainThread) [supervisor.dbus.network] Load dbus interface org.freedesktop.NetworkManager
2025-01-15 09:46:57.014 INFO (MainThread) [supervisor.dbus.rauc] Load dbus interface de.pengutronix.rauc
2025-01-15 09:46:57.014 INFO (MainThread) [supervisor.dbus.resolved] Load dbus interface org.freedesktop.resolve1
2025-01-15 09:46:57.015 INFO (MainThread) [supervisor.dbus.systemd] Load dbus interface org.freedesktop.systemd1