Spyke

Syndicated from the fediverse. Read and engage on the original instance.

View original on rabbitea.rs
lemmy_support·Lemmy SupportbyLagomorph

Migrating pictrs from block storage to object?

Hey everyone, new instance admin here after following the Ansible setup.

I'm curious about how to switch from block storage for images to object storage - it's marked as possible in the documentation but I'm not sure how to do so when the application is dockerized (as it is on a standard install.)

Any other instance admins have advice?

View original on rabbitea.rs
15

9 replies

lemmy.world

Is it possible to hook up pixelfed to work with? since it is part of fediverse there should be something

4

A few days ago I heard from a BeeHaw.org admin that their whole instance only takes 25GB right now. But it's always good to be prepared to scale up I suppose.

3
lemmy.world

Did you look at the pict-rs filesystem command? I haven't tried it but from the pict-rs docs it looks like it does exactly what you want.

2
Lagomorphreply
rabbitea.rs

It appears the version of pict-rs used in the ansible build is an older one with different commands. I didn't choose to upgrade it for risk of messing with Lemmy Compatibility.

3

Oh, I did read that in a Lemmy GitHub issue but forgot until you reminded me. They haven't upgraded yet. I have no idea if it's a smooth/compatible upgrade or if the Lemmy devs need to update code to remain compatible. If you don't want to go wandering into potential breakage, yeah, you probably want to sit tight until the version of pict-rs gets updated. Hopefully there's a simple migration available then though.

3

I mounted an S3 bucket to my VPS using s3fs, and set that as the folder for pict-rs. I haven't noticed any issues with this method yet.

It might also be possible to do using docker storage drivers, but I haven't looked into that.

2
Crackhappyreply
lemmy.world

Hmm. Hooking fs willy nilly might present some unexpected challenges.

1

You figure it out yet? I'm going to be doing the same soon :)

0

You reached the end

Migrating pictrs from block storage to object? | Spyke