Just installed and migrated to rebased with soapbox on Ubuntu 20.04.5 LTS.

Didn’t bother backing up directories but did back up the db via:

mkdir /opt/pleroma/backup
sudo chown postgres backup
sudo -Hu postgres pg_dump -d pleroma --format=custom -f /opt/pleroma/backup/pleroma.pgdump

I otherwise followed @alex β€˜s instructions linked below verbatim except that my mv command doesn’t seem to let me overwrite/merge folders even with -f and trailing /* on the source, so I used cp -r instead. Furthermore, instead of stopping and starting pleroma from /opt/pleroma/bin/pleroma_ctl stop/start as the pleroma user, I had to use sudo systemctl stop/start pleroma.

Also, that the requisite version of postgresql is installed can be confirmed via apt show postgresql

https://gitlab.com/-/snippets/2411739

RT: https://ryanthomas.org/objects/5e3104c6-a3d0-43f5-bd9a-335e00de474d