Upgrading from 4.1.0

Any advice on upgrading Mobilizon 4.1.0 to the new Debian Bookworm 5.1.0? The only similar topics here appear to be only Peertube upgrades.

Upgrade is seamless.
The new version will first update the database and then run as expected.

As usual, ensure you have a recent backup of the data and you know how to restore it.

Feel free to ask for support here or on Matrix.

except that you didn’t say how you initiated the seamless upgrade!

  1. download latest tarball for your platform
  2. sudo systemctl stop mobilizon
  3. cd /opt, move /opt/mobilizon and tar -xzf that tarball
  4. sudo chown -R mobilizon:mobilizon mobilizon
  5. sudo -u mobilizon ./bin/mobilizon_ctl migrate
  6. sudo systemctl start mobilizon

Then login and adjust anything off. For me it was Dark Mode.
If there is an automated version of this, I’d love to know for next time. Nonetheless, it was far less trouble than I imagined.

oh, and from this I learned Mobilizon does not store images in its own directory, so where do they go? into postgres? they were all preserved so they had to be somewhere!

1 Like