HA upgrade failure

I’m running HA on Ubuntu installed on a Proxmox VM and is doing smoothly for quite some time.

I’m now trying to upgrade from version 0.107 to 0.108 and it is failing saying “Can’t execute update while a task is in progress” and aborts the update rolling back to the previous version.

As I’m not running out of memory neither disk space on HA VM, I’m not being able to understand why this error is happening.

Below the log:

20-04-15 22:54:38 INFO (MainThread) [supervisor.homeassistant] Update Home Assistant to version 0.108.5
20-04-15 22:54:38 INFO (SyncWorker_15) [supervisor.docker.interface] Update image homeassistant/qemux86-64-homeassistant:0.107.7 to homeassistant/qemux86-64-homeassistant:0.108.5
20-04-15 22:54:38 INFO (SyncWorker_15) [supervisor.docker.interface] Pull image homeassistant/qemux86-64-homeassistant tag 0.108.5.
20-04-15 22:55:38 ERROR (MainThread) [supervisor.utils] Can't execute update while a task is in progress
20-04-15 22:56:10 INFO (SyncWorker_15) [supervisor.docker.interface] Stop homeassistant application
20-04-15 22:56:11 INFO (MainThread) [supervisor.api.proxy] Home Assistant WebSocket API error: Received message 8:1000 is not str
20-04-15 22:56:11 INFO (MainThread) [supervisor.api.proxy] Home Assistant WebSocket API connection is closed
20-04-15 22:56:13 ERROR (MainThread) [supervisor.homeassistant] Error on call https://172.30.32.1:8123/api/states/binary_sensor.snapshots_stale: Cannot connect to host 172.30.32.1:8123 ssl:None [Connection refused]
20-04-15 22:56:13 ERROR (MainThread) [supervisor.api.proxy] Error on API for request states/binary_sensor.snapshots_stale
20-04-15 22:56:16 INFO (MainThread) [supervisor.api.proxy] Home Assistant WebSocket API request initialize
20-04-15 22:56:16 INFO (MainThread) [supervisor.api.proxy] WebSocket access from a0d7b954_nodered
20-04-15 22:56:16 ERROR (MainThread) [supervisor.api.proxy] Client error on WebSocket API Cannot connect to host 172.30.32.1:8123 ssl:False [Connection refused].
20-04-15 22:56:19 INFO (SyncWorker_15) [supervisor.docker.interface] Clean homeassistant application
20-04-15 22:56:19 INFO (MainThread) [supervisor.homeassistant] Update pulse/client.config: /data/tmp/homeassistant_pulse
20-04-15 22:56:19 INFO (SyncWorker_13) [supervisor.docker.homeassistant] Start homeassistant homeassistant/qemux86-64-homeassistant with version 0.108.5
20-04-15 22:56:21 INFO (MainThread) [supervisor.api.proxy] Home Assistant WebSocket API request initialize
20-04-15 22:56:21 INFO (MainThread) [supervisor.api.proxy] WebSocket access from a0d7b954_nodered
20-04-15 22:56:21 ERROR (MainThread) [supervisor.api.proxy] Client error on WebSocket API Cannot connect to host 172.30.32.1:8123 ssl:False [Connection refused].
20-04-15 22:56:24 INFO (MainThread) [supervisor.homeassistant] Home Assistant pip installation in progress
20-04-15 22:56:26 INFO (MainThread) [supervisor.api.proxy] Home Assistant WebSocket API request initialize
20-04-15 22:56:26 INFO (MainThread) [supervisor.api.proxy] WebSocket access from a0d7b954_nodered
20-04-15 22:56:26 ERROR (MainThread) [supervisor.api.proxy] Client error on WebSocket API Cannot connect to host 172.30.32.1:8123 ssl:False [Connection refused].
20-04-15 22:56:31 INFO (MainThread) [supervisor.api.proxy] Home Assistant WebSocket API request initialize
20-04-15 22:56:31 INFO (MainThread) [supervisor.api.proxy] WebSocket access from a0d7b954_nodered
20-04-15 22:56:31 ERROR (MainThread) [supervisor.api.proxy] Client error on WebSocket API Cannot connect to host 172.30.32.1:8123 ssl:False [Connection refused].
20-04-15 22:56:34 INFO (MainThread) [supervisor.homeassistant] Home Assistant pip installation done
20-04-15 22:56:36 INFO (MainThread) [supervisor.api.proxy] Home Assistant WebSocket API request initialize
20-04-15 22:56:36 INFO (MainThread) [supervisor.api.proxy] WebSocket access from a0d7b954_nodered
20-04-15 22:56:36 ERROR (MainThread) [supervisor.api.proxy] Client error on WebSocket API Cannot connect to host 172.30.32.1:8123 ssl:False [Connection refused].
20-04-15 22:56:39 ERROR (MainThread) [supervisor.homeassistant] Home Assistant has crashed!
20-04-15 22:56:39 CRITICAL (MainThread) [supervisor.homeassistant] HomeAssistant update fails -> rollback!
20-04-15 22:56:39 INFO (MainThread) [supervisor.homeassistant] Update Home Assistant to version 0.107.7

Thanks for your support

Have you tied to reboot the VM?

Thanks for your interest

Yes, I did already several VM reboots but not yet any NUC reboot

Try this solution: