1 # Updating your instance
3 You should **always check the [release notes/changelog](https://akkoma.dev/AkkomaGang/akkoma/src/branch/stable/CHANGELOG.md)** in case there are config deprecations, special update steps, etc.
5 Besides that, doing the following is generally enough:
6 ## Switch to the akkoma user
18 ## For OTP installations
20 # Download latest stable release
21 ./bin/pleroma_ctl update --branch stable
24 ./bin/pleroma stop # or using the system service manager (e.g. systemctl stop akkoma)
26 # Run database migrations
27 ./bin/pleroma_ctl migrate
29 # Update Pleroma-FE frontend to latest stable. For other Frontends see Frontend Configration doc for more information.
30 ./bin/pleroma_ctl frontend install pleroma-fe --ref stable
33 ./bin/pleroma daemon # or using the system service manager (e.g. systemctl start akkoma)
36 If you selected an alternate flavour on installation,
37 you _may_ need to specify `--flavour`, in the same way as
38 [when installing](../../installation/otp_en#detecting-flavour).
40 ## For from source installations (using git)
41 Run as the `akkoma` user:
46 # check out the latest tag
47 git checkout $(git tag -l | grep -v 'rc[0-9]*$' | sort -V | tail -n 1)
49 # Run with production configuration
52 # Download and compile dependencies
56 # Stop akkoma (replace with your system service manager's equivalent if different)
57 sudo systemctl stop akkoma
59 # Run database migrations
62 # Update Pleroma-FE frontend to latest stable. For other Frontends see Frontend Configration doc for more information.
63 mix pleroma.frontend install pleroma-fe --ref stable
65 # Start akkoma (replace with your system service manager's equivalent if different)
66 sudo systemctl start akkoma