diff options
author | marcin mikołajczak <git@mkljczk.pl> | 2023-12-22 14:34:30 +0100 |
---|---|---|
committer | marcin mikołajczak <git@mkljczk.pl> | 2023-12-22 14:34:30 +0100 |
commit | 6051715a990b7eb4379daec46d5ea0d63dce2c09 (patch) | |
tree | e53a6e689839a188e1dd8770e19135fb28bf8a0b /docs/administration/updating.md | |
parent | 5846e7d5f6b91ab63270f2104543d874589d39ca (diff) | |
parent | 5f1d70736711275ac9f0c95e5ada4cb2f1a96e11 (diff) | |
download | pleroma-6051715a990b7eb4379daec46d5ea0d63dce2c09.tar.gz pleroma-6051715a990b7eb4379daec46d5ea0d63dce2c09.zip |
Merge remote-tracking branch 'origin/develop' into instance_rules
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. |