Add a section about updating
authorrinpatch <rinpatch@sdf.org>
Sat, 22 Jun 2019 23:55:43 +0000 (02:55 +0300)
committerrinpatch <rinpatch@sdf.org>
Sat, 22 Jun 2019 23:55:43 +0000 (02:55 +0300)
docs/installation/releases_en.md

index 30fbf51774b20d33b904a6bf82c0baf60e0a0842..6c05f4cd9dd8238b8f31adf7be53fe66577352fe 100644 (file)
@@ -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.