mirror of
https://github.com/simple-login/app.git
synced 2024-09-20 15:05:59 +08:00
add how to upgrade 2.0.0 -> 2.1.0
This commit is contained in:
parent
c603b376a5
commit
a59058b163
|
@ -4,6 +4,31 @@ No emails or any data is lost in the upgrade process. The same process is by the
|
|||
|
||||
Sometimes upgrading to a major version might require running a manual migration. This is for example the case when upgrading to 2.0.0. In this case please follow the corresponding migration first before running these scripts.
|
||||
|
||||
<details>
|
||||
<summary>Upgrade to 2.1.0 from 2.0.0</summary>
|
||||
<p>
|
||||
|
||||
2.1.0 comes with PGP support. If you use PGP, please follow these steps to enable this feature:
|
||||
|
||||
1) Create directory to store SimpleLogin data
|
||||
|
||||
```bash
|
||||
mkdir sl
|
||||
mkdir sl/pgp # to store PGP key
|
||||
mkdir sl/db # to store database
|
||||
```
|
||||
|
||||
2) Then add this line to your config simplelogin.env file
|
||||
|
||||
```
|
||||
GNUPGHOME=/sl/pgp # where to store PGP keys
|
||||
```
|
||||
|
||||
Now you can follow the usual steps to upgrade SimpleLogin.
|
||||
|
||||
</p>
|
||||
</details>
|
||||
|
||||
<details>
|
||||
<summary>Upgrade to 2.0.0</summary>
|
||||
<p>
|
||||
|
|
Loading…
Reference in a new issue