HELP: Can't upgrade Homeassistant since 0.94.4

Since 0.94.4, I’ve been unable to upgrade to the latest version of HomeAssistant. When I try to upgrade (through the hass.io menu or ssh), it looks like it’s updating and downloads the latest docker image. HomeAssistant then restarts but it just relaunches the 0.94.4 docker image.

I’ve tried to reinstall Hass.io a fresh and then restoring a snapshot. The initial reinstall brought me up to the latest update, however after restoring the snapshot, I end up back at 0.94.4. And then the same update issue comes back.

Here’s a log from HassOS. For the most part, though, there’s nothing that sticks out as a reason causing the failed update.

19-07-07 11:23:47 INFO (MainThread) [hassio.api.proxy] WebSocket access from a0d7b954_appdaemon3
19-07-07 11:23:47 ERROR (MainThread) [hassio.api.proxy] Client error on WebSocket API Cannot connect to host 172.30.32.1:8123 ssl:False [Connection refused].
19-07-07 11:23:48 INFO (MainThread) [hassio.api.proxy] Home Assistant WebSocket API request initialize
19-07-07 11:23:48 INFO (MainThread) [hassio.api.proxy] WebSocket access from a0d7b954_nodered
19-07-07 11:23:48 ERROR (MainThread) [hassio.api.proxy] Client error on WebSocket API Cannot connect to host 172.30.32.1:8123 ssl:False [Connection refused].
19-07-07 11:23:52 INFO (MainThread) [hassio.api.proxy] Home Assistant WebSocket API request initialize
19-07-07 11:23:52 INFO (MainThread) [hassio.api.proxy] WebSocket access from a0d7b954_appdaemon3
19-07-07 11:23:52 ERROR (MainThread) [hassio.api.proxy] Client error on WebSocket API Cannot connect to host 172.30.32.1:8123 ssl:False [Connection refused].
19-07-07 11:23:53 INFO (MainThread) [hassio.api.proxy] Home Assistant WebSocket API request initialize
19-07-07 11:23:53 INFO (MainThread) [hassio.api.proxy] WebSocket access from a0d7b954_nodered
19-07-07 11:23:53 ERROR (MainThread) [hassio.api.proxy] Client error on WebSocket API Cannot connect to host 172.30.32.1:8123 ssl:False [Connection refused].
19-07-07 11:23:57 INFO (MainThread) [hassio.api.proxy] Home Assistant WebSocket API request initialize
19-07-07 11:23:57 INFO (MainThread) [hassio.api.proxy] WebSocket access from a0d7b954_appdaemon3
19-07-07 11:23:57 ERROR (MainThread) [hassio.api.proxy] Client error on WebSocket API Cannot connect to host 172.30.32.1:8123 ssl:False [Connection refused].
19-07-07 11:23:58 INFO (MainThread) [hassio.api.proxy] Home Assistant WebSocket API request initialize
19-07-07 11:23:58 INFO (MainThread) [hassio.api.proxy] WebSocket access from a0d7b954_nodered
19-07-07 11:23:58 ERROR (MainThread) [hassio.api.proxy] Client error on WebSocket API Cannot connect to host 172.30.32.1:8123 ssl:False [Connection refused].
19-07-07 11:24:02 INFO (MainThread) [hassio.api.proxy] Home Assistant WebSocket API request initialize
19-07-07 11:24:02 INFO (MainThread) [hassio.api.proxy] WebSocket access from a0d7b954_appdaemon3
19-07-07 11:24:02 ERROR (MainThread) [hassio.api.proxy] Client error on WebSocket API Cannot connect to host 172.30.32.1:8123 ssl:False [Connection refused].
19-07-07 11:24:03 INFO (MainThread) [hassio.api.proxy] Home Assistant WebSocket API request initialize
19-07-07 11:24:03 INFO (MainThread) [hassio.api.proxy] WebSocket access from a0d7b954_nodered
19-07-07 11:24:03 ERROR (MainThread) [hassio.api.proxy] Client error on WebSocket API Cannot connect to host 172.30.32.1:8123 ssl:False [Connection refused].
19-07-07 11:24:07 INFO (MainThread) [hassio.api.proxy] Home Assistant WebSocket API request initialize
19-07-07 11:24:07 INFO (MainThread) [hassio.api.proxy] WebSocket access from a0d7b954_appdaemon3
19-07-07 11:24:07 ERROR (MainThread) [hassio.api.proxy] Client error on WebSocket API Cannot connect to host 172.30.32.1:8123 ssl:False [Connection refused].
19-07-07 11:24:08 INFO (MainThread) [hassio.api.proxy] Home Assistant WebSocket API request initialize
19-07-07 11:24:08 INFO (MainThread) [hassio.api.proxy] WebSocket access from a0d7b954_nodered
19-07-07 11:24:08 ERROR (MainThread) [hassio.api.proxy] Client error on WebSocket API Cannot connect to host 172.30.32.1:8123 ssl:False [Connection refused].
19-07-07 11:24:10 INFO (SyncWorker_1) [hassio.docker.interface] Tag image homeassistant/qemux86-64-homeassistant with version 0.94.4 as latest
19-07-07 11:24:10 INFO (SyncWorker_1) [hassio.docker.interface] Stop homeassistant application
19-07-07 11:24:12 INFO (MainThread) [hassio.api.proxy] Home Assistant WebSocket API request initialize
19-07-07 11:24:12 INFO (MainThread) [hassio.api.proxy] WebSocket access from a0d7b954_appdaemon3
19-07-07 11:24:12 ERROR (MainThread) [hassio.api.proxy] Client error on WebSocket API Cannot connect to host 172.30.32.1:8123 ssl:False [Connection refused].
19-07-07 11:24:13 INFO (MainThread) [hassio.api.proxy] Home Assistant WebSocket API request initialize
19-07-07 11:24:13 INFO (MainThread) [hassio.api.proxy] WebSocket access from a0d7b954_nodered
19-07-07 11:24:13 ERROR (MainThread) [hassio.api.proxy] Client error on WebSocket API Cannot connect to host 172.30.32.1:8123 ssl:False [Connection refused].
19-07-07 11:24:17 INFO (MainThread) [hassio.api.proxy] Home Assistant WebSocket API request initialize
19-07-07 11:24:17 INFO (MainThread) [hassio.api.proxy] WebSocket access from a0d7b954_appdaemon3
19-07-07 11:24:17 ERROR (MainThread) [hassio.api.proxy] Client error on WebSocket API Cannot connect to host 172.30.32.1:8123 ssl:False [Connection refused].
19-07-07 11:24:18 INFO (MainThread) [hassio.api.proxy] Home Assistant WebSocket API request initialize
19-07-07 11:24:18 INFO (MainThread) [hassio.api.proxy] WebSocket access from a0d7b954_nodered
19-07-07 11:24:18 ERROR (MainThread) [hassio.api.proxy] Client error on WebSocket API Cannot connect to host 172.30.32.1:8123 ssl:False [Connection refused].
19-07-07 11:24:19 INFO (SyncWorker_1) [hassio.docker.interface] Clean homeassistant application
19-07-07 11:24:19 INFO (SyncWorker_1) [hassio.docker.interface] Cleanup images: ['homeassistant/qemux86-64-homeassistant:0.95.4']
19-07-07 11:24:21 INFO (SyncWorker_0) [hassio.docker.homeassistant] Start homeassistant homeassistant/qemux86-64-homeassistant with version 0.94.4
19-07-07 11:24:22 INFO (MainThread) [hassio.api.proxy] Home Assistant WebSocket API request initialize
19-07-07 11:24:22 INFO (MainThread) [hassio.api.proxy] WebSocket access from a0d7b954_appdaemon3
19-07-07 11:24:22 ERROR (MainThread) [hassio.api.proxy] Client error on WebSocket API Cannot connect to host 172.30.32.1:8123 ssl:False [Connection refused].
19-07-07 11:24:23 INFO (MainThread) [hassio.api.proxy] Home Assistant WebSocket API request initialize
19-07-07 11:24:23 INFO (MainThread) [hassio.api.proxy] WebSocket access from a0d7b954_nodered
19-07-07 11:24:23 ERROR (MainThread) [hassio.api.proxy] Client error on WebSocket API Cannot connect to host 172.30.32.1:8123 ssl:False [Connection refused].
19-07-07 11:24:26 INFO (MainThread) [hassio.homeassistant] Home Assistant pip installation in progress
19-07-07 11:24:27 INFO (MainThread) [hassio.api.proxy] Home Assistant WebSocket API request initialize
19-07-07 11:24:27 INFO (MainThread) [hassio.api.proxy] WebSocket access from a0d7b954_appdaemon3
19-07-07 11:24:27 ERROR (MainThread) [hassio.api.proxy] Client error on WebSocket API Cannot connect to host 172.30.32.1:8123 ssl:False [Connection refused].
19-07-07 11:24:28 INFO (MainThread) [hassio.api.proxy] Home Assistant WebSocket API request initialize
19-07-07 11:24:28 INFO (MainThread) [hassio.api.proxy] WebSocket access from a0d7b954_nodered
19-07-07 11:24:28 ERROR (MainThread) [hassio.api.proxy] Client error on WebSocket API Cannot connect to host 172.30.32.1:8123 ssl:False [Connection refused].
19-07-07 11:24:32 INFO (MainThread) [hassio.api.proxy] Home Assistant WebSocket API request initialize
19-07-07 11:24:32 INFO (MainThread) [hassio.api.proxy] WebSocket access from a0d7b954_appdaemon3
19-07-07 11:24:32 ERROR (MainThread) [hassio.api.proxy] Client error on WebSocket API Cannot connect to host 172.30.32.1:8123 ssl:False [Connection refused].
19-07-07 11:24:33 INFO (MainThread) [hassio.api.proxy] Home Assistant WebSocket API request initialize
19-07-07 11:24:33 INFO (MainThread) [hassio.api.proxy] WebSocket access from a0d7b954_nodered
19-07-07 11:24:33 ERROR (MainThread) [hassio.api.proxy] Client error on WebSocket API Cannot connect to host 172.30.32.1:8123 ssl:False [Connection refused].
19-07-07 11:24:37 INFO (MainThread) [hassio.api.proxy] Home Assistant WebSocket API request initialize
19-07-07 11:24:37 INFO (MainThread) [hassio.api.proxy] WebSocket access from a0d7b954_appdaemon3
19-07-07 11:24:37 ERROR (MainThread) [hassio.api.proxy] Client error on WebSocket API Cannot connect to host 172.30.32.1:8123 ssl:False [Connection refused].
19-07-07 11:24:38 INFO (MainThread) [hassio.api.proxy] Home Assistant WebSocket API request initialize
19-07-07 11:24:38 INFO (MainThread) [hassio.api.proxy] WebSocket access from a0d7b954_nodered
19-07-07 11:24:38 ERROR (MainThread) [hassio.api.proxy] Client error on WebSocket API Cannot connect to host 172.30.32.1:8123 ssl:False [Connection refused].
19-07-07 11:24:41 INFO (MainThread) [hassio.homeassistant] Home Assistant pip installation done
19-07-07 11:24:42 INFO (MainThread) [hassio.api.proxy] Home Assistant WebSocket API request initialize
19-07-07 11:24:42 INFO (MainThread) [hassio.api.proxy] WebSocket access from a0d7b954_appdaemon3
19-07-07 11:24:42 ERROR (MainThread) [hassio.api.proxy] Client error on WebSocket API Cannot connect to host 172.30.32.1:8123 ssl:False [Connection refused].
19-07-07 11:24:43 INFO (MainThread) [hassio.api.proxy] Home Assistant WebSocket API request initialize
19-07-07 11:24:43 INFO (MainThread) [hassio.api.proxy] WebSocket access from a0d7b954_nodered
19-07-07 11:24:43 ERROR (MainThread) [hassio.api.proxy] Client error on WebSocket API Cannot connect to host 172.30.32.1:8123 ssl:False [Connection refused].
19-07-07 11:24:47 INFO (MainThread) [hassio.api.proxy] Home Assistant WebSocket API request initialize
19-07-07 11:24:47 INFO (MainThread) [hassio.api.proxy] WebSocket access from a0d7b954_appdaemon3
19-07-07 11:24:47 ERROR (MainThread) [hassio.api.proxy] Client error on WebSocket API Cannot connect to host 172.30.32.1:8123 ssl:False [Connection refused].
19-07-07 11:24:48 INFO (MainThread) [hassio.api.proxy] Home Assistant WebSocket API request initialize
19-07-07 11:24:48 INFO (MainThread) [hassio.api.proxy] WebSocket access from a0d7b954_nodered
19-07-07 11:24:48 ERROR (MainThread) [hassio.api.proxy] Client error on WebSocket API Cannot connect to host 172.30.32.1:8123 ssl:False [Connection refused].
19-07-07 11:24:52 INFO (MainThread) [hassio.api.proxy] Home Assistant WebSocket API request initialize
19-07-07 11:24:52 INFO (MainThread) [hassio.api.proxy] WebSocket access from a0d7b954_appdaemon3
19-07-07 11:24:52 ERROR (MainThread) [hassio.api.proxy] Client error on WebSocket API Cannot connect to host 172.30.32.1:8123 ssl:False [Connection refused].
19-07-07 11:24:53 INFO (MainThread) [hassio.api.proxy] Home Assistant WebSocket API request initialize
19-07-07 11:24:53 INFO (MainThread) [hassio.api.proxy] WebSocket access from a0d7b954_nodered
19-07-07 11:24:53 ERROR (MainThread) [hassio.api.proxy] Client error on WebSocket API Cannot connect to host 172.30.32.1:8123 ssl:False [Connection refused].
19-07-07 11:24:56 INFO (MainThread) [hassio.homeassistant] Detect a running Home Assistant instance
19-07-07 11:24:56 INFO (MainThread) [hassio.homeassistant] Successful run Home Assistant 0.94.4
19-07-07 11:24:57 INFO (MainThread) [hassio.api.proxy] Home Assistant WebSocket API request initialize
19-07-07 11:24:57 INFO (MainThread) [hassio.api.proxy] WebSocket access from a0d7b954_appdaemon3
19-07-07 11:24:57 INFO (MainThread) [hassio.homeassistant] Updated Home Assistant API token
19-07-07 11:24:57 INFO (MainThread) [hassio.api.proxy] Home Assistant WebSocket API request running
19-07-07 11:24:58 INFO (MainThread) [hassio.api.proxy] Home Assistant WebSocket API request initialize
19-07-07 11:24:58 INFO (MainThread) [hassio.api.proxy] WebSocket access from a0d7b954_nodered
19-07-07 11:24:58 INFO (MainThread) [hassio.api.proxy] Home Assistant WebSocket API request running
19-07-07 11:25:18 INFO (MainThread) [hassio.api.security] /supervisor/logs access from core_ssh

No errors jumping out that I see in that log to work from.
May be the add on “Check Home Assistant configuration” can route out a configuration error.
Maybe?
Try installing that add on and running it.

Also if you are running HA on a Rpi w/SD card, perhaps the SD card is running out of space, maybe.

Hope its of help.

Thanks for advice.

After running ‘Check Home Assistant configuration’ app it looks like there might some config issues, potentially? The log from ‘Check Home Assistant configuration’ app shows Successful config (partial) http: and some of the yaml has ? and [source…] notes. Does the ‘Check Home Assistant configuration’ app send it’s output to a log file somewhere, which I can go through in more detail?

The odd thing is, the 0.94.4>Config>General>Check Config doesn’t show any errors in the config yaml files.

Here’s a brief sample output from ‘Check Home Assistant configuration’ app.

 speedtestdotnet: [source /tmp/config/configuration.yaml:100]
        monitored_conditions: [source /tmp/config/configuration.yaml:101]
          - ping
          - download
          - upload
      stream: ?
      sun: ?
      system_health: ?
...
Successful config (partial)
  http:

I’ve come across a few topics about Speedtest lately. Could be related? I don’t use that component.

Try disabling the component then try updating. Could be simple as that?

Hope it’s of help.

Hmmmmm? Removing Speedtest component didn’t seem to fix it.

Should I be concerned about some of the keys having ‘?’ after them and some having a [source…]? Is this where the problems are in my config?

Turns out I’d left an option key blank under http: in my configuration.yaml. Adding a true value fixed the issue and I was able to update.

I’d worked this out by installing a fresh version of 0.96.1 and then copying over my old config and doing a ‘Validate Config’ which showed me a full output and a much more helpful error message at the very top of the debug. The ‘Check Home Assistant configuration’ only seems to show the last 50-100 lines so the output wasn’t that helpful at identifying the problem.