• 1 Post
  • 4 Comments
Joined 1 year ago
cake
Cake day: June 10th, 2023

help-circle


  • The upgrade went smoothly for me. Be smart with your backups with this one!

    Upgrading to postgres 16 was the hardest part. You need to pg_dump the lemmy database, upgrade to postgres 16 (which will complain in the logs that the current data isn’t compatible), delete the database folder (don’t delete the backup file from pg_dump!), then import the backup file into postgres 16.

    I had already upgraded pict-rs to version 0.5+ so that was easy.

    Then I compared the new lemmy.hjson with what I already had to get the new pict-rs setting for proxied images (turned off for now).

    Overall a lot more complex than previous upgrades.

    Be smart with your backups with this one!

    One more thing to consider if you’re using Debian 12 is it comes with postgres 15, so if you you’re using the bare metal to make backups, you’ll need to install postgres 16 using the instructions here.