So this new server feels up and running.
This is now a Mastodon Glitch Edition v4.3.0a over a #RaspberryPi 4 under Docker.
I am very happy to leave behind #Firefish, I may explain the motivation in a blog post later on. But I really breath now having my nerdy & english account in a #Mastodon -like instance, where the #MastodonAPI just works for third party apps like #Moshidon and for my developments like Janitor and EchoBot
For the last bunch of days I've been playing around to have the instance up and ready, leaving the migration of the account for the last step, and this will happen very soon.
So, I set this instance as ready. Congrats
So I started the process to migrate my account at Devnamic to this very account.
I've imported the *followed* so my connections got pinged and some already followed back. Good.
Then I've intended to start the account migration itself but `Admin account can't move`. Fantastic. Now what?
I am trying to create a new *admin* user in that #Firefish so then I can downgrade my account and retry the migration again. At this point, the new account is just a *moderator* and I can't upgrade it further.
Gosh, Firefish, let me go away!
F###ing finally!
For things like this I like to have a programing background.
So #Firefish do not allow me to move my account because I am an admin. Creating a new admin and downgrade my account is not enough, still not allowed.
Big problems, big solutions. Enter into the DB #Docker container, log into the #Postgres DB, and set the MoveTo by hand:
update public.user set "movedToUri" = 'https://social.arnaus.net/users/xavi' where id = '[user_id]';
Now I'll leave this instance running for a month or so and observe if my followers got updated, and then I'll close the instance.
@xavi I ran into this issue myself when trying to migrate from my single-user instance of Firefish. I fixed it by just disabling the isAdmin check in the API source code (https://git.joinfirefish.org/firefish/firefish/-/blob/develop/packages/backend/src/server/api/endpoints/i/move.ts#L95)
And then I was able to initiate a move.
@KalenXI Thank you for the tip! I am in a blocker trying to script a manual ActivityPub Move notification, so I took a chance with your approach.
My challenge is that I am running #Firefish under #Docker
and also with so much tinkering I already set up the account as moved...
So I just commented the checks for isAdmin
and movedToUri
, built a new image with this change, reloaded the instance and tried again...
and it worked! I have now my followers migrated!
Thank you!