Update to 0.111.4, UI shows "Home Assistant is starting..." all the time

I upgraded from 0.109.6 to 0.111.4. After restarting, the UI keeps showing the “Home Assistant is starting, not everything will be available until it is finished” message.

image

I’ve waited over an hour by now. I also tried rebooting the VM. But the message remains there on the bottom - “Home assistant is starting…”

I see another older post talking about the same thing. Any ideas on how to fix?

I’ve noticed that my onvif camera shows this instead of the camera:
image

My install:

arch 	x86_64
chassis 	vm
dev 	false
docker 	true
docker_version 	19.03.8
hassio 	true
host_os 	HassOS 4.10
installation_type 	Home Assistant
os_name 	Linux
os_version 	5.4.44
python_version 	3.7.7
supervisor 	227
timezone 	America/Chicago
version 	0.111.4
virtualenv 	false
Lovelace
dashboards 	1
mode 	storage
resources 	0
views 	7

Log:

20-06-19 02:14:09 INFO (MainThread) [supervisor.utils.gdbus] Connect to dbus: org.freedesktop.NetworkManager - /org/freedesktop/NetworkManager/DnsManager
20-06-19 02:14:09 INFO (MainThread) [supervisor.host.info] Update local host information
20-06-19 02:14:09 INFO (MainThread) [supervisor.utils.gdbus] Call org.freedesktop.DBus.Properties.GetAll on /org/freedesktop/hostname1
20-06-19 02:14:09 INFO (MainThread) [supervisor.host.services] Update service information
20-06-19 02:14:09 INFO (MainThread) [supervisor.utils.gdbus] Call org.freedesktop.systemd1.Manager.ListUnits on /org/freedesktop/systemd1
20-06-19 02:14:09 INFO (MainThread) [supervisor.host.network] Update local network DNS information
20-06-19 02:14:09 INFO (MainThread) [supervisor.utils.gdbus] Call org.freedesktop.DBus.Properties.GetAll on /org/freedesktop/NetworkManager/DnsManager
20-06-19 02:14:09 INFO (MainThread) [supervisor.host.sound] Update PulseAudio information
20-06-19 02:14:09 INFO (MainThread) [supervisor.host.apparmor] Load AppArmor Profiles: {'hassio-supervisor'}
20-06-19 02:14:09 INFO (MainThread) [supervisor.host.services] Reload local service hassos-apparmor.service
20-06-19 02:14:09 INFO (MainThread) [supervisor.utils.gdbus] Call org.freedesktop.systemd1.Manager.ReloadOrRestartUnit on /org/freedesktop/systemd1
20-06-19 02:14:10 INFO (SyncWorker_1) [supervisor.docker.interface] Attach to homeassistant/amd64-hassio-dns with version 9
20-06-19 02:14:10 INFO (MainThread) [supervisor.plugins.dns] Start CoreDNS plugin
20-06-19 02:14:10 INFO (MainThread) [supervisor.misc.forwarder] Start DNS port forwarding to 172.30.32.3
20-06-19 02:14:10 INFO (SyncWorker_3) [supervisor.docker.interface] Clean hassio_dns application
20-06-19 02:14:11 INFO (SyncWorker_3) [supervisor.docker.dns] Start DNS homeassistant/amd64-hassio-dns with version 9 - 172.30.32.3
20-06-19 02:14:11 INFO (MainThread) [supervisor.plugins.dns] Updated /etc/resolv.conf
20-06-19 02:14:11 INFO (SyncWorker_4) [supervisor.docker.interface] Attach to homeassistant/amd64-hassio-audio with version 14
20-06-19 02:14:11 INFO (MainThread) [supervisor.plugins.audio] Start Audio plugin
20-06-19 02:14:11 INFO (SyncWorker_8) [supervisor.docker.interface] Clean hassio_audio application
20-06-19 02:14:13 INFO (SyncWorker_8) [supervisor.docker.audio] Start Audio homeassistant/amd64-hassio-audio with version 14 - 172.30.32.4
20-06-19 02:14:13 INFO (SyncWorker_9) [supervisor.docker.interface] Attach to homeassistant/amd64-hassio-cli with version 25
20-06-19 02:14:13 INFO (MainThread) [supervisor.plugins.cli] Start cli plugin
20-06-19 02:14:13 INFO (SyncWorker_4) [supervisor.docker.interface] Clean hassio_cli application
20-06-19 02:14:15 INFO (SyncWorker_4) [supervisor.docker.cli] Start CLI homeassistant/amd64-hassio-cli with version 25 - 172.30.32.5
20-06-19 02:14:15 INFO (SyncWorker_7) [supervisor.docker.interface] Attach to homeassistant/amd64-hassio-multicast with version 2
20-06-19 02:14:15 INFO (MainThread) [supervisor.plugins.multicast] Start Multicast plugin
20-06-19 02:14:15 INFO (SyncWorker_3) [supervisor.docker.interface] Clean hassio_multicast application
20-06-19 02:14:16 INFO (SyncWorker_3) [supervisor.docker.multicast] Start Multicast homeassistant/amd64-hassio-multicast with version 2 - Host
20-06-19 02:14:16 INFO (MainThread) [supervisor.updater] Fetch update data from https://version.home-assistant.io/stable.json
20-06-19 02:14:16 INFO (SyncWorker_2) [supervisor.docker.interface] Attach to homeassistant/qemux86-64-homeassistant with version 0.111.4
20-06-19 02:14:17 INFO (MainThread) [supervisor.utils.gdbus] Call org.freedesktop.DBus.Properties.GetAll on /
20-06-19 02:14:17 INFO (MainThread) [supervisor.hassos] Detect HassOS 4.10 / BootSlot B
20-06-19 02:14:17 INFO (MainThread) [supervisor.store.git] Load add-on /data/addons/core repository
20-06-19 02:14:17 INFO (MainThread) [supervisor.store.git] Load add-on /data/addons/git/a0d7b954 repository
20-06-19 02:14:17 INFO (MainThread) [supervisor.store.git] Load add-on /data/addons/git/f9b96d0f repository
20-06-19 02:14:17 INFO (MainThread) [supervisor.store] Load add-ons from store: 67 all - 67 new - 0 remove
20-06-19 02:14:17 INFO (MainThread) [supervisor.addons] Found 9 installed add-ons
20-06-19 02:14:17 INFO (SyncWorker_3) [supervisor.docker.interface] Attach to homeassistant/amd64-addon-samba with version 9.2.0
20-06-19 02:14:17 INFO (SyncWorker_1) [supervisor.docker.interface] Attach to homeassistant/amd64-addon-check_config with version 3.3.0
20-06-19 02:14:17 INFO (SyncWorker_4) [supervisor.docker.interface] Attach to hassioaddons/grafana-amd64 with version 4.2.1
20-06-19 02:14:17 INFO (SyncWorker_5) [supervisor.docker.interface] Attach to homeassistant/amd64-addon-configurator with version 5.0.0
20-06-19 02:14:17 INFO (SyncWorker_9) [supervisor.docker.interface] Attach to sabuto/amd64-hassio-telegraf with version 0.5.4
20-06-19 02:14:17 INFO (SyncWorker_6) [supervisor.docker.interface] Attach to homeassistant/amd64-addon-duckdns with version 1.11
20-06-19 02:14:17 INFO (SyncWorker_8) [supervisor.docker.interface] Attach to hassioaddons/influxdb-amd64 with version 3.6.2
20-06-19 02:14:17 INFO (SyncWorker_7) [supervisor.docker.interface] Attach to homeassistant/amd64-addon-ssh with version 8.5.4
20-06-19 02:14:17 INFO (SyncWorker_2) [supervisor.docker.interface] Attach to hassioaddons/node-red-amd64 with version 6.2.0
20-06-19 02:14:18 INFO (MainThread) [supervisor.snapshots] Found 7 snapshot files
20-06-19 02:14:18 INFO (MainThread) [supervisor.discovery] Load 0 messages
20-06-19 02:14:18 INFO (MainThread) [supervisor.ingress] Load 23 ingress session
20-06-19 02:14:18 INFO (MainThread) [supervisor.misc.secrets] Load Home Assistant secrets: 1
20-06-19 02:14:18 INFO (MainThread) [__main__] Run Supervisor
20-06-19 02:14:18 INFO (MainThread) [supervisor.api] Start API on 172.30.32.2
20-06-19 02:14:18 INFO (MainThread) [supervisor.utils.gdbus] Call de.pengutronix.rauc.Installer.Mark on /
20-06-19 02:14:18 INFO (MainThread) [supervisor.hassos] Rauc: B - marked slot kernel.1 as good
20-06-19 02:14:18 INFO (MainThread) [supervisor.addons] Phase 'AddonStartup.INITIALIZE' start 0 add-ons
20-06-19 02:14:18 INFO (MainThread) [supervisor.addons] Phase 'AddonStartup.SYSTEM' start 0 add-ons
20-06-19 02:14:18 INFO (MainThread) [supervisor.addons] Phase 'AddonStartup.SERVICES' start 4 add-ons
20-06-19 02:14:18 INFO (SyncWorker_2) [supervisor.docker.interface] Clean addon_core_ssh application
20-06-19 02:14:19 INFO (SyncWorker_2) [supervisor.docker.addon] Start Docker add-on homeassistant/amd64-addon-ssh with version 8.5.4
20-06-19 02:14:19 INFO (SyncWorker_3) [supervisor.docker.interface] Clean addon_a0d7b954_influxdb application
20-06-19 02:14:21 INFO (SyncWorker_3) [supervisor.docker.addon] Start Docker add-on hassioaddons/influxdb-amd64 with version 3.6.2
20-06-19 02:14:21 INFO (SyncWorker_7) [supervisor.docker.interface] Clean addon_a0d7b954_grafana application
20-06-19 02:14:23 INFO (SyncWorker_7) [supervisor.docker.addon] Start Docker add-on hassioaddons/grafana-amd64 with version 4.2.1
20-06-19 02:14:23 INFO (SyncWorker_0) [supervisor.docker.interface] Clean addon_core_duckdns application
20-06-19 02:14:25 INFO (SyncWorker_0) [supervisor.docker.addon] Start Docker add-on homeassistant/amd64-addon-duckdns with version 1.11
20-06-19 02:14:25 INFO (MainThread) [supervisor.api.security] /host/info access from a0d7b954_influxdb
20-06-19 02:14:25 INFO (MainThread) [supervisor.api.security] /dns/info access from a0d7b954_influxdb
20-06-19 02:14:26 INFO (MainThread) [supervisor.api.security] /host/info access from a0d7b954_grafana
20-06-19 02:14:30 INFO (SyncWorker_3) [supervisor.docker.interface] Start homeassistant/qemux86-64-homeassistant
20-06-19 02:14:47 INFO (MainThread) [supervisor.homeassistant] Updated Home Assistant API token
20-06-19 02:16:57 INFO (MainThread) [supervisor.homeassistant] Home Assistant pip installation in progress
20-06-19 02:17:27 INFO (MainThread) [supervisor.homeassistant] Home Assistant pip installation done
20-06-19 02:27:28 WARNING (MainThread) [supervisor.homeassistant] Don't wait anymore of Home Assistant startup!
20-06-19 02:27:28 INFO (MainThread) [supervisor.addons] Phase 'AddonStartup.APPLICATION' start 2 add-ons
20-06-19 02:27:29 INFO (SyncWorker_4) [supervisor.docker.addon] Start Docker add-on homeassistant/amd64-addon-configurator with version 5.0.0
20-06-19 02:27:31 INFO (SyncWorker_5) [supervisor.docker.addon] Start Docker add-on hassioaddons/node-red-amd64 with version 6.2.0
20-06-19 02:27:32 INFO (MainThread) [supervisor.api.security] /host/info access from a0d7b954_nodered
20-06-19 02:27:33 INFO (MainThread) [supervisor.api.security] /dns/info access from a0d7b954_nodered
20-06-19 02:27:36 INFO (MainThread) [supervisor.misc.tasks] All core tasks are scheduled
20-06-19 02:27:36 INFO (MainThread) [supervisor.misc.hwmon] Started Supervisor hardware monitor
20-06-19 02:27:36 INFO (MainThread) [supervisor.core] Supervisor is up and running
20-06-19 02:27:36 INFO (MainThread) [supervisor.host.info] Update local host information
20-06-19 02:27:36 INFO (MainThread) [supervisor.utils.gdbus] Call org.freedesktop.DBus.Properties.GetAll on /org/freedesktop/hostname1
20-06-19 02:27:36 INFO (MainThread) [supervisor.updater] Fetch update data from https://version.home-assistant.io/stable.json
20-06-19 02:27:36 INFO (MainThread) [supervisor.host.services] Update service information
20-06-19 02:27:36 INFO (MainThread) [supervisor.utils.gdbus] Call org.freedesktop.systemd1.Manager.ListUnits on /org/freedesktop/systemd1
20-06-19 02:27:36 INFO (MainThread) [supervisor.host.network] Update local network DNS information
20-06-19 02:27:36 INFO (MainThread) [supervisor.utils.gdbus] Call org.freedesktop.DBus.Properties.GetAll on /org/freedesktop/NetworkManager/DnsManager
20-06-19 02:27:36 INFO (MainThread) [supervisor.host.sound] Update PulseAudio information
20-06-19 02:44:47 INFO (MainThread) [supervisor.homeassistant] Updated Home Assistant API token
20-06-19 02:58:06 INFO (SyncWorker_3) [supervisor.docker.addon] Start Docker add-on homeassistant/amd64-addon-samba with version 9.2.0
20-06-19 03:01:51 ERROR (SyncWorker_8) [asyncio] Unclosed connection
client_connection: Connection<ConnectionKey(host='172.30.32.1', port=65463, is_ssl=False, ssl=None, proxy=None, proxy_auth=None, proxy_headers_hash=None)>
20-06-19 03:04:44 ERROR (MainThread) [asyncio] Unclosed connection
client_connection: Connection<ConnectionKey(host='172.30.33.0', port=8099, is_ssl=False, ssl=None, proxy=None, proxy_auth=None, proxy_headers_hash=None)>
20-06-19 03:12:11 WARNING (MainThread) [supervisor.api.ingress] No valid ingress session None
20-06-19 03:13:12 ERROR (MainThread) [asyncio] Unclosed connection
client_connection: Connection<ConnectionKey(host='172.30.32.1', port=65463, is_ssl=False, ssl=None, proxy=None, proxy_auth=None, proxy_headers_hash=None)>
20-06-19 03:14:50 INFO (MainThread) [supervisor.homeassistant] Updated Home Assistant API tok

I’m experiencing a similar issue when upgrading from 0.110.3 and I’ve tried upgrading to the various 0.111.x versions. It appears to upgrade, then after a while, it crashes. I have to power cycle my Pi 3 to recover, at which point it reverts the upgrade. I can’t see anything in the logs except for this in the Supervisor after the reboot:

type or paste code hereFile "/usr/src/supervisor/supervisor/homeassistant.py", line 360, in update
    await _update(rollback)
  File "/usr/src/supervisor/supervisor/homeassistant.py", line 344, in _update
    await self._start()
  File "/usr/src/supervisor/supervisor/homeassistant.py", line 381, in _start
    await self._block_till_run()
  File "/usr/src/supervisor/supervisor/homeassistant.py", line 638, in _block_till_run
    raise HomeAssistantError()
supervisor.exceptions.HomeAssistantError

How much free space do you have? Wondering if I just need more space.

I have over 30GB of free space on my SD Card

I was thinking maybe free space was my problem with the roll backs, but if you have over 30GB free, then I think there’s a different issue. Thanks for letting me know.

same issue for me, but only after a power failure.
Ironically because I’ve installed my UPS and forgot to shut down my servers…

Edit:
I’ve started deconstructing some items, but the message remained. I am now restoring a full backup from a few days ago. Let’s hope that clears the message…

edit2:
Well… It’s borked…
Multiple errors when trying to restore my addons (community)
and my config is gone.
Manual restore it will be :frowning:

edit3:
After some crap I’ve managed to restore from an older backup and the error remained.
I’ve commented out the: group: !include groups.yaml line. And restarted.
Everything came back online!!

I was finally able to upgrade successfully. In my latest attempt, I disabled the custom recorder and tp-link switch configurations for hosts. I was experiencing the same issue and logs with 0.112.0 until I made these changes. I didn’t test independently, so don’t know which one actually fixed the upgrade.

# recorder: !include recorder.yaml

# tplink:
#   switch:
#     - host: 192.168.86.32

I’ve been struggling with this for a week now… every upgrade starts partially before hassio_supervisor gives up and rolls back after waiting for 10 minutes.

For some stupid reason this solved it…

netatmo:
  client_id: dummy
  client_secret: dummy

I don’t have even have a netatmo, I do have some tp-link switches though, so not sure if that’s related to @chris-feist 's config.

If you don’t have any Netatmo devices then why add that to your config?

Because someone said in another thread to get past the ‘some functions available while home-assistant starts up’ message they had to add that block… I have no clue why it worked for me, but it’s worth a shot if you’re struggling to get this thing to upgrade without the hassio supervisor rolling back each time.

I was just curious since I’m the maintainer of the Netatmo integration.

This is the thread I got it from

Alright, but I still can’t see how that would make sense. :wink: