projects
/
akkoma
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9d487ba
)
Add a section about updating
author
rinpatch
<rinpatch@sdf.org>
Sat, 22 Jun 2019 23:55:43 +0000
(
02:55
+0300)
committer
rinpatch
<rinpatch@sdf.org>
Sat, 22 Jun 2019 23:55:43 +0000
(
02:55
+0300)
docs/installation/releases_en.md
patch
|
blob
|
history
diff --git
a/docs/installation/releases_en.md
b/docs/installation/releases_en.md
index 30fbf51774b20d33b904a6bf82c0baf60e0a0842..6c05f4cd9dd8238b8f31adf7be53fe66577352fe 100644
(file)
--- 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.