X-Git-Url: http://git.squeep.com/?a=blobdiff_plain;f=docs%2Fadmin%2Fupdating.md;h=84e6ef18d6e5ff204a313f213f09b03e4828d872;hb=c0b7bc2927cb7d4826fe2c992a90c571a06e94c1;hp=33ce1ab4f6a40488bfda8bb0fbdb35601355f5a7;hpb=baffdcc480cea13269ef0e3af58f0a848892bb9a;p=akkoma diff --git a/docs/admin/updating.md b/docs/admin/updating.md index 33ce1ab4f..84e6ef18d 100644 --- a/docs/admin/updating.md +++ b/docs/admin/updating.md @@ -1,9 +1,9 @@ # Updating your instance -1. Stop the Pleroma service. -2. Go to the working directory of Pleroma (default is `/opt/pleroma`) -3. Run `git pull`. This pulls the latest changes from upstream. -4. Run `mix deps.get`. This pulls in any new dependencies. +1. Go to the working directory of Pleroma (default is `/opt/pleroma`) +2. Run `git pull`. This pulls the latest changes from upstream. +3. Run `mix deps.get`. This pulls in any new dependencies. +4. Stop the Pleroma service. 5. Run `mix ecto.migrate`[^1]. This task performs database migrations, if there were any. -6. Restart the Pleroma service. +6. Start the Pleroma service. [^1]: Prefix with `MIX_ENV=prod` to run it using the production config file.