this post was submitted on 07 Jun 2024
286 points (99.7% liked)
Announcements
23326 readers
1 users here now
Official announcements from the Lemmy project. Subscribe to this community or add it to your RSS reader in order to be notified about new releases and important updates.
You can also find major news on join-lemmy.org
founded 5 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
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.