How do I migrate a Lemmy account?

I host my own Lemmy instance and have a user account on it that I use everywhere (I don't host local communities, I just use it as a home for my Lemmy user account). I needed to re-home my Lemmy server, and though it's a docker installation, copying the /var/lib/docker/volumes/lemmy_* directories to the new installation didn't work. So I created a new Lemmy server.

How can I move my old account to the new server, so I can keep all my subscriptions and post/comment history?

iso ,
@iso@lemy.lol avatar

I don't recommend re-installing an instance on the same domain. This caused me errors before I had to replace my domain. Like I couldn't subscribe to same communities with my old username. If you have the old data, you should find a way to extract it.

Which method did you used to install your instance? If you used lemmy-ansible, then your data should be in /srv/lemmy by default: https://github.com/LemmyNet/lemmy-ansible/blob/8c5337f5e5163c2452242db578119593d6fa00f1/examples/hosts#L13

andrew_s ,
@andrew_s@piefed.social avatar

I've had that problem too (messing around with test instances) - for anyone else wondering why: it's because the RSA keypair for me@mydomain has changed, and remote instances fail to validate message headers signed with the new private key, because they're still using their copy of an old public key.

nutomic Mod ,
@nutomic@lemmy.ml avatar

The key is refreshed after 24 hours so it will work if you wait a bit.

  • All
  • Subscribed
  • Moderated
  • Favorites
  • random
  • lemmy@lemmy.ml
  • test
  • worldmews
  • mews
  • All magazines