HA unavailable in seeemingly randow intervals - why does it crash?

Hello, sorry in advance for the long post but there are many logs and information in it.

I have been running HA on a Pi4 with an USB3 SSD for nearly 1 year now, and now I begin to see random “freezes” of HA, unavailability on the network and even complete non-functionality.
I haven’t changed a lot since the issues appeared, here are my system infos:

System Information

version core-2024.3.3
installation_type Home Assistant OS
dev false
hassio true
docker true
user root
virtualenv false
python_version 3.12.2
os_name Linux
os_version 6.1.73-haos-raspi
arch aarch64
timezone Europe/Berlin
config_dir /config
Home Assistant Community Store
GitHub API ok
GitHub Content ok
GitHub Web ok
GitHub API Calls Remaining 4762
Installed Version 1.34.0
Stage running
Available Repositories 1401
Downloaded Repositories 43
Home Assistant Cloud
logged_in false
can_reach_cert_server ok
can_reach_cloud_auth ok
can_reach_cloud ok
Home Assistant Supervisor
host_os Home Assistant OS 12.1
update_channel stable
supervisor_version supervisor-2024.03.0
agent_version 1.6.0
docker_version 24.0.7
disk_total 916.2 GB
disk_used 68.3 GB
healthy true
supported true
board rpi4-64
supervisor_api ok
version_api ok
installed_addons Advanced SSH & Web Terminal (17.2.0), File editor (5.8.0), Mosquitto broker (6.4.0), ESPHome (2024.3.1), Node-RED (17.0.10), Matter Server (5.4.1), MQTT Explorer (browser-1.0.3), Studio Code Server (5.15.0), Tailscale with features (0.16.1.1), Samba share (12.3.1), Zigbee2MQTT (1.36.0-1), motionEye (0.20.0), Music Assistant BETA (2.0.0b125), Piper (1.5.0)
Dashboards
dashboards 5
resources 24
views 19
mode storage
Recorder
oldest_recorder_run 17. März 2024 um 12:46
current_recorder_run 27. März 2024 um 06:55
estimated_db_size 974.95 MiB
database_engine sqlite
database_version 3.44.2

Here are the supervisor logs where the issues were logged:

Logs

e[32m24-03-27 06:25:38 INFO (MainThread) [supervisor.docker.addon] Starting Docker add-on ghcr.io/music-assistant/server with version 2.0.0b125e[0m e[32m24-03-27 06:25:39 INFO (MainThread) [supervisor.updater] Fetching update data from https://version.home-assistant.io/stable.jsone[0m e[32m24-03-27 06:25:39 INFO (MainThread) [supervisor.store.git] Update add-on https://github.com/Draggon/hassio-hdd-tools repositorye[0m e[32m24-03-27 06:25:39 INFO (MainThread) [supervisor.store.git] Update add-on https://github.com/music-assistant/home-assistant-addon repositorye[0m e[32m24-03-27 06:25:39 INFO (MainThread) [supervisor.store.git] Update add-on https://github.com/arnonym/ha-plugins repositorye[0m e[32m24-03-27 06:25:39 INFO (MainThread) [supervisor.store.git] Update add-on https://github.com/lmagyar/homeassistant-addon-tailscale repositorye[0m e[32m24-03-27 06:25:39 INFO (MainThread) [supervisor.store.git] Update add-on https://github.com/zigbee2mqtt/hassio-zigbee2mqtt repositorye[0m e[32m24-03-27 06:25:39 INFO (MainThread) [supervisor.store.git] Update add-on https://github.com/GollumDom/addon-repository repositorye[0m e[32m24-03-27 06:25:39 INFO (MainThread) [supervisor.store.git] Update add-on https://github.com/esphome/home-assistant-addon repositorye[0m e[32m24-03-27 06:25:39 INFO (MainThread) [supervisor.store.git] Update add-on https://github.com/hassio-addons/repository repositorye[0m e[32m24-03-27 06:25:39 INFO (MainThread) [supervisor.store.git] Update add-on https://github.com/home-assistant/addons repositorye[0m e[33m24-03-27 06:25:47 WARNING (MainThread) [supervisor.api.middleware.security] No API token provided for /coree[0m e[32m24-03-27 06:26:00 INFO (MainThread) [supervisor.store] Loading add-ons from store: 88 all - 0 new - 0 removee[0m e[32m24-03-27 06:26:00 INFO (MainThread) [supervisor.store] Loading add-ons from store: 88 all - 0 new - 0 removee[0m e[33m24-03-27 06:26:01 WARNING (MainThread) [supervisor.addons.options] Option 'advanced_config' does not exist in the schema for Tailscale with features (09716aab_tailscale)e[0m e[33m24-03-27 06:26:01 WARNING (MainThread) [supervisor.addons.options] Unknown option 'log' for Zigbee2MQTT (45df7312_zigbee2mqtt)e[0m e[33m24-03-27 06:26:01 WARNING (MainThread) [supervisor.addons.options] Option 'enable_uvloop' does not exist in the schema for Music Assistant BETA (d5369777_music_assistant_beta)e[0m e[32m24-03-27 06:28:56 INFO (MainThread) [supervisor.resolution.check] Starting system checks with state runninge[0m e[32m24-03-27 06:28:56 INFO (MainThread) [supervisor.resolution.checks.base] Run check for ipv4_connection_problem/systeme[0m e[32m24-03-27 06:28:56 INFO (MainThread) [supervisor.resolution.checks.base] Run check for trust/supervisore[0m e[32m24-03-27 06:28:56 INFO (MainThread) [supervisor.resolution.checks.base] Run check for dns_server_ipv6_error/dns_servere[0m e[32m24-03-27 06:28:56 INFO (MainThread) [supervisor.resolution.checks.base] Run check for free_space/systeme[0m e[32m24-03-27 06:28:56 INFO (MainThread) [supervisor.resolution.checks.base] Run check for security/coree[0m e[32m24-03-27 06:28:56 INFO (MainThread) [supervisor.resolution.checks.base] Run check for no_current_backup/systeme[0m e[32m24-03-27 06:28:56 INFO (MainThread) [supervisor.resolution.checks.base] Run check for dns_server_failed/dns_servere[0m e[32m24-03-27 06:28:56 INFO (MainThread) [supervisor.resolution.checks.base] Run check for multiple_data_disks/systeme[0m e[32m24-03-27 06:28:56 INFO (MainThread) [supervisor.resolution.checks.base] Run check for docker_config/systeme[0m e[32m24-03-27 06:28:56 INFO (MainThread) [supervisor.resolution.checks.base] Run check for pwned/addone[0m e[32m24-03-27 06:28:56 INFO (MainThread) [supervisor.resolution.check] System checks completee[0m e[32m24-03-27 06:28:56 INFO (MainThread) [supervisor.resolution.evaluate] Starting system evaluation with state runninge[0m e[32m24-03-27 06:28:57 INFO (MainThread) [supervisor.resolution.evaluate] System evaluation completee[0m e[32m24-03-27 06:28:57 INFO (MainThread) [supervisor.resolution.fixup] Starting system autofix at state runninge[0m e[32m24-03-27 06:28:57 INFO (MainThread) [supervisor.resolution.fixup] System autofix completee[0m e[32m24-03-27 06:30:32 INFO (MainThread) [supervisor.homeassistant.api] Updated Home Assistant API tokene[0m e[33m24-03-27 06:31:04 WARNING (MainThread) [supervisor.addons.options] Option 'advanced_config' does not exist in the schema for Tailscale with features (09716aab_tailscale)e[0m e[33m24-03-27 06:31:04 WARNING (MainThread) [supervisor.addons.options] Unknown option 'log' for Zigbee2MQTT (45df7312_zigbee2mqtt)e[0m e[33m24-03-27 06:31:04 WARNING (MainThread) [supervisor.addons.options] Option 'enable_uvloop' does not exist in the schema for Music Assistant BETA (d5369777_music_assistant_beta)e[0m e[33m24-03-27 06:36:04 WARNING (MainThread) [supervisor.addons.options] Option 'advanced_config' does not exist in the schema for Tailscale with features (09716aab_tailscale)e[0m e[33m24-03-27 06:36:04 WARNING (MainThread) [supervisor.addons.options] Unknown option 'log' for Zigbee2MQTT (45df7312_zigbee2mqtt)e[0m e[33m24-03-27 06:36:04 WARNING (MainThread) [supervisor.addons.options] Option 'enable_uvloop' does not exist in the schema for Music Assistant BETA (d5369777_music_assistant_beta)e[0m e[33m24-03-27 06:41:04 WARNING (MainThread) [supervisor.addons.options] Option 'advanced_config' does not exist in the schema for Tailscale with features (09716aab_tailscale)e[0m e[33m24-03-27 06:41:04 WARNING (MainThread) [supervisor.addons.options] Unknown option 'log' for Zigbee2MQTT (45df7312_zigbee2mqtt)e[0m e[33m24-03-27 06:41:04 WARNING (MainThread) [supervisor.addons.options] Option 'enable_uvloop' does not exist in the schema for Music Assistant BETA (d5369777_music_assistant_beta)e[0m e[32m24-03-27 06:41:44 INFO (MainThread) [supervisor.auth] Auth request from 'core_mosquitto' for 'aaron'e[0m e[32m24-03-27 06:41:45 INFO (MainThread) [supervisor.auth] Successful login for 'aaron'e[0m e[32m24-03-27 06:42:52 INFO (MainThread) [supervisor.host.info] Updating local host informatione[0m e[32m24-03-27 06:42:54 INFO (MainThread) [supervisor.host.services] Updating service informatione[0m e[32m24-03-27 06:42:54 INFO (MainThread) [supervisor.host.network] Updating local network informatione[0m e[32m24-03-27 06:42:55 INFO (MainThread) [supervisor.host.sound] Updating PulseAudio informatione[0m e[32m24-03-27 06:42:55 INFO (MainThread) [supervisor.host.manager] Host information reload completede[0m e[33m24-03-27 06:46:04 WARNING (MainThread) [supervisor.addons.options] Option 'advanced_config' does not exist in the schema for Tailscale with features (09716aab_tailscale)e[0m e[33m24-03-27 06:46:04 WARNING (MainThread) [supervisor.addons.options] Unknown option 'log' for Zigbee2MQTT (45df7312_zigbee2mqtt)e[0m e[33m24-03-27 06:46:04 WARNING (MainThread) [supervisor.addons.options] Option 'enable_uvloop' does not exist in the schema for Music Assistant BETA (d5369777_music_assistant_beta)e[0m e[32m24-03-27 06:48:40 INFO (MainThread) [supervisor.api.proxy] Home Assistant WebSocket API error: Cannot proxy websocket message of unsupported type: 257e[0m e[32m24-03-27 06:48:40 INFO (MainThread) [supervisor.api.proxy] Home Assistant WebSocket API for a0d7b954_nodered closede[0m e[31m24-03-27 06:48:47 ERROR (MainThread) [supervisor.homeassistant.api] Timeout on call http://172.30.32.1:8123/api/core/state.e[0m e[31m24-03-27 06:49:53 ERROR (MainThread) [supervisor.homeassistant.api] Timeout on call http://172.30.32.1:8123/api/core/state.e[0m e[31m24-03-27 06:50:00 ERROR (MainThread) [supervisor.homeassistant.api] Timeout on call http://172.30.32.1:8123/api/core/state.e[0m e[33m24-03-27 06:50:00 WARNING (MainThread) [supervisor.misc.tasks] Watchdog missed an Home Assistant Core API response.e[0m e[31m24-03-27 06:50:03 ERROR (MainThread) [supervisor.homeassistant.api] Timeout on call http://172.30.32.1:8123/api/core/state.e[0m e[31m24-03-27 06:50:53 ERROR (MainThread) [supervisor.homeassistant.api] Timeout on call http://172.30.32.1:8123/api/core/state.e[0m e[33m24-03-27 06:50:58 WARNING (MainThread) [supervisor.addons.addon] Watchdog found addon Piper is unhealthy, restarting...e[0m e[32m24-03-27 06:50:59 INFO (SyncWorker_5) [supervisor.docker.manager] Stopping addon_core_piper applicatione[0m e[33m24-03-27 06:51:07 WARNING (MainThread) [supervisor.addons.addon] Watchdog found addon File editor is unhealthy, restarting...e[0m e[32m24-03-27 06:51:07 INFO (SyncWorker_1) [supervisor.docker.manager] Stopping addon_core_configurator applicatione[0m e[32m24-03-27 06:51:10 INFO (SyncWorker_5) [supervisor.docker.manager] Cleaning addon_core_piper applicatione[0m e[32m24-03-27 06:51:16 INFO (SyncWorker_1) [supervisor.docker.manager] Cleaning addon_core_configurator applicatione[0m e[31m24-03-27 06:51:29 ERROR (MainThread) [supervisor.homeassistant.api] Timeout on call http://172.30.32.1:8123/api/core/state.e[0m e[31m24-03-27 06:51:31 ERROR (MainThread) [supervisor.homeassistant.api] Timeout on call http://172.30.32.1:8123/api/core/state.e[0m e[32m24-03-27 06:51:36 INFO (MainThread) [supervisor.docker.addon] Starting Docker add-on homeassistant/aarch64-addon-configurator with version 5.8.0e[0m e[32m24-03-27 06:51:36 INFO (MainThread) [supervisor.docker.addon] Starting Docker add-on homeassistant/aarch64-addon-piper with version 1.5.0e[0m e[31m24-03-27 06:52:09 ERROR (MainThread) [supervisor.homeassistant.api] Timeout on call http://172.30.32.1:8123/api/core/state.e[0m e[31m24-03-27 06:52:35 ERROR (MainThread) [supervisor.homeassistant.api] Timeout on call http://172.30.32.1:8123/api/core/state.e[0m e[31m24-03-27 06:52:35 ERROR (MainThread) [supervisor.misc.tasks] Watchdog missed 2 Home Assistant Core API responses in a row. Restarting Home Assistant Core API!e[0m e[31m24-03-27 06:52:36 ERROR (MainThread) [supervisor.homeassistant.api] Timeout on call http://172.30.32.1:8123/api/core/state.e[0m e[32m24-03-27 06:52:42 INFO (SyncWorker_6) [supervisor.docker.manager] Restarting homeassistante[0m e[31m24-03-27 06:52:46 ERROR (MainThread) [supervisor.homeassistant.api] Timeout on call http://172.30.32.1:8123/api/core/state.e[0m e[32m24-03-27 06:53:14 INFO (MainThread) [supervisor.auth] Auth request from 'core_mosquitto' for 'aaron'e[0m e[33m24-03-27 06:53:25 WARNING (MainThread) [supervisor.homeassistant.websocket] Connection is closede[0m e[32m24-03-27 06:53:26 INFO (MainThread) [supervisor.auth] Home Assistant not running, checking cachee[0m e[33m24-03-27 06:54:08 WARNING (MainThread) [supervisor.addons.options] Option 'advanced_config' does not exist in the schema for Tailscale with features (09716aab_tailscale)e[0m e[32m24-03-27 06:54:08 INFO (MainThread) [supervisor.api.middleware.security] /network/info access from 09716aab_tailscalee[0m e[32m24-03-27 06:54:09 INFO (MainThread) [supervisor.api.middleware.security] /network/interface/wlan0/info access from 09716aab_tailscalee[0m e[32m24-03-27 06:54:09 INFO (MainThread) [supervisor.api.middleware.security] /network/interface/end0/info access from 09716aab_tailscalee[0m e[32m24-03-27 06:55:35 INFO (MainThread) [supervisor.api.middleware.security] /network/info access from a0d7b954_sshe[0m e[32m24-03-27 06:55:35 INFO (MainThread) [supervisor.api.middleware.security] /network/info access from a0d7b954_sshe[0m e[32m24-03-27 06:55:35 INFO (MainThread) [supervisor.api.middleware.security] /host/info access from a0d7b954_sshe[0m e[32m24-03-27 06:55:36 INFO (MainThread) [supervisor.api.middleware.security] /core/info access from a0d7b954_sshe[0m e[32m24-03-27 06:55:39 INFO (MainThread) [supervisor.homeassistant.core] Wait until Home Assistant is readye[0m e[32m24-03-27 06:55:55 INFO (MainThread) [supervisor.resolution.evaluate] Starting system evaluation with state runninge[0m e[32m24-03-27 06:55:56 INFO (MainThread) [supervisor.homeassistant.core] Home Assistant Core state changed to NOT_RUNNINGe[0m e[32m24-03-27 06:55:57 INFO (MainThread) [supervisor.resolution.evaluate] System evaluation completee[0m e[33m24-03-27 06:55:58 WARNING (MainThread) [supervisor.addons.options] Option 'advanced_config' does not exist in the schema for Tailscale with features (09716aab_tailscale)e[0m e[33m24-03-27 06:55:58 WARNING (MainThread) [supervisor.addons.options] Unknown option 'log' for Zigbee2MQTT (45df7312_zigbee2mqtt)e[0m e[33m24-03-27 06:55:58 WARNING (MainThread) [supervisor.addons.options] Option 'enable_uvloop' does not exist in the schema for Music Assistant BETA (d5369777_music_assistant_beta)e[0m e[32m24-03-27 06:56:34 INFO (MainThread) [supervisor.api.proxy] Home Assistant WebSocket API request initializee[0m e[32m24-03-27 06:56:35 INFO (MainThread) [supervisor.api.proxy] WebSocket access from a0d7b954_noderede[0m e[32m24-03-27 06:56:37 INFO (MainThread) [supervisor.api.proxy] Home Assistant WebSocket API request runninge[0m e[32m24-03-27 06:56:37 INFO (MainThread) [supervisor.homeassistant.core] Home Assistant Core state changed to RUNNINGe[0m e[32m24-03-27 06:56:37 INFO (MainThread) [supervisor.homeassistant.core] Detect a running Home Assistant instancee[0m

I do not think it’s a network related issues since I can’t even control my Zigbee Hue bulbs with a Sonoff ZBDongle-P and a locally-attached USB keyboard when the failure happens.
What could the issue be here?

Best regards
Aaron Eisele

I did not see anything obvious in your logs. I would try these suggestions in this guide:

1 Like