Albert Lee 400bd8d2a4 Correct commands for 'homeassistant' user
* Update commands to start shell as 'homeassistant' user
* Fix references to 'hass' user
2018-06-03 16:56:00 +00:00

1.1 KiB

layout, title, description, date, sidebar, comments, sharing, footer, redirect_from
layout title description date sidebar comments sharing footer redirect_from
page Upgrading Hassbian Instructions on how to upgrade Hassbian to the latest version. 2018-06-03 11:00 true false true true /docs/hassbian/upgrading/

Hassbian is based on Raspbian and uses the same repositories. Any changes to Raspbian will be reflected in Hassbian. To update and upgrade system packages and installed software (excluding Home Assistant) do the following. Log in as the pi account and execute the following commands:

$ sudo apt-get update
$ sudo apt-get -y upgrade

{% linkable_title Updating Home Assistant %}

You can use `hassbian-config` to automate the process by running `sudo hassbian-config upgrade homeassistant`

To update the Home Assistant installation execute the following command as the pi user.

$ sudo systemctl stop home-assistant@homeassistant.service
$ sudo -u homeassistant -H -s
$ source /srv/homeassistant/bin/activate
$ pip3 install --upgrade homeassistant
$ exit
$ sudo systemctl start home-assistant@homeassistant.service