[SOLVED] Hassio on docker --- failed to start after 106.5

Hi guys.
I have just upgraded from 0.106.2 to 0.106.5.
I run HassIO on a NUC via docker – havent had any problems for ages.

I have found a few threads RE issues with the latest version, but im just not sure what to do. Its only when its down i realise how dependent I have become on HA!

Any attempt to start hassio via the CLI / ssh plugin gives Error: Unknown Error, see logs
Theres nothing of note in the HA log itself.

hassio ha check works - and returns success, and i can see a container start up and then dissapear.

Where do i start looking next ?

I tried restoring from a snapshot from this morning … no luck!

docker logs hassio_supervisor shows this:

[fix-attrs.d] applying ownership & permissions fixes...
[fix-attrs.d] done.
[cont-init.d] executing container initialization scripts...
[cont-init.d] udev.sh: executing...
[cont-finish.d] executing container finish scripts...
[cont-finish.d] done.
[s6-finish] waiting for services.
[11:05:42] INFO: Update udev informations
[s6-finish] sending all processes the TERM signal.
[s6-finish] sending all processes the KILL signal and exiting.
[s6-init] making user provided files available at /var/run/s6/etc...exited 0.
[s6-init] ensuring user provided files have correct perms...exited 0.
[fix-attrs.d] applying ownership & permissions fixes...
[fix-attrs.d] done.
[cont-init.d] executing container initialization scripts...
[cont-init.d] udev.sh: executing...
[11:05:53] INFO: Update udev informations
[cont-init.d] udev.sh: exited 0.
[cont-init.d] done.
[services.d] starting services
[services.d] done.
20-03-04 11:05:56 INFO (MainThread) [__main__] Initialize Supervisor setup
20-03-04 11:05:56 INFO (SyncWorker_0) [supervisor.docker.supervisor] Attach to Supervisor homeassistant/amd64-hassio-supervisor with version 207
20-03-04 11:05:56 INFO (MainThread) [__main__] Setup Supervisor
20-03-04 11:05:56 INFO (MainThread) [supervisor.utils.gdbus] Connect to dbus: org.freedesktop.systemd1 - /org/freedesktop/systemd1
20-03-04 11:05:56 INFO (MainThread) [supervisor.utils.gdbus] Connect to dbus: org.freedesktop.hostname1 - /org/freedesktop/hostname1
20-03-04 11:05:56 WARNING (MainThread) [supervisor.dbus.rauc] Host has no rauc support. OTA updates have been disabled.
20-03-04 11:05:56 INFO (MainThread) [supervisor.utils.gdbus] Connect to dbus: org.freedesktop.NetworkManager - /org/freedesktop/NetworkManager/DnsManager
20-03-04 11:05:56 INFO (MainThread) [supervisor.host.info] Update local host information
20-03-04 11:05:56 INFO (MainThread) [supervisor.utils.gdbus] Call org.freedesktop.DBus.Properties.GetAll on /org/freedesktop/hostname1
20-03-04 11:05:56 INFO (MainThread) [supervisor.host.services] Update service information
20-03-04 11:05:56 INFO (MainThread) [supervisor.utils.gdbus] Call org.freedesktop.systemd1.Manager.ListUnits on /org/freedesktop/systemd1
20-03-04 11:05:56 INFO (MainThread) [supervisor.host.network] Update local network DNS information
20-03-04 11:05:56 INFO (MainThread) [supervisor.utils.gdbus] Call org.freedesktop.DBus.Properties.GetAll on /org/freedesktop/NetworkManager/DnsManager
20-03-04 11:05:57 INFO (MainThread) [supervisor.host.sound] Update PulseAudio information
20-03-04 11:05:57 INFO (MainThread) [supervisor.host.apparmor] Load AppArmor Profiles: {'hassio-supervisor'}
20-03-04 11:05:57 INFO (MainThread) [supervisor.host.services] Reload local service hassio-apparmor.service
20-03-04 11:05:57 INFO (MainThread) [supervisor.utils.gdbus] Call org.freedesktop.systemd1.Manager.ReloadOrRestartUnit on /org/freedesktop/systemd1
20-03-04 11:05:57 INFO (SyncWorker_0) [supervisor.docker.interface] Attach to homeassistant/amd64-hassio-dns with version 1
20-03-04 11:05:57 INFO (SyncWorker_1) [supervisor.docker.interface] Attach to homeassistant/amd64-hassio-audio with version 8
20-03-04 11:05:57 INFO (MainThread) [supervisor.misc.forwarder] Start DNS port forwarding to 172.30.32.3
20-03-04 11:05:57 INFO (SyncWorker_2) [supervisor.docker.interface] Restart homeassistant/amd64-hassio-dns
20-03-04 11:05:59 INFO (SyncWorker_3) [supervisor.docker.interface] Attach to homeassistant/qemux86-64-homeassistant with version 0.106.2
20-03-04 11:06:00 INFO (MainThread) [supervisor.store.git] Load add-on /data/addons/git/806b11b5 repository
20-03-04 11:06:00 INFO (MainThread) [supervisor.store.git] Load add-on /data/addons/git/a0d7b954 repository
20-03-04 11:06:00 INFO (MainThread) [supervisor.store.git] Load add-on /data/addons/git/7ad98f9c repository
20-03-04 11:06:00 INFO (MainThread) [supervisor.store.git] Load add-on /data/addons/git/0844df1a repository
20-03-04 11:06:00 INFO (MainThread) [supervisor.store.git] Load add-on /data/addons/core repository
20-03-04 11:06:00 INFO (MainThread) [supervisor.store] Load add-ons from store: 69 all - 69 new - 0 remove
20-03-04 11:06:00 INFO (MainThread) [supervisor.addons] Found 13 installed add-ons
20-03-04 11:06:00 INFO (SyncWorker_0) [supervisor.docker.interface] Attach to hassioaddons/sonweb-amd64 with version 0.8.4
20-03-04 11:06:00 INFO (SyncWorker_8) [supervisor.docker.interface] Attach to homeassistant/amd64-addon-samba with version 9.0
20-03-04 11:06:00 INFO (SyncWorker_3) [supervisor.docker.interface] Attach to hassioaddons/log-viewer-amd64 with version 0.6.4
20-03-04 11:06:00 INFO (SyncWorker_1) [supervisor.docker.interface] Attach to hassioaddons/node-red-amd64 with version 6.0.0
20-03-04 11:06:00 INFO (SyncWorker_2) [supervisor.docker.interface] Attach to carldebilly/zigbee2mqttassistant with version 172
20-03-04 11:06:00 INFO (SyncWorker_9) [supervisor.docker.interface] Attach to homeassistant/amd64-addon-ssh with version 8.1
20-03-04 11:06:00 INFO (SyncWorker_6) [supervisor.docker.interface] Attach to dwelch2101/zigbee2mqtt-amd64 with version 1.10.0
20-03-04 11:06:00 INFO (SyncWorker_4) [supervisor.docker.interface] Attach to homeassistant/amd64-addon-check_config with version 3.1
20-03-04 11:06:00 INFO (SyncWorker_7) [supervisor.docker.interface] Attach to homeassistant/amd64-addon-duckdns with version 1.10
20-03-04 11:06:00 INFO (SyncWorker_8) [supervisor.docker.interface] Attach to fixated/remote-backup-amd64 with version 0.3.2
20-03-04 11:06:00 INFO (SyncWorker_0) [supervisor.docker.interface] Attach to hassioaddons/portainer-amd64 with version 0.8.0
20-03-04 11:06:00 INFO (SyncWorker_3) [supervisor.docker.interface] Attach to hassioaddons/appdaemon3-amd64 with version 5.0.1
20-03-04 11:06:00 INFO (SyncWorker_5) [supervisor.docker.interface] Attach to hassioaddons/zerotier-amd64 with version 0.5.1
20-03-04 11:06:00 INFO (MainThread) [supervisor.updater] Fetch update data from https://version.home-assistant.io/stable.json
20-03-04 11:06:01 INFO (MainThread) [supervisor.snapshots] Found 3 snapshot files
20-03-04 11:06:01 INFO (MainThread) [supervisor.discovery] Load 0 messages
20-03-04 11:06:01 INFO (MainThread) [supervisor.ingress] Load 5 ingress session
20-03-04 11:06:01 INFO (MainThread) [supervisor.secrets] Load Home Assistant secrets: 16
20-03-04 11:06:01 INFO (MainThread) [__main__] Run Supervisor
20-03-04 11:06:01 INFO (MainThread) [supervisor.api] Start API on 172.30.32.2
20-03-04 11:06:01 INFO (MainThread) [supervisor.addons] Phase 'initialize' start 0 add-ons
20-03-04 11:06:01 INFO (MainThread) [supervisor.core] Supervisor reboot detected
20-03-04 11:06:01 INFO (MainThread) [supervisor.tasks] All core tasks are scheduled
20-03-04 11:06:01 INFO (MainThread) [supervisor.hwmon] Start Supervisor hardware monitor
20-03-04 11:06:01 INFO (MainThread) [supervisor.core] Supervisor is up and running
20-03-04 11:06:01 INFO (MainThread) [supervisor.host.info] Update local host information
20-03-04 11:06:01 INFO (MainThread) [supervisor.utils.gdbus] Call org.freedesktop.DBus.Properties.GetAll on /org/freedesktop/hostname1
20-03-04 11:06:01 INFO (MainThread) [supervisor.host.services] Update service information
20-03-04 11:06:01 INFO (MainThread) [supervisor.utils.gdbus] Call org.freedesktop.systemd1.Manager.ListUnits on /org/freedesktop/systemd1
20-03-04 11:06:01 INFO (MainThread) [supervisor.host.network] Update local network DNS information
20-03-04 11:06:01 INFO (MainThread) [supervisor.utils.gdbus] Call org.freedesktop.DBus.Properties.GetAll on /org/freedesktop/NetworkManager/DnsManager
20-03-04 11:53:05 INFO (MainThread) [supervisor.api.proxy] Home Assistant WebSocket API request initialize
20-03-04 11:53:05 INFO (MainThread) [supervisor.api.proxy] WebSocket access from a0d7b954_appdaemon3
20-03-04 11:53:05 ERROR (MainThread) [supervisor.api.proxy] Client error on WebSocket API Cannot connect to host 172.30.32.1:8123 ssl:False [Connection refused].
20-03-04 11:53:08 INFO (MainThread) [supervisor.api.proxy] Home Assistant WebSocket API request initialize
20-03-04 11:53:08 INFO (MainThread) [supervisor.api.proxy] WebSocket access from a0d7b954_nodered
20-03-04 11:53:08 ERROR (MainThread) [supervisor.api.proxy] Client error on WebSocket API Cannot connect to host 172.30.32.1:8123 ssl:False [Connection refused].
20-03-04 11:53:10 INFO (MainThread) [supervisor.api.proxy] Home Assistant WebSocket API request initialize
20-03-04 11:53:10 INFO (MainThread) [supervisor.api.proxy] WebSocket access from a0d7b954_appdaemon3
20-03-04 11:53:10 ERROR (MainThread) [supervisor.api.proxy] Client error on WebSocket API Cannot connect to host 172.30.32.1:8123 ssl:False [Connection refused].
20-03-04 11:53:13 INFO (MainThread) [supervisor.api.proxy] Home Assistant WebSocket API request initialize
20-03-04 11:53:13 INFO (MainThread) [supervisor.api.proxy] WebSocket access from a0d7b954_nodered

Use : https://github.com/home-assistant/supervisor/issues/1556

I stumbled across that earlier … but no luck, reinstalling didnt seem to work!

My supervisor seems to start fine. Im not getting the udev error reported in that github issue.

Anyone else got any grand idea short of blowing it away and starting again?

I do atleast have backups and snapshots.

So i tried to manually update the supervisor to 208 by doing a docker pull
i then restarted the hassio supervisor service using systemctl, and got this error:

20-03-04 23:59:31 CRITICAL (MainThread) [supervisor.hwmon] Not privileged to run udev. Update your installation!

I then ran the install script again to update the installation, which completed, but im now back to where i was originally.

Im sure ive missed something somewhere!

I’m in the same boat. I posted about it earlier here. I’ve tried restoring a snapshot, which didn’t work - it didn’t actually restore. I tried doing the reinstall steps from the post Vlad mentioned about, starting with the sudo -i step, and then shutting down and restarting, but it’s still not working. I’ve got a supervisor running, but no HA container. I also have snapshots and backups of all my config files, but I really do not want to start from scratch.

Looks like we are in EXACTLY the same boat!

im still on 106.2 but completely dead. hassio supervisor quits with code 0.

Were you updating when it died, or it just died out of the blue? I’ve spent hours tonight trying to fix this and nothing has worked. I wish I knew why it works for some and not for others.

In my case it died, and then I ran hassio ha restart, and it came back. It was on 0.106.2.
I then did an update, thinking it might have been an issue with 0.106.5 – at that point all hell broke loose.

I think the update may be pure coincidence, but cant be 100% sure.

Mine just died out of the blue as far as i can tell. I just got on and noticed my restarts were failing. Which led me to digging into logs

im thinking about just recovering to a proxmox vm. My other instance on proxmox is intact but im afraid to update to 106.5

Does supervisor 209 address this ?
I can see that the latest tagged is 209, but https://version.home-assistant.io/stable.json has 208 so its getting downgraded.

I’m running .106.2 and now reluctant to upgrade to .106.5 - I’m also running on a NUC / Ubuntu / Docker setup. Believe I saw yesterday that my system had upgraded to the 209 supervisor version, but now back at 208 - maybe there was an issue there?

Current snapshot:
image

I’m on a NUC and Ubuntu 18.04.4 LTS, supervisor 208 and 0.106.5 without any issues. The only thing i noticed that I had to restart my NUC after the upgrade to 0.106.5 to get all containers running again.

i think 207 is definitely the problem… how do i upgrade? what do i need to delete first?

I’m on 208 and I’m still not functional. The Home Assistant container simply won’t start. I tried ha core start and I just get

Processing... Done.

Error: Unknown Error, see logs

I simply don’t know what to try next. @Sweetpants I wish I knew what was different between your system and mine - I tried restarting my NUC as the first attempt at a solution but it didn’t change anything.

Edited to add: the error in the log after I use ha core start is

ERROR (MainThread) [supervisor.homeassistant] Home Assistant can't write pulse/client.config: [Errno 21] Is a directory: '/data/tmp/homeassistant_pulse'

I used this procedure https://community.home-assistant.io/t/absolute-beginners-guide-to-installing-ha-on-intel-nuc-using-docker/98412 when i setup my NUC for HA. I’m at Ubuntu 18.04, HA 106.5, and 208 supervisor. All is well. A new container was created for hassio_audio. It’s likely a permissions issue people are experiencing when the update attempts to create the new audio container.

I ignored the manual 207 Supervisor update, and let the update occur automatically with the HA update to 106.5.

In my case… i used portainer just now. Clicked on hassio_supervisor container. Chose Duplicate/edit and recreated with latest image. restarted all containers and i think im up and going again

think i lost hacs though