diff options
author | marcin mikołajczak <git@mkljczk.pl> | 2023-02-19 22:02:03 +0100 |
---|---|---|
committer | marcin mikołajczak <git@mkljczk.pl> | 2023-02-19 22:02:03 +0100 |
commit | 92592c25c219f44ab6454762f5a5a97e800f5b1d (patch) | |
tree | f1db48a9b222d875841c43b9c5f9b6d2c810a500 /docs/administration/updating.md | |
parent | 3ed39e310939d90ddbad7bd7ffa1ebd8aca6e74c (diff) | |
parent | 8a0162cd9694a1c5bf131fefb6e6a8d3dcb68fae (diff) | |
download | pleroma-92592c25c219f44ab6454762f5a5a97e800f5b1d.tar.gz pleroma-92592c25c219f44ab6454762f5a5a97e800f5b1d.zip |
Merge remote-tracking branch 'pleroma/develop' into status-notification-type
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
Diffstat (limited to 'docs/administration/updating.md')
-rw-r--r-- | docs/administration/updating.md | 4 |
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. |