mirror of
https://git.pleroma.social/pleroma/pleroma.git
synced 2024-12-23 00:26:30 +00:00
Add a section about updating
This commit is contained in:
parent
9d487ba579
commit
18eabca978
1 changed files with 9 additions and 0 deletions
|
@ -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.
|
||||
|
|
Loading…
Reference in a new issue