Can't update hassio on a RP3 from 0.56.2 to 0.57.2

I switched over to hassio, to avoid mucking about with the openzwave and python versions, etc. Everything works fine, but I haven’t been able to upgrade my system from 0.56.2. I’m not sure even where to start. I’ve selected Update from the Update Available window and I’ve reboot the system, but my system stays at 0.56.2.

Could someone pipe in with where there might be a log message that will help identify the issue?

One way to read the hass.io logs is by clicking the “i” icon under Developer Tools, which is at the bottom of the left sidebar. That link takes you to the About page of your hassio, and after a short loading time, your logs will appear at the bottom of that page.

When I press Update, I get a reboot and then the log includes no information pertaining to the update. The update simply fails to occur. Is there another log that I should be looking at. I can SSH into my RP3.

Here’s my supervisor log if this will help…
starting version 3.2.2
17-11-11 17:57:09 INFO (MainThread) [main] Initialize Hassio setup
17-11-11 17:57:09 INFO (MainThread) [main] Setup HassIO
17-11-11 17:57:09 INFO (SyncWorker_0) [hassio.dock.supervisor] Attach to supervisor homeassistant/armhf-hassio-supervisor with version 0.74
17-11-11 17:57:09 INFO (MainThread) [hassio.host_control] Send ‘info’ to HostControl.
17-11-11 17:57:10 INFO (MainThread) [hassio.host_control] Receive from HostControl: { “type”: “resinos”, “version”: “1.1”, “last_version”: “1.1”, “hostname”: “hassio”, “features”: [“shutdown”, “reboot”, “update”, “hostname”], “os”: “GNU/Linux” }.
17-11-11 17:57:10 INFO (SyncWorker_0) [hassio.dock.interface] Attach to image homeassistant/raspberrypi3-homeassistant with version 0.56.2
17-11-11 17:57:10 INFO (MainThread) [hassio.addons.git] Load addon /data/addons/core repository
17-11-11 17:57:10 INFO (MainThread) [hassio.addons] Load addons: 17 all - 17 new - 0 remove
17-11-11 17:57:11 INFO (SyncWorker_1) [hassio.dock.interface] Attach to image homeassistant/armhf-addon-samba with version 2.0
17-11-11 17:57:11 INFO (SyncWorker_6) [hassio.dock.interface] Attach to image homeassistant/armhf-addon-mosquitto with version 1.0
17-11-11 17:57:11 INFO (SyncWorker_0) [hassio.dock.interface] Attach to image homeassistant/armhf-addon-ssh with version 2.9
17-11-11 17:57:11 INFO (SyncWorker_2) [hassio.dock.interface] Attach to image homeassistant/armhf-addon-duckdns with version 1.0
17-11-11 17:57:11 INFO (MainThread) [hassio.addons] Startup initialize run 0 addons
17-11-11 17:57:11 INFO (MainThread) [hassio.snapshots] Found 3 snapshot files
17-11-11 17:57:11 INFO (MainThread) [main] Run HassIO
17-11-11 17:57:11 INFO (MainThread) [hassio.addons.git] Pull addon https://github.com/home-assistant/hassio-addons repository
17-11-11 17:57:11 INFO (MainThread) [hassio.dns] Start DNS port forwarding for host add-ons
17-11-11 17:57:11 INFO (MainThread) [hassio.updater] Fetch update data from https://raw.githubusercontent.com/home-assistant/hassio/master/version.json
17-11-11 17:57:11 INFO (MainThread) [hassio.core] Start hassio api on 172.30.32.2
17-11-11 17:57:11 INFO (MainThread) [hassio.addons] Startup system run 1 addons
17-11-11 17:57:11 INFO (SyncWorker_1) [hassio.dock.interface] Clean homeassistant/armhf-addon-mosquitto docker application
17-11-11 17:57:12 INFO (MainThread) [hassio.addons] Load addons: 17 all - 0 new - 0 remove
17-11-11 17:59:27 INFO (SyncWorker_1) [hassio.dock.addon] Start docker addon homeassistant/armhf-addon-mosquitto with version 1.0
17-11-11 17:59:27 INFO (MainThread) [hassio.addons] Startup services run 3 addons
17-11-11 17:59:27 INFO (SyncWorker_6) [hassio.dock.interface] Clean homeassistant/armhf-addon-ssh docker application
17-11-11 17:59:27 INFO (SyncWorker_0) [hassio.dock.interface] Clean homeassistant/armhf-addon-samba docker application
17-11-11 17:59:27 INFO (SyncWorker_2) [hassio.dock.interface] Clean homeassistant/armhf-addon-duckdns docker application
17-11-11 17:59:29 INFO (SyncWorker_0) [hassio.dock.addon] Start docker addon homeassistant/armhf-addon-samba with version 2.0
17-11-11 17:59:30 INFO (SynPreformatted textcWorker_2) [hassio.dock.addon] Start docker addon homeassistant/armhf-addon-duckdns with version 1.0
17-11-11 17:59:30 INFO (SyncWorker_6) [hassio.dock.addon] Start docker addon homeassistant/armhf-addon-ssh with version 2.9
17-11-11 17:59:30 INFO (SyncWorker_18) [hassio.dock.interface] Clean homeassistant/raspberrypi3-homeassistant docker application
17-11-11 17:59:32 INFO (SyncWorker_18) [hassio.dock.homeassistant] Start homeassistant homeassistant/raspberrypi3-homeassistant with version 0.56.2
17-11-11 17:59:32 INFO (MainThread) [hassio.addons] Startup application run 0 addons

I took the easy road and simply reflashed a new image of hassio and then copied my configuration and backup snapshots. I’m at 0.57.2, but not very pleased that the upgrade process failed. I hope I’m not expected to do this for every upgrade.

I’ve been through a handful of hassio updates and they have all been painless. Of course, after saying that, I am trying to update to 0.57.2 from 0.56.2 and I am experiencing the same issue as you did. Selecting Update from the front end brought me right back to the same 0.56.2. Time to try via SSH… :thinking:

I am having the exact same issue. Neither the update via UI nor the update via SSH seem to work.
Next step will be to setup hassio from scratch.

Updating via SSH didn’t work for me, either, at first. I rebooted the Pi, and then tried to update again via SSH the next day, and it worked. I honestly couldn’t tell you what was different, but maybe give it another shot after rebooting and waiting if starting from scratch is too much of a hassle for you.

Just for reference, what’s the command to perform an update via SSH?

Using the SSH Server Addon, you can check the available commands by typing hassio at the command line and pressing enter. Specifically, the command I used to update was hassio homeassistant update.

@RiseUp
I seriously can’t answer why or how, but it worked as suggested.
Rebooted yesterday, and today the update worked. It was the update via UI.
Thanks for the hint.

In any case, glad you got it working. :grinning:

Well I tried upgrading via the UI and SSH from 0.57.2 to 0.57.3 to no avail. Is it because the image isn’t available yet?

I’m having trouble updating from 0.57.2 to 0.57.3, as well, but I believe that’s due to another major issue I’m currently trying to figure out. Maybe someone else can comment on your question?

I think my update from 0.57.2 to 0.57.3 may have failed due to insufficient disk space on my Rpi. I was down to only about 500MB or 5% left on my SSD card before erasing the homeassistant_v2.db occupying about 5.9GB. However, since that failed update I get the same Error: unknown error every time I try. Also the command line update fails with Error on homeassistant/update:

I get the same errors trying to update from 57.2 to 57.3 (or 58.1 now) - by SSH-command as well as from the frontend.

Yay! First, I created a snapshot of my latest config and copied it to my PC. Then I bought a new SD card, and burnt a new hass.io image to it and inserted it into the raspberry pi. After it had initialized, I could reach it through http://hassio.local:8123 and install the samba addon. Then I copied the previous snapshot over to my new hassio/backup folder and performed a restore. After a little while everything was back and you couldn’t really notice a difference from the previous installation. Following this “little” operation, which was surprisingly easy to perform, the update from 0.57.2 to 0.58.1 worked without problems!

1 Like

The upgrade process on HASSIO seems to work for some of us only when you burn a new SD card. I’m now in the middle of my 5th upgrade and having to burn a new flash is getting old. I also purchased a new SD card, burned a new image, waited until a new version was available and watched it fail to upgrade as well.

It would be wonderful is someone could help figure out why the upgrade process doesn’t work.