Hi all, We will be attempting to migrate Pict-rs tomorrow starting at 1700 UTC. Between now and 1700, image uploads will be disabled to try and avoid any data loss. You will still be able to like, comment and post until then. During the upgrade window, Pict-rs will be offline, so viewing images might not work. In theory CloudFlares CDN cache should cover us during the window, but YMMV. Hopefully everything should go smooth, but we do our best to make sure we have backups!
You can monitor our site health at https://dash.lemmy.world and https://status.lemmy.world
We will post updates to https://mastodon.world/@LemmyWorld as well.
Cheers, LW Infra Team 💗
Update This change is done. Images are now hosted on S3 storage and uploads are re-enabled.
I saw “Pictrs Migration” and I thought was about to open a map porn post regarding the movement of ancient Scots.
Guyz, what is Pictr? Is it like Imgur?
Also, [excellent]
Kind of like Imgur, it’s a barebones Image hosting server which is what Lemmy uses to serve images uploaded to the instance. It makes it easier otherwise people would need to use things like catbox or imgur itself to host images.
I do feel like support could be better with it though, like if it gave us an interface where we could access our images from our account, or at the very least one for admins.
Is this migrating from pict-rs to object storage or upgrading pict-ra from 0.4 to 0.5?
Object storage. Sorry if that was unclear ❤️
Where can I read more about why this is happening?
I have no insight into why it’s being done in this instance, but object storage is typically used when you want to move away from storing things on your web server with “fixed” storage, and instead store it in an “infinitely” expandable storage system. It is also much easier to manage when you have multiple servers as it’s separate and shared.
Right on. This seems relatively important considering pict-rs is the lemmy default. Seems like a change that should be considered for the core repo.
The problem with making S3 config the default is that it would add friction for new admins. If you’re just starting to play around with self-hosting Lemmy then it’s 100% certain you have a local disk but not nearly as likely that you’ve got an S3 bucket ready to go. Making S3 the default would force those new admins to either tweak their configs or figure out how to get an S3 bucket before they could get going. Using local disk for images is fine for smaller instances and self-hosts, but for cost and scaling reasons having an option to switch to S3 is really valuable for larger instance like lemmy.world. Only the top 10-20% of instances are likely to really need to make the switch to S3, so Pictrs defaulting to local disk makes sense I think.
While I agree on the technical aspects, I’ll say that small instances benefit a lot from s3. My single user instance currently has over 25 Gb of media cache… Object storage (hosted on my NAS ) has been a godsend.
Was wondering why I couldn’t upload anything. Well, 3 more hours to sleep in. Woo!
Congratulations on the move!
Is it amazon s3 storage? How much are we paying for it?
We are not using AWS S3, we try and keep costs down where it makes sense 😉
Bro who are you? I don’t see your name in the mod list
It says in their profile.
Lemmy.world tech lead.
Oh shit! Sorry I missed if
In case you’ve not visited the team page. Here is the LW staff.
deleted by creator
Ight awesome
Like myqqq attached is
Thanks. Can we also please block threads?
There will be a announcement soon and even if we dont defederate you can simply block threads yourself in 0.19!
0.19
ETA for update to that? Seems to work fine on the servers I’m aware of.
In the next week we will upgrade our test environment and test our automation there, if everything works fine we will then be doing it probably the week after that.