That’d actually be pretty rad if it’s doable, especially now that the API for piefed was released and mobile apps are already beginning to support it.
Comment on Slrpnk.net outage
Kris@feddit.org 2 days agoAlready thinking about how to make the best of it 🤷 Maybe we can use this opportunity to try and migrate to Piefed? I had this in the back of my mind for a time already and Rimu seems optimistic that it is possible.
PirateFrog@lemmy.dbzer0.com 2 days ago
Draconic_NEO@lemmy.world 23 hours ago
Wouldn’t that mean the instance would completely restart? I mean I don’t know much about piefed but logically it seems like the DB structure would be incompatible.
Kris@feddit.org 23 hours ago
Not necessarily, no. We aim to preserve users, communities and posts/comments. Image uploads might get lost though.
Such an in-place migration will need extensive database operations and likely some support by the Piefed developer (to add support for bcrypt hashed passwords), but we are hopeful to make it happen and maybe this will result in a database migration script other Lemmy instances could also use.
If this turns out to be infeasible, we will stay with Lemmy rather than reset everything.
Draconic_NEO@lemmy.world 23 hours ago
Oh awesome, I mean I’ve heard of other platforms like sublinks offering database migration but I didn’t think it would be feasible with piefed since unlike sublinks it’s very different than lemmy.
tfm@europe.pub 1 day ago
What do you like more about Piefed compared to Lemmy?
Kris@feddit.org 1 day ago
Lemmy has a lot of individual parts that don’t interact very well with each other, especially the image host part. Futhermore the main UI is quite a mess and we were thinking of switching to an alternative already, but this would further increase the “too many moving parts” issue. Piefed on the otherhand has an integrated and very lightweight UI, which also has some nice additional filtering and moderation features Lemmy currently lacks.
And I personally feel more at home with the Python codebase, as it allows better troubleshooting and more standartized (Flask) tooling. The Rust codebase of Lemmy has a lot of obscure custom stuff and the error messages are extremely obstruse from a sysadmin perspective.
And looking at the performance metrics of Lemmy, the main limiting factor seems to be the Postgres database anyways, so the theoretically slower Python codebase of Piefed should not have much impact.
AccountMaker@lemmy.dbzer0.com 1 day ago
That would be so nice if we could move to Piefed.