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:
47 # Run with production configuration
50 # Download and compile dependencies
54 # Stop akkoma (replace with your system service manager's equivalent if different)
55 sudo systemctl stop akkoma
57 # Run database migrations
60 # Update Pleroma-FE frontend to latest stable. For other Frontends see Frontend Configration doc for more information.
61 mix pleroma.frontend install pleroma-fe --ref stable
63 # Start akkoma (replace with your system service manager's equivalent if different)
64 sudo systemctl start akkoma