snippets/old_snippets/update-pleroma-server.en.md

31 lines
No EOL
833 B
Markdown

---
title: update pleroma server
seo_description: Hoe to update your Pleroma OTP install quickly and easily
date: 2022-12-04T17:13:12+01:00
draft: false
snippet_types:
- pleroma
---
I always forget how to upgrade my Pleroma servicer when a new version comes out so I'm writing it here.
If you are unsure of what you are doing please consult the
[official docs](https://docs-develop.pleroma.social/backend/administration/updating/).
My Pleroma instance: [social.travisshears.xyz](http://social.travisshears.xyz)
Start by sshing into the server and switching to the pleroma user.
```shell
$ sudo su pleroma -s $SHELL
```
Then stop the server request the update, migrate the db and start it again.
```shell
$ ./bin/pleroma stop
$ ./bin/pleroma_ctl update
$ ./bin/pleroma_ctl migrate
$ ./bin/pleroma daemon
```
Boom new version!