Verified Commit 8d6651f7 authored by Thomas Citharel's avatar Thomas Citharel 🏃🏻
Browse files

Improve upgrade release docs


Signed-off-by: Thomas Citharel's avatarThomas Citharel <tcit@tcit.fr>
parent 7aed3171
Pipeline #402659 passed with stage
in 29 seconds
......@@ -23,20 +23,28 @@ Unless stated otherwise in the release notes, the following steps are enough to
The https://joinmobilizon.org/latest-package URL redirects to [the latest <ins>stable</ins> release package available](https://joinmobilizon.org/latest-release) ([Gitlab doesn't allow to do this directly currently](https://gitlab.com/gitlab-org/gitlab/-/issues/16821)), but you shouldn't use it it you want to get a beta version or a different version.
* Download the latest release build and unzip it:
* Download the latest release build and extract it:
```sh
curl 'https://joinmobilizon.org/latest-package' -o /tmp/mobilizon.tar.gz
tar xzf /tmp/mobilizon.tar.gz -C /tmp/
```
### Perform the upgrade
* Stop the running Mobilizon process
```sh
sudo systemctl stop mobilizon
```
* Move the release to the install folder, replacing the previous install:
```sh
rsync -a /tmp/mobilizon /opt/
rm /tmp/mobilizon.tar.gz
sudo rm -rf /opt/mobilizon
sudo mv /tmp/mobilizon /opt/
sudo rm /tmp/mobilizon.tar.gz
```
* Set the proper owner to `/opt/mobilizon`
```sh
chown -R mobilizon:mobilizon /opt/mobilizon
sudo chown -R mobilizon:mobilizon /opt/mobilizon
```
### Perform the eventual database migrations
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment