Change primary admin after demotion of original admin


I found a post on here where @Gargron shared a top tip on how to remove a user’s admin status:

Account.find_local('alice').user.update(admin: false)

I’ve done that and it worked, which is great! The only problem is that the demoted admin still shows on the instance about page.

Any idea how I could change that to a different admin?

I’ve tried obvious things like restarting the Mastodon services.


Is it a “Contact username” field?




Hah, yes it is. I feel a bit silly now :confounded:

Thanks for your help!


Read the doc here. in start i asked many stupid question although dev dont help much here so you are own your own

closed #5

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.