
* Added link to Hassio A Hassio link was added to the 'note' section about avoiding permission errors, but I think we need to add a link up top too so that folks can go see the upgrading section of the Hassio documentation. Thanks * Update updating.markdown
2.3 KiB
layout | title | description | date | sidebar | comments | sharing | footer | redirect_from |
---|---|---|---|---|---|---|---|---|
page | Updating Home Assistant | Step to update Home Assistant. | 2016-05-04 10:00 | true | false | true | true | /getting-started/updating/ |
The upgrade process differs depending on the installation you have, so please review the documentation that is specific to your install [Hass.io](/hassio/), [HASSbian](/docs/hassbian/common-tasks/#update-home-assistant), [Raspberry Pi All-In-One Installer](/docs/installation/raspberry-pi-all-in-one/#upgrading), [Vagrant](/docs/installation/vagrant/), or [Virtualenv](/docs/installation/virtualenv/#upgrading-home-assistant).
The default way to update Home Assistant to the latest release, when available, is:
$ pip3 install --upgrade homeassistant
After updating, you must restart Home Assistant for the changes to take effect. This means that you will have to restart hass
itself or the autostarting daemon (if applicable). Startup can take considerable amount of time (i.e. minutes) depending on your device. This is because all requirements are updated as well.
To avoid permission errors, the upgrade must be run as the same user as the installation was completed, again review the documentation specific to your install [HASSIO](/hassio/), [HASSbian](/docs/hassbian/installation/), [Raspberry Pi All-In-One Installer](/docs/installation/raspberry-pi-all-in-one/), [Vagrant](/docs/installation/vagrant/), or [Virtualenv](/docs/installation/virtualenv).
BRUH automation has created a tutorial video explaining how to upgrade Home Assistant.
{% linkable_title Run a specific version %}
In the event that a Home Assistant version doesn't play well with your hardware setup, you can downgrade to a previous release:
$ pip3 install homeassistant==0.XX.X
{% linkable_title Run the development version %}
If you want to stay on the bleeding-edge Home Assistant development branch, you can upgrade to dev
.
The "dev" branch is likely to be unstable. Potential consequences include loss of data and instance corruption.
$ pip3 install --upgrade git+git://github.com/home-assistant/home-assistant.git@dev