HASSbian documentation (#3063)

* Remove Hassbian

* Replace Hassbian with Hass.io

* Move Hassbian docs to installation folder

* Update navigation

* Update redirects

* Update link
This commit is contained in:
Fabian Affolter 2017-07-26 22:39:01 +02:00 committed by GitHub
parent 7f8b7a760c
commit 1f3bc2b563
9 changed files with 11 additions and 25 deletions

View file

@ -0,0 +1,33 @@
---
layout: page
title: "Upgrading Hassbian"
description: "Instructions how to upgrade Hasbian to the latest version."
date: 2016-09-26 21:00
sidebar: true
comments: false
sharing: true
footer: true
redirect_from: /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:
```bash
$ sudo apt-get update
$ sudo apt-get -y upgrade
```
#### {% linkable_title Updating Home Assistant %}
To update the Home Assistant installation execute the following command as the `pi` user.
```bash
$ 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
```