mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-05-09 04:29:03 +00:00

* Added link Added link to hassbian-config * Added note Added note for upgrade HA from hassbian-config * Added note Added note on how to uppdate HA from hassbian-config * Updated to match current version Updated to match current version of hassbian-config. * Corrected problems with link * Corrected typo * Corrected typo * Corrected typo * Update common-tasks.markdown * Update upgrading.markdown * Fix spelling * Fix spelling
1.1 KiB
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 how to upgrade Hasbian to the latest version. | 2016-09-26 21: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 also use `hassbian-config` to automate the process by running `sudo hassbian-config upgrade home-assistant`
To update the Home Assistant installation execute the following command as the pi
user.
$ sudo systemctl stop home-assistant@homeassistant.service
$ sudo su -s /bin/bash homeassistant
$ source /srv/homeassistant/bin/activate
$ pip3 install --upgrade homeassistant
$ exit
$ sudo systemctl start home-assistant@homeassistant.service