diff options
author | rinpatch <rinpatch@sdf.org> | 2019-06-23 02:55:43 +0300 |
---|---|---|
committer | rinpatch <rinpatch@sdf.org> | 2019-06-23 02:55:43 +0300 |
commit | 18eabca9789cdb96c77279aa4cff5b34e558c803 (patch) | |
tree | db050dd34bfbff2a3060b6a504faf6f9bf081bc9 /docs/installation | |
parent | 9d487ba57949a4102aa2eb67b26842f1c0ef418c (diff) | |
download | pleroma-18eabca9789cdb96c77279aa4cff5b34e558c803.tar.gz |
Add a section about updating
Diffstat (limited to 'docs/installation')
-rw-r--r-- | docs/installation/releases_en.md | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/docs/installation/releases_en.md b/docs/installation/releases_en.md index 30fbf5177..6c05f4cd9 100644 --- a/docs/installation/releases_en.md +++ b/docs/installation/releases_en.md @@ -238,3 +238,12 @@ run-parts --test /etc/periodic/daily ``` ### Running Mix tasks ### 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. |