Upgraded Pleroma to the newest version. Thanks to its upgrade instructions having been really stable over time, the script I created a while ago made it a breeze.
It's nothing special, just this:
#!/bin/bash
pushd ~pleroma/pleroma \
&& sudo -u pleroma MIX_ENV=prod -s -- eval 'git pull -q && mix deps.get && mix compile' \
&& sudo systemctl stop pleroma \
&& sudo -u pleroma MIX_ENV=prod -s -- eval 'mix ecto.migrate' \
&& sudo systemctl start pleroma \
&& popd
Obviously I back up first, with another script.
Gidi Kroon
in reply to Gidi Kroon • •The #pleroma backup script is less universally useful I guess, just for completeness:
Gidi Kroon
in reply to Gidi Kroon • •