aboutsummaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorrinpatch <rinpatch@sdf.org>2019-06-23 02:55:43 +0300
committerrinpatch <rinpatch@sdf.org>2019-06-23 02:55:43 +0300
commit18eabca9789cdb96c77279aa4cff5b34e558c803 (patch)
treedb050dd34bfbff2a3060b6a504faf6f9bf081bc9 /docs
parent9d487ba57949a4102aa2eb67b26842f1c0ef418c (diff)
downloadpleroma-18eabca9789cdb96c77279aa4cff5b34e558c803.tar.gz
Add a section about updating
Diffstat (limited to 'docs')
-rw-r--r--docs/installation/releases_en.md9
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.