Spyke
piefed_meta·PieFed MetabyKris

Lemmy to Piefed migration preparations

Due to the unfortunate down-time of slrpnk.net we are currently researching possible blockers for creating a Lemmy to Piefed migration guide or script for a relaunch in 1-2 months.

I have never done such a migration before, but generally it seems possible, although migrating image uploads from Pict-rs adds additional complexity (that might not be worth it).

I have created an issue on Codeberg about possible blockers here, but additional input on possible issues or examples of similar migration scripts would be appreciated.

If anyone else has similar plans, please let me know so that we can work together on this.

View original on feddit.org
lemmy.dbzer0.com

Thanks for the link!
I guess I should start with the Flask tutorial, since I never worked with it before.

2

Yeah, I did that, plus the videos, plus just running a local test instance and tweaking things.

The app/activity pub code is probably the most complex to follow. Most of the rest is easier to get your head around.

Feel free to ping me if you have questions. Or join the matrix channels, they are pretty lively too.

3

I don't know how to link to users, but I think Ada, the admin of lemmy.blahaj.zone, recently migrated the instance to Piefed. Might be worth reaching out

Edit: found the post I was thinking of. Looks like it's not a full migration, but there might still be some relevant insight.

I'm also now remembering another instance that has done a migration recently. I think it seemed like they were able to migrate across a lot of info, but possibly not users' subscribe lists(?), I think? I don't remember specifics, but I'll update this post if I stumble across the post I'm remembering

5
Krisreply
feddit.org

They actually migrated stuff from Lemmy? I thought it was a new instance?

4

Ah, right they just swapped out without migrating anything. Thats not really what we are aiming for, but their comment confirmes that remote subscriptions might get lost.

4

I would need to check at database level, but I guess on the subscribing side it is only a list of communities to display? The real "work" for subscriptions happens on the remote instance to decide with activities to send.

But that indeed raises the interesting point on how to retain subscriptions of remote users. Anyone got an idea how that is handled on database level? Is it just the same list but for the non-local users that are mirrored in the database?

3

For the pictures, collecting them via wget and then instructing your webserver to map that URL to a path on your server should be possible. I've been thinking of doing that for a while now for caching purposes and to check if that really needs 25 GB of space just for me.

3

You reached the end

Lemmy to Piefed migration preparations | Spyke