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.

all 17 comments

sorted by: hot top controversial new old
[–] 16 points 1 year ago
[–] 16 points 1 year ago (1 child)

Let's goooo!
I'll see if I can find the time to start contributing code to PieFed

  • source
  • hideshow 2 child comments
  • [–] 10 points 1 year ago (1 child)

    This helped me get a good handle on the code base when I started: https://join.piefed.social/2024/01/22/an-introduction-to-the-piefed-codebase/

    Some are a little out of date now but still an excellent place to start!

  • source
  • parent
  • hideshow 2 child comments
  • [–] 2 points 1 year ago (1 child)

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

  • source
  • parent
  • hideshow 2 child comments
  • 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.

  • source
  • parent
  • [–] 12 points 1 year ago

    Quite excited to see how this develops ^^

  • source
  • [–] 7 points 1 year ago (1 child)

    This is the @poVoq@slrpnk.net alt, right?

  • source
  • hideshow 2 child comments
  • [–] 5 points 1 year ago* (last edited 1 year ago) (3 children)

    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

  • source
  • hideshow 6 child comments
  • [–] [S] 3 points 1 year ago

    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?

  • source
  • parent
  • [–] 3 points 1 year ago (1 child)
  • [–] [S] 4 points 1 year ago (1 child)

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

  • source
  • parent
  • hideshow 2 child comments
  • [–] 2 points 1 year ago (1 child)
  • [–] [S] 4 points 1 year ago*

    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.

  • source
  • parent
  • [–] 3 points 1 year ago

    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.

  • source
  • [+] 1 point 1 year ago