Edit : OK so the outage was less brief than expected. The upgrade of the 3GB pictrs database took over 1 hour, and the version 0.4 database is now 14.5 GB… But anyway, it seems to be working alright now!

We will upgrade pictrs today, from 0.3.1 to 0.4.4. This will enable us to switch to S3 storage later on, and is needed for more anti-CSAM tools. Outage should only involve picture uploads, and should be brief.

28 points

Awesome that pict-rs has postgres and full s3 support now. Lemmy is getting really scalable!

permalink
report
reply
9 points

I think the postgres support will come in 0.5?

permalink
report
parent
reply
1 point

Ah, right. I was aware of the ability to use S3 for 0.4, but this post made me go check out Asonix’s Forgejo. The fact that you can get rid of sled in 0.5 and go fully stateless/scalable is a game changer.

permalink
report
parent
reply
1 point

How will the postgres support look like? They are not storing actual images in the database I hope?

permalink
report
parent
reply
1 point

No. Just like now , they store the metadata there, the images are on disk or S3

permalink
report
parent
reply
19 points

Yeah we can upload pictures again!

permalink
report
reply
18 points

OK, the pictrs database upgrade is taking it’s time… please wait… ;-)

pictrs_1     | {"timestamp":"2023-10-02T16:31:44.746467Z","level":"WARN","fields":{"message":"new"},"target":"pict_rs::repo","span":{"name":"Migrating Database from 0.3 layout to 0.4 layout"},"spans":[]}
permalink
report
reply
10 points

how’s it faring? 👀

permalink
report
parent
reply
10 points

It’s building a 0.4 database, which is already twice as big as the 0.3 one

permalink
report
parent
reply
9 points

It’s grown from 3.1 GB to over 8GB and still running…

permalink
report
parent
reply
2 points

Are you manually updating Pictrs or is this included in the new lemmy update?

permalink
report
reply
3 points

Newest update defaults to 0.4, but the latest version is 0.4.4. I don’t think there’s a significant difference.

But it looks like ruud stayed on 0.3.x until now because there’s a pretty serious migration between 0.3.x and 0.4.x

permalink
report
parent
reply
1 point
Deleted by creator
permalink
report
reply

Lemmy.World Announcements

!lemmyworld@lemmy.world

Create post

This Community is intended for posts about the Lemmy.world server by the admins.

Follow us for server news 🐘

Outages 🔥

https://status.lemmy.world

For support with issues at Lemmy.world, go to the Lemmy.world Support community.

Support e-mail

Any support requests are best sent to info@lemmy.world e-mail.

Report contact

Donations 💗

If you would like to make a donation to support the cost of running this platform, please do so at the following donation URLs.

If you can, please use / switch to Ko-Fi, it has the lowest fees for us

Join the team

Community stats

  • 470

    Monthly active users

  • 98

    Posts

  • 12K

    Comments