summaryrefslogtreecommitdiff
path: root/docs/administration/updating.md
diff options
context:
space:
mode:
authorHaelwenn <contact+git.pleroma.social@hacktivis.me>2022-12-23 17:43:21 +0000
committerHaelwenn <contact+git.pleroma.social@hacktivis.me>2022-12-23 17:43:21 +0000
commitf76c1d4f70fdda6da621a46fb75891e68e266946 (patch)
tree328aec763c24b6426decd30fe3b6a4674510bbee /docs/administration/updating.md
parentd8e326467c30b95c5164f6e29512057dce3c2077 (diff)
parent91c22637de5f1683a32207a606c33e7ef3b84676 (diff)
downloadpleroma-f76c1d4f70fdda6da621a46fb75891e68e266946.tar.gz
pleroma-f76c1d4f70fdda6da621a46fb75891e68e266946.zip
Merge branch 'release/2.5.0' into 'stable'
Release 2.5.0 See merge request pleroma/pleroma!3816
Diffstat (limited to 'docs/administration/updating.md')
-rw-r--r--docs/administration/updating.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/administration/updating.md b/docs/administration/updating.md
index ef2c9218c..00eca36a0 100644
--- a/docs/administration/updating.md
+++ b/docs/administration/updating.md
@@ -17,11 +17,11 @@ su pleroma -s $SHELL -lc "./bin/pleroma_ctl migrate"
## For from source installations (using git)
1. Go to the working directory of Pleroma (default is `/opt/pleroma`)
-2. Run `git pull`. This pulls the latest changes from upstream.
+2. Run `git checkout <tagged release>` [^1]. e.g. `git checkout v2.4.5` This pulls the [tagged release](https://git.pleroma.social/pleroma/pleroma/-/releases) from upstream.
3. Run `mix deps.get` [^1]. This pulls in any new dependencies.
4. Stop the Pleroma service.
5. Run `mix ecto.migrate` [^1] [^2]. This task performs database migrations, if there were any.
6. Start the Pleroma service.
-[^1]: Depending on which install guide you followed (for example on Debian/Ubuntu), you want to run `mix` tasks as `pleroma` user by adding `sudo -Hu pleroma` before the command.
+[^1]: Depending on which install guide you followed (for example on Debian/Ubuntu), you want to run `git` and `mix` tasks as `pleroma` user by adding `sudo -Hu pleroma` before the command.
[^2]: Prefix with `MIX_ENV=prod` to run it using the production config file.