• 299 Posts
  • 2.41K Comments
Joined 1 year ago
cake
Cake day: June 2nd, 2023

help-circle















  • Thanks! I did pictrs some time back when I was setting up the cache cleaner that needed pictrs 0.5. And then in anticipation of this update I did the postgres 16 update a week or two back.

    I know the instructions say you have to dump and import the database, but postgres supports an in-place upgrade. I used this helper container: https://github.com/pgautoupgrade/docker-pgautoupgrade

    Basically you swap the postgres image to this one and set the tag to the version you want, then recreate the container, watch the logs until it’s done, shut it down, and swap the tags to the new postgres image and recreate the container again. It handles the magic and it happens really quickly.

    Hey on another note, do you know your federation with Lemmy.world is super far behind and you’re losing content because Lemmy stops trying when activities are over a week old? We had the same issue a while back but managed to solve it with a Finland VPS that batches the activities to send them. I’m happy to point you to someone who can help if you’re interested!