X-Git-Url: http://git.squeep.com/?a=blobdiff_plain;f=docs%2Fdocs%2Fadministration%2Fupdating.md;h=6cea56e5c42ba4b4d083bc31d5f12d47bac26ebd;hb=refs%2Fheads%2Fstable;hp=21ddb11d920a9c6ade65f1cb1e7b3ca7d7801433;hpb=f676007b18f7df7efada72f688f1213fc6d02749;p=akkoma diff --git a/docs/docs/administration/updating.md b/docs/docs/administration/updating.md index 21ddb11d9..6cea56e5c 100644 --- a/docs/docs/administration/updating.md +++ b/docs/docs/administration/updating.md @@ -26,11 +26,11 @@ su -s "$SHELL" akkoma # Run database migrations ./bin/pleroma_ctl migrate -# Update Pleroma-FE frontend to latest stable. For other Frontends see Frontend Configration doc for more information. -./bin/pleroma_ctl frontend install pleroma-fe --ref stable - # Start akkoma ./bin/pleroma daemon # or using the system service manager (e.g. systemctl start akkoma) + +# Update frontend(s). See Frontend Configuration doc for more information. +./bin/pleroma_ctl frontend install pleroma-fe --ref stable ``` If you selected an alternate flavour on installation, @@ -41,8 +41,10 @@ you _may_ need to specify `--flavour`, in the same way as Run as the `akkoma` user: ```sh -# Pull in new changes -git pull +# fetch changes +git fetch +# check out the latest tag +git checkout $(git tag -l | grep -v 'rc[0-9]*$' | sort -V | tail -n 1) # Run with production configuration export MIX_ENV=prod @@ -57,9 +59,9 @@ sudo systemctl stop akkoma # Run database migrations mix ecto.migrate -# Update Pleroma-FE frontend to latest stable. For other Frontends see Frontend Configration doc for more information. -mix pleroma.frontend install pleroma-fe --ref stable - # Start akkoma (replace with your system service manager's equivalent if different) sudo systemctl start akkoma + +# Update Pleroma-FE frontend to latest stable. For other Frontends see Frontend Configuration doc for more information. +mix pleroma.frontend install pleroma-fe --ref stable ```