Home Assistant can't finish startup after every update

Hello all,

I have a strange problem on my raspberry pi 3. It started with version 2021.09.X
I’m running Home Assistant OS on my raspberry.

After every update of Home Assistant Core, Home Assistant can’t finish its startup. For example it can’t finish the startup of the integration “automation”

To resolve this problem I have to restart the hole host/raspberry. After the host reboot, every restart of Home Assistant Core runs fine.

Attached you will find my current log and system health.

Thank you in advance

System health:

System Health

version: core-2021.10.1
installation_type: Home Assistant OS
dev: false
hassio: true
docker: true
user: root
virtualenv: false
python_version: 3.9.7
os_name: Linux
os_version: 5.10.17-v7
arch: armv7l
timezone: Europe/Berlin


GitHub API: ok
Github API Calls Remaining: 5000
Installed Version: 1.15.2
Stage: waiting
Available Repositories: 889
Installed Repositories: 17


logged_in: false
can_reach_cert_server: ok
can_reach_cloud_auth: ok
can_reach_cloud: ok


host_os: Home Assistant OS 6.4
update_channel: stable
supervisor_version: supervisor-2021.09.6
docker_version: 20.10.7
disk_total: 116.7 GB
disk_used: 21.2 GB
healthy: true
supported: true
board: rpi3
supervisor_api: ok
version_api: ok
installed_addons: Samba share (9.5.1), File editor (5.3.3), Dasshio (0.3.8), Terminal & SSH (9.2.1), deCONZ (6.10.0), ESPHome (2021.9.3), NGINX Home Assistant SSL proxy (3.0.1), DSS VoIP Notifier (3.5.9), Samba Backup (5.0.0), Nginx Proxy Manager (0.10.1), MariaDB (2.4.0), heimdall (0.1.2), WireGuard (0.5.1), Mosquitto broker (6.0.1), TooGoodToGo Home Assistant MQTT Bridge (1.7.0)


dashboards: 1
resources: 12
views: 7
mode: storage


api_endpoint_reachable: ok

Log:

2021-10-08 16:46:29 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
2021-10-08 16:46:29 WARNING (SyncWorker_1) [homeassistant.loader] We found a custom integration presence_simulation 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
2021-10-08 16:46:29 WARNING (SyncWorker_3) [homeassistant.loader] We found a custom integration illuminance 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
2021-10-08 16:46:29 WARNING (SyncWorker_4) [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
2021-10-08 16:46:29 WARNING (SyncWorker_2) [homeassistant.loader] We found a custom integration xiaomi_cloud_map_extractor 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
2021-10-08 16:46:29 WARNING (SyncWorker_6) [homeassistant.loader] We found a custom integration govee_ble_hci 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
2021-10-08 16:46:29 WARNING (SyncWorker_5) [homeassistant.loader] We found a custom integration car_wash 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
2021-10-08 16:46:52 WARNING (MainThread) [homeassistant.setup] Setup of automation is taking over 10 seconds.
2021-10-08 16:47:34 WARNING (MainThread) [homeassistant.bootstrap] Waiting on integrations to complete setup: automation
2021-10-08 16:48:37 WARNING (MainThread) [homeassistant.bootstrap] Waiting on integrations to complete setup: automation
2021-10-08 16:48:46 WARNING (MainThread) [homeassistant.components.webhook] Received message for unregistered webhook 30218a5ad9eedc698fdcb92e01cb59b004ae83607b3bbb30f2b4eaee25ed2856 from IPADDRESS
2021-10-08 16:49:37 WARNING (MainThread) [homeassistant.bootstrap] Waiting on integrations to complete setup: automation
2021-10-08 16:50:40 WARNING (MainThread) [homeassistant.bootstrap] Waiting on integrations to complete setup: automation, media_player.alexa_media
2021-10-08 16:51:42 ERROR (MainThread) [homeassistant.setup] Setup of automation is taking longer than 300 seconds. Startup will proceed without waiting any longer
2021-10-08 16:52:16 WARNING (MainThread) [homeassistant.components.webhook] Received message for unregistered webhook 30218a5ad9eedc698fdcb92e01cb59b004ae83607b3bbb30f2b4eaee25ed2856 from IPADDRESS
2021-10-08 16:54:23 WARNING (MainThread) [homeassistant.bootstrap] Waiting on integrations to complete setup: switch.template, weather.darksky, switch.presence_simulation, switch.pi_hole, hacs, tts, weather.openweathermap, weather.met, switch.wake_on_lan
2021-10-08 16:54:30 WARNING (MainThread) [homeassistant.config_entries] Config entry 'IPADDRESS:19444' for hyperion integration not ready yet: None; Retrying in background
2021-10-08 16:54:33 WARNING (MainThread) [homeassistant.components.select] Platform netatmo not ready yet: None; Retrying in background in 30 seconds
2021-10-08 16:54:34 WARNING (MainThread) [homeassistant.components.camera] Platform netatmo not ready yet: None; Retrying in background in 30 seconds
2021-10-08 16:54:34 WARNING (MainThread) [homeassistant.components.climate] Platform netatmo not ready yet: None; Retrying in background in 30 seconds
2021-10-08 16:54:37 WARNING (MainThread) [homeassistant.components.sensor] Setup of sensor platform darksky is taking over 10 seconds.
2021-10-08 16:55:29 WARNING (MainThread) [homeassistant.bootstrap] Waiting on integrations to complete setup: nanoleaf
2021-10-08 16:56:29 WARNING (MainThread) [homeassistant.bootstrap] Waiting on integrations to complete setup: nanoleaf
2021-10-08 16:57:29 WARNING (MainThread) [homeassistant.bootstrap] Waiting on integrations to complete setup: nanoleaf
2021-10-08 16:57:46 WARNING (MainThread) [homeassistant.components.webhook] Received message for unregistered webhook 7d0656391fc78b6e2c786a1704a312abe82e235d7c9e90ddc6765d256843114a from IPADDRESS
2021-10-08 16:57:49 WARNING (MainThread) [homeassistant.components.webhook] Received message for unregistered webhook 30218a5ad9eedc698fdcb92e01cb59b004ae83607b3bbb30f2b4eaee25ed2856 from IPADDRESS
2021-10-08 16:57:50 WARNING (MainThread) [homeassistant.components.webhook] Received message for unregistered webhook 30218a5ad9eedc698fdcb92e01cb59b004ae83607b3bbb30f2b4eaee25ed2856 from IPADDRESS
2021-10-08 16:58:30 WARNING (MainThread) [homeassistant.bootstrap] Waiting on integrations to complete setup: nanoleaf
2021-10-08 16:59:30 WARNING (MainThread) [homeassistant.bootstrap] Waiting on integrations to complete setup: nanoleaf
2021-10-08 17:00:30 WARNING (MainThread) [homeassistant.bootstrap] Waiting on integrations to complete setup: nanoleaf
2021-10-08 17:01:30 WARNING (MainThread) [homeassistant.bootstrap] Waiting on integrations to complete setup: nanoleaf
2021-10-08 17:02:30 WARNING (MainThread) [homeassistant.bootstrap] Waiting on integrations to complete setup: nanoleaf

I’ve had the similar issue on a Home Assistant container install going back months (can’t remember exactly when it started). Every time I update the container to a new version of Home Assistant, it takes awhile to startup, my logs fill with errors (similar to yours), and half my things don’t work.

All I do is “restart home assistant” from the configuration, server controls screen after a few minutes when everything settles down (I don’t have to reboot the whole machine) and then everything comes back fine relatively quickly. I don’t have logs to post since they clear out when I restart but next time I update I’ll try and save them.

Honestly I haven’t thought much of it since a simple restart of just Home Assistant fixes everything for me. I also am assuming its a “custom integration” causing the issue. I see we both use Hacs and Alexa Media Player, so maybe its something with one of those?

Facing the same thing. I did an update and thing would connect so I figured the update corrupted things. Did a reboot, still dead. Wiped the SD card, did a fresh install, life is good. Updated and had to restart my Pi4 manually as it “hung” on installation.

Thank you for your reply.

@mwav3 Sadly the startup never sattles down. The button “restart home assistant” doesn’t work for me. I get the message, that the startup isn’t finished :sweat_smile:

Maybe I try an update without the custom integration or try an fresh install as suggested by @VKSheridan

Hey, I’m experiencing the same issue at the moment. Did you sort it out?
Right now I restart the VM after the update to get HA alive, Restart via HA itself doesn’t work for me either.

Somehow the bug fixed itself. I don’t have this problem anymore.