this post was submitted on 06 Jun 2024
15 points (94.1% liked)
Lemmy
12544 readers
98 users here now
Everything about Lemmy; bugs, gripes, praises, and advocacy.
For discussion about the lemmy.ml instance, go to [email protected].
founded 4 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
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#L13I'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.
The key is refreshed after 24 hours so it will work if you wait a bit.
Thanks for the assistance, @[email protected].
My new server uses a new domain. I do still have the old data (in fact, the old server is still up - that's where I'm posting this from).
I installed both Lemmy servers via Docker. It would be nice if I could
rsync
my account data (including post/comment history) from the old server to the new server, but I'm now wondering if my changing domains would make the old account not work at all in the new server.If you're not using the old domain then it would broke federation: https://join-lemmy.org/docs/administration/backup_and_restore.html?highlight=changing#changing-your-domain-name
I guess there is no way to move your post/comment history to a new domain. It's like if you change your domain then you can't use old DB and if you don't change it then you can't re-install with fresh DB :)
Thanks, @[email protected].