Issue updating hass.io

Hi there,

I’m having issues updating hass.io from 0.98.5 to latest version.
I click the update button, it spins for a while then everything looks normal, like it’s being done, but later on I get this error message:

Can you guys help me?
Thanks!

Oh boy. :grimacing: That’s a massive jump from 0.98.5 to 0.105.5. There are a shed load of breaking changes you (probably) have to fix.

My advice:

Use the command line (SSH) to update one (major) version at a time and read the release notes for each version closely and fix the braking changes for each one before proceeding.

For each version update use this command:

ha core update --version=x.y.z

The other reference you might find helpful is this:

https://hachanges.halfdecent.io/

1 Like

Hi @tom_l

Thanks for you response. I’ll try that as soon as I get home.

1 Like

Hi @tom_l I’m still facing issues.

Updating over SSH produced errors as well:

20-02-21 19:32:03 INFO (SyncWorker_19) [hassio.docker.interface] Stop homeassistant application
20-02-21 19:32:41 INFO (SyncWorker_19) [hassio.docker.interface] Clean homeassistant application
20-02-21 19:33:18 INFO (SyncWorker_15) [hassio.docker.homeassistant] Start homeassistant homeassistant/raspberrypi3-homeassistant with version 0.101.0
20-02-21 19:41:23 INFO (MainThread) [hassio.host.info] Update local host information
20-02-21 19:41:23 INFO (MainThread) [hassio.utils.gdbus] Call org.freedesktop.DBus.Properties.GetAll on /org/freedesktop/hostname1
20-02-21 19:41:48 INFO (MainThread) [hassio.host.services] Update service information
20-02-21 19:41:48 INFO (MainThread) [hassio.utils.gdbus] Call org.freedesktop.systemd1.Manager.ListUnits on /org/freedesktop/systemd1
20-02-21 19:41:48 INFO (MainThread) [hassio.host.network] Update local network DNS information
20-02-21 19:41:48 INFO (MainThread) [hassio.utils.gdbus] Call org.freedesktop.DBus.Properties.GetAll on /org/freedesktop/NetworkManager/DnsManager
20-02-21 19:43:22 WARNING (MainThread) [hassio.homeassistant] Don't wait anymore of Home Assistant startup!
20-02-21 19:43:22 CRITICAL (MainThread) [hassio.homeassistant] HomeAssistant update fails -> rollback!
20-02-21 19:43:22 INFO (MainThread) [hassio.homeassistant] Update Home Assistant to version 0.100.3
20-02-21 19:43:22 INFO (SyncWorker_2) [hassio.docker.interface] Update image homeassistant/raspberrypi3-homeassistant:0.101.0 to homeassistant/raspberrypi3-homeassistant:0.100.3
20-02-21 19:43:22 INFO (SyncWorker_2) [hassio.docker.interface] Pull image homeassistant/raspberrypi3-homeassistant tag 0.100.3.
20-02-21 19:43:28 INFO (SyncWorker_2) [hassio.docker.interface] Stop homeassistant application
20-02-21 19:44:52 INFO (SyncWorker_2) [hassio.docker.interface] Clean homeassistant application
20-02-21 19:45:29 INFO (SyncWorker_6) [hassio.docker.homeassistant] Start homeassistant homeassistant/raspberrypi3-homeassistant with version 0.100.3
20-02-21 19:47:16 INFO (MainThread) [hassio.homeassistant] Detect a running Home Assistant instance
20-02-21 19:47:16 INFO (MainThread) [hassio.homeassistant] Successful run Home Assistant 0.100.3
20-02-21 19:47:42 INFO (SyncWorker_1) [hassio.docker.interface] Cleanup images: ['homeassistant/raspberrypi3-homeassistant:0.101.0']
20-02-21 20:01:35 INFO (MainThread) [hassio.updater] Fetch update data from https://version.home-assistant.io/stable.json

I managed to solve the issue. It seems the docker pull image was taking too long, so the hassos supervisor simply gave up waiting.

I solved it by manually pulling the image to the filesystem before issuing the update command. This way when the supervisor tries to pull it, it’s already there.

Good work-around. How are you going with the breaking changes?

I had to remove the legacy api_password login. Other than that I had old switched that no longer exist and had to be removed.

All working now.

1 Like