this post was submitted on 26 Jun 2024
11 points (100.0% liked)
Lemmy.nz Support
347 readers
1 users here now
Ask your questions here
founded 2 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
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!
Hey Dave, yeah I know about the issues with high latency federation. Have been in touch with Nothing4You, but not discussed the batching solution.
Yes losing LW content isn't great... but I don't really have the time to invest to implement a work around. I'm confident the lemmy devs will have a solution at some point... hopefully when they do the LW admins upgrade pronto ๐
It's good to hear you are aware of it and in contact with Nothing4You.
It unfortunately doesn't have an obvious solution, and seems there's no consensus yet. See the github issue. So I wouldn't hold my breath on getting an update to fix it any time soon. Also LW are always careful about updates, often taking months to upgrade. They should be especially careful when it's an upgrade to change how federation works.
The work to install the batcher isn't that bad. The software is all there, you just add a container to your Lemmy stack and then run an ansible playbook to set up the remote VPS automatically. It was the first time I'd used ansible properly and it wasn't too hard.
Nothing4You can hold your hand through it, it's worth doing!