Hi! Yes, I just changed my name and also my username. Yes, this means what you think it means! But don't worry, I'm still the old person.
I know that diaspora* doesn't have UI support for account migrations yet, but I feel a strong obligation now to document how to make that happen.
All your contacts, all your posts, all your comments etcetc will be transferred to your new account automagically. Your contacts will just see your new profile, and it's almost like nothing changed - except for your name, of course. ❤ The following steps only work if you want to stay on the same pod but change your username - if you want to switch to a different pod, please reach out to me (that's also already possible, but the process is different).
You need to create your new account first, so do that. You need to set all the profile details on your own, but don't bother with adding contacts. Then, tell your podmin to do the rest. Please note that as soon as those steps are complete, your old account will be marked as closed.
As a podmin, you need to open a Rails console (bin/rails c inside the diaspora* directory) and then run a few commands:
# First, we need to load the old and new users from the database
old_user = User.find_by(username: "old_username")
new_user = User.find_by(username: "new_username")
# This creates a manual AccountMigration entity. This would usually be done
# by the importer, but there's no reason we can't do this on our own!
migration = AccountMigration.new(
old_person: old_user.person,
new_person: new_user.person,
old_private_key: old_user.serialized_private_key,
old_person_diaspora_id: old_user.diaspora_handle,
archive_contacts: old_user.contacts
)
# Next, we need to save the AccountMigration entity in the database...
migration.save!
# ... and then run it. This might take a few moments depending on the account!
migration.perform!and that's it.
I will tag this with #diaspora and #podmin so that people have a chance to see this. Sorry if you feel that's inappropriate, but I don't really care. Also, very special thanks to @Benjamin Neff who helped me with this, since I wasn't very confident in how our migrations actually work. ❤
🏳️🌈🏳️⚧️🏳️🌈
like this
N. E. Felibata 👽 and FroxZero like this.
N. E. Felibata 👽 reshared this.
N. E. Felibata 👽
•Hi @Sky Schubert,
I'd also like to change my Diaspora ID, if that's possible now!
I’m completely happy with my username “N. E. Felibata,” but I haven’t been happy with the “ID” “wurstaufbrot” for a long time now... 🫣
That was just a “silly idea” I had back then, when I opened the account on Geraspora* about 8 or 9 years ago. 😉
So if there’s a way to change it, I’d really appreciate it ✨
If you're in the mood and have time to help me with this, please let me know.
Best regards, Lorenzo
Sky Schubert
•@N. E. Felibata 👽 sure.
I just gave your account one invite code (check the sidebar on the main stream for the link). Use that link to create a new account with whatever username you want. Set up your settings and profile as you want (profile name, description, avatar, etcetc).
When you're ready, email to
sky@geraspora.defrom the email address you're using in your current account. I'll do the migration as soon as I'm available - without prior notice or a timeslot, but I'll email you back when it's done.N. E. Felibata 👽
•Sky Schubert
•N. E. Felibata 👽
•