Resolve "Provide docs to help with migration Debian 10 -> 11"
This commit is contained in:
parent
09944d6e0e
commit
01c978cdcf
|
@ -0,0 +1 @@
|
||||||
|
Added virtualenv upgrade instructions for Debian (#1562).
|
|
@ -15,11 +15,11 @@ We support [Debian](https://debian.org) and Debian-based Linux distributions. Fo
|
||||||
export FUNKWHALE_VERSION={sub-ref}`version`
|
export FUNKWHALE_VERSION={sub-ref}`version`
|
||||||
```
|
```
|
||||||
|
|
||||||
- Install `curl` and `unzip` - utilities used later.
|
- Install `curl`
|
||||||
|
|
||||||
```{code} bash
|
```{code} bash
|
||||||
sudo apt update # update apt cache
|
sudo apt update # update apt cache
|
||||||
sudo apt install curl unzip
|
sudo apt install curl
|
||||||
```
|
```
|
||||||
|
|
||||||
## 1. Install Funkwhale dependencies
|
## 1. Install Funkwhale dependencies
|
||||||
|
|
|
@ -2,6 +2,28 @@
|
||||||
|
|
||||||
If you installed Funkwhale following the [Debian guide](../installation_docs/debian), follow these steps to upgrade.
|
If you installed Funkwhale following the [Debian guide](../installation_docs/debian), follow these steps to upgrade.
|
||||||
|
|
||||||
|
:::{dropdown} Upgrading to a new version of Python
|
||||||
|
:icon: alert
|
||||||
|
:color: warning
|
||||||
|
|
||||||
|
If you upgrade your Python version, you need to update your virtualenv. Python is updated with each new version of Debian.
|
||||||
|
|
||||||
|
To upgrade your virtualenv:
|
||||||
|
|
||||||
|
1. Change to your api directory.
|
||||||
|
|
||||||
|
```{code-block} bash
|
||||||
|
cd /srv/funkwhale/api
|
||||||
|
```
|
||||||
|
|
||||||
|
2. Rerun `poetry install` to reinstall your dependencies in a new virtualenv.
|
||||||
|
|
||||||
|
```{code-block} bash
|
||||||
|
poetry install
|
||||||
|
```
|
||||||
|
|
||||||
|
:::
|
||||||
|
|
||||||
## Download the updated files
|
## Download the updated files
|
||||||
|
|
||||||
1. SSH into your server.
|
1. SSH into your server.
|
||||||
|
|
Loading…
Reference in New Issue