mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-22 08:46:51 +00:00
Update core upgrade instructions (#23058)
This commit is contained in:
parent
aeccb306ef
commit
d51195e7fd
@ -48,24 +48,26 @@ docker pull {{ site.installation.container }}:beta
|
||||
|
||||
{% elsif page.installation == "core" %}
|
||||
|
||||
1. Switch to the user that is running Home Assistant
|
||||
1. Stop the Home Assistant service.
|
||||
|
||||
2. Switch to the user that is running Home Assistant
|
||||
|
||||
```bash
|
||||
sudo -u homeassistant -H -s
|
||||
```
|
||||
|
||||
2. Activate the virtual environment that Home Assistant is running in
|
||||
3. Activate the virtual environment that Home Assistant is running in
|
||||
|
||||
```bash
|
||||
source /srv/homeassistant/bin/activate
|
||||
```
|
||||
|
||||
3. Download and install the beta version
|
||||
4. Download and install the beta version
|
||||
|
||||
```bash
|
||||
pip3 install --pre --upgrade homeassistant
|
||||
```
|
||||
|
||||
4. When that is complete restart the service for it to use the new files.
|
||||
5. When that is complete start the service again for it to use the new files.
|
||||
|
||||
{% endif %}
|
||||
|
@ -38,24 +38,26 @@ docker pull {{ site.installation.container }}:dev
|
||||
|
||||
{% elsif page.installation == "core" %}
|
||||
|
||||
1. Switch to the user that is running Home Assistant
|
||||
1. Stop the Home Assistant service.
|
||||
|
||||
2. Switch to the user that is running Home Assistant
|
||||
|
||||
```bash
|
||||
sudo -u homeassistant -H -s
|
||||
```
|
||||
|
||||
2. Activate the virtual environment that Home Assistant is running in
|
||||
3. Activate the virtual environment that Home Assistant is running in
|
||||
|
||||
```bash
|
||||
source /srv/homeassistant/bin/activate
|
||||
```
|
||||
|
||||
3. Download and install the version you want
|
||||
4. Download and install the version you want
|
||||
|
||||
```bash
|
||||
pip3 install --upgrade git+https://github.com/home-assistant/core.git@dev
|
||||
```
|
||||
|
||||
4. When that is complete restart the service for it to use the new files.
|
||||
5. When that is complete start the service again for it to use the new files.
|
||||
|
||||
{% endif %}
|
||||
|
@ -20,24 +20,26 @@ docker pull {{ site.installation.container }}:{{current_version}}
|
||||
|
||||
{% elsif page.installation == "core" %}
|
||||
|
||||
1. Switch to the user that is running Home Assistant
|
||||
1. Stop the Home Assistant service.
|
||||
|
||||
2. Switch to the user that is running Home Assistant
|
||||
|
||||
```bash
|
||||
sudo -u homeassistant -H -s
|
||||
```
|
||||
|
||||
2. Activate the virtual environment that Home Assistant is running in
|
||||
3. Activate the virtual environment that Home Assistant is running in
|
||||
|
||||
```bash
|
||||
source /srv/homeassistant/bin/activate
|
||||
```
|
||||
|
||||
3. Download and install the version you want
|
||||
4. Download and install the version you want
|
||||
|
||||
```bash
|
||||
pip3 install homeassistant=={{current_version}}
|
||||
```
|
||||
|
||||
4. When that is complete restart the service for it to use the new files.
|
||||
5. When that is complete start the service again for it to use the new files.
|
||||
|
||||
{% endif %}
|
||||
|
@ -61,24 +61,26 @@ To update Home Assistant Core when you run Home Assistant {{ page.installation_n
|
||||
|
||||
{% elsif page.installation == "core" %}
|
||||
|
||||
1. Switch to the user that is running Home Assistant
|
||||
1. Stop the Home Assistant service.
|
||||
|
||||
2. Switch to the user that is running Home Assistant
|
||||
|
||||
```bash
|
||||
sudo -u homeassistant -H -s
|
||||
```
|
||||
|
||||
2. Activate the virtual environment that Home Assistant is running in
|
||||
3. Activate the virtual environment that Home Assistant is running in
|
||||
|
||||
```bash
|
||||
source /srv/homeassistant/bin/activate
|
||||
```
|
||||
|
||||
3. Download and install the new version
|
||||
4. Download and install the new version
|
||||
|
||||
```bash
|
||||
pip3 install --upgrade homeassistant
|
||||
```
|
||||
|
||||
4. When that is complete restart the service for it to use the new files.
|
||||
5. When that is complete start the service again for it to use the new files.
|
||||
|
||||
{% endif %}
|
||||
|
Loading…
x
Reference in New Issue
Block a user