Fixing upgrade notes.

This commit is contained in:
Dessalines 2023-02-01 09:36:43 -05:00
parent 0aceee84fa
commit 3ed80839db
1 changed files with 10 additions and 3 deletions

View File

@ -57,8 +57,8 @@ This upgrade requires a newer version of postgres, which **must be done manually
`cd` to your lemmy docker directory and run this helper script:
```
wget https://raw.githubusercontent.com/LemmyNet/lemmy/main/scripts/postgres_12_to_15_upgrade.sh
sh postgres_12_to_15_upgrade.sh
sudo wget https://raw.githubusercontent.com/LemmyNet/lemmy/main/scripts/postgres_12_to_15_upgrade.sh
sudo sh postgres_12_to_15_upgrade.sh
```
This script saves a copy of your old database as `12_15.dump.sql`. **Do not delete this file until you've followed all the instructions below, and the upgrade is complete.**
@ -72,7 +72,7 @@ Next, **manually edit** your [lemmy.hjson](https://github.com/LemmyNet/lemmy/blo
# api_key: "API_KEY"
}
```
- The `rate_limit` block should be removed, as that is now in the database, and can be updated through the UI.
- The `rate_limit`, `federation`, `captcha`, and `slur_filter` blocks should be removed, as they are now in the database, and can be updated through the UI.
- The site setup has removed a few fields.
- See the link above for every setting.
@ -82,6 +82,13 @@ The `image` lines should look like:
- `image: dessalines/lemmy:0.17.0` for lemmy
- `image: dessalines/lemmy-ui:0.17.0` for lemmy-ui
- The `lemmy-ui` environment variables have changed, and should now look like:
```
environment:
- LEMMY_UI_LEMMY_INTERNAL_HOST=lemmy:8536
- LEMMY_UI_LEMMY_EXTERNAL_HOST={{ domain }}
- LEMMY_UI_HTTPS=true
```
- You can always find the latest version [here](https://github.com/LemmyNet/lemmy-ansible/blob/main/VERSION).
- Ensure that postgres is `postgres:15-alpine` (the upgrade script above should have already set this correctly)