2020-08-24 00:04:32 +00:00
# Updating Soapbox
2022-09-04 20:15:54 +00:00
You should always check the [release notes/changelog ](https://gitlab.com/soapbox-pub/soapbox/-/blob/develop/CHANGELOG.md ) in case there are deprecations, special update changes, etc.
2020-08-24 00:04:32 +00:00
2022-08-29 16:20:56 +00:00
Besides that, it's relatively pretty easy to update Soapbox. There's two ways to go about it: with the command line or with an unofficial script.
2020-08-24 00:04:32 +00:00
## Updating with the command line
2022-08-29 16:20:56 +00:00
To update Soapbox via the command line, do the following:
2020-08-24 00:04:32 +00:00
```
# Download the build.
2022-09-04 20:15:54 +00:00
curl -L https://gitlab.com/soapbox-pub/soapbox/-/jobs/artifacts/develop/download?job=build-production -o soapbox-fe.zip
2020-08-24 00:04:32 +00:00
2022-08-29 16:20:56 +00:00
# Remove all the current Soapbox build in Pleroma's instance directory.
2020-08-30 19:43:40 +00:00
rm -R /opt/pleroma/instance/static/packs
rm /opt/pleroma/instance/static/index.html
rm -R /opt/pleroma/instance/static/sounds
2020-08-24 00:04:32 +00:00
# Unzip the new build to Pleroma's instance directory.
busybox unzip soapbox-fe.zip -o -d /opt/pleroma/instance
```
## After updating Soapbox
The changes take effect immediately, just refresh your browser tab. It's not necessary to restart the Pleroma service.