note that the following config items cannot be updated (without breaking federation):
As these two config items define your ActivityPub handle @handle@domain.
I tried exactly that and it broke federation (as far as I can tell).
Then I tried to find out why and how to re-federate, but didn't resolve the problem.
I started out using username.do.main as the domain setting - the same as my dns domain username.do.main.
# cat /opt/yunohost/microblogpub/microblogpub/data/profile.toml domain = "ween.de" username = "chrichri"
If not the docs should maybe say something like that it is not possible to change the settings without breaking the setup.
Hi, yes I will update the doc to mention that this setting should not be changed (and maybe prevent it too).
Basically, ActivityPub provides no way to change a domain without losing all your posts/objects.
This is because the domain is part of the object ID, and it is the same for followers/following.
If you have your 2 domains pointing to your server, I think the best move is:
- Set the config to the original domain user name
- Execute the self-destruct task
- Re-install with the new domain
Let me know if you have more questions!
In theory, there's another way which would allow you make your followers follow your new instance (but there's no way to migrate your existing content or the account you're following):
- Set the config to the original domain/user name
- Make a second install with the new domain/user name
also_known_as = "https://your-old-domain.tld"in the new instance
- On the old instance run the
move-totask with the new
- Then run the self-destruct task
inv.shhelper for Yunohost does not yet support argument, if you want to try this way let me know I can create a custom script for you.
I need to do some research on that, as I think it's possible with Mastodon, but I don't remember exactly how it works or if it actually does that. I will keep you updated.
If it would be possible, would be nice.
Otherwise I'll just go for firstname.lastname@example.org ... and done. :)
First, thanks for the nice project!
Second, I'm new to fediverse, and would also like to have this feature :)
In my case, I would love to have username of @email@example.com, while microblog itself being hosted at microblog.lastname.tld - i.e. slightly different from what ~chrichri wants (I already have a simple blog at https://firstname.lastname.tld)
Don't know if it helps, but so far I'm aware of one another gotosocial having this feature: see how account @firstname.lastname@example.org has this page: https://gts.superseriousbusiness.org/@gotosocial
Also worth noting that searching for above account in my instance of microblog.pub shows it as @email@example.com, so there's some more work that needs to be done :)
Thanks! That's indeed a nice idea, but I might need a bit more guidance. I've seen ~doof's answer about .well-known/webfinger, thanks! But also worth mentioning how do you change username, domain, and id for everything to work correctly. I think for your example you set:
domain = "do.main.tld" username = "user" id = "https://do.main.tld/microblog"
is it correct?
Just to pop in and answer for anyone else who might stumble into here, yes that id is correct! You also need to add the argument
--root-path=/subdomainto your supervisord.conf (or docker-supervisord.conf, or ynh-supervisord.conf if you use them) and make sure nginx is configured correctly, and then it should work just fine!