Add a section about updating

This commit is contained in:
rinpatch 2019-06-23 02:55:43 +03:00
parent 9d487ba579
commit 18eabca978
1 changed files with 9 additions and 0 deletions

View File

@ -238,3 +238,12 @@ run-parts --test /etc/periodic/daily
``` ```
### Running Mix tasks ### Running Mix tasks
### Updating ### Updating
Generally, doing the following is enough:
```sh
# Download the new release
su pleroma -s $SHELL -lc "./bin/pleroma_ctl update"
# Migrate the database, you are advised to stop the instance before doing that
su pleroma -s $SHELL -lc "./bin/pleroma_ctl migrate"
```
But you should **always check the release notes/changelog** in case there are config deprecations, special update steps, etc.