Confused! How to update?

HI All

First post, so sorry if i am being an idiot!

I installed Home Assistant using this guide here (On Ubuntu)

Its been working fine for sometime and i have setup plenty of configurations which i am happy with.

However, i want to update it. I am currently running 0.87 and i believe the above setup has configured it in a docker (if i am not mistaken?).

I tried running this commant “sudo docker pull homeassistant/home-assistant:latest” and it seems to download a version, but even after a reboot of my server, it hasnt updated Home Assistant?

So my first confusion is how do i update?

The second thing i am confused about is… Am i running home assistant or Hass.io? Are these the same thing? Is there no update function from within the gui?

Any help appreciated!

Thought this might also help?

You’re running Home Assistant (we all are). There are multiple installation methods, and Hass.io is one of those methods. You ran the Hass.io installer on Ubuntu, so you should see a Hass.io button in the sidebar on the left side in your frontend. Click that and you should see an update button on the page that loads.

You’re pretty far behind on versions (current one is 0.100.2), so you should install the configuration check add-on and run that before updating. You should also read through the breaking changes for each version.

Don’t forget to make a snapshot before updating and save it to some external media. You might need it if you run into issues updating.

Thanks for the quick response but that has.io button I cannot seem to find? I’m sure I’m being stupid but why would it be missing?

I’m logged in as an “owner” so guessing it’s not permissions either

You’re running an old version of Home Assistant. You might need to add the following to configuration.yaml:

hassio:

That’s not needed with current versions, but I’m not sure when that changed.

Ok so that has added the button but i get a blank page when i click it?

So failing this page loading, can i update via command line (SSH?)

Yes.
hassio homeassistant update --version=x.y.z

The hassio command is not recognised for me via ssh. Tried to sudo and same issue

I guess you’re running ha in a virtual environment
In following link is described how to upgrade

You have to use the SSH add-on for that command to work.

I guess you didn’t read where he ran the hassio installer script??

1 Like