# Can't change mastodon account from admin to owner

**URL:** https://forum.yunohost.org/t/cant-change-mastodon-account-from-admin-to-owner/24617
**Category:** Support apps
**Tags:** mastodon, english
**Created:** [May 3, 2023, 8:24am UTC](https://forum.yunohost.org/t/cant-change-mastodon-account-from-admin-to-owner/24617 "2023-05-03T08:24:50Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![guiltmanager](https://forum.yunohost.org/letter_avatar_proxy/v4/letter/g/c37758/32.png) [@guiltmanager](https://forum.yunohost.org/u/guiltmanager)
#### Post date: [May 3, 2023, 8:24am UTC](https://forum.yunohost.org/t/cant-change-mastodon-account-from-admin-to-owner/24617/1 "2023-05-03T08:24:50Z")

</div>

### My YunoHost server

**Hardware:** VPS bought online …  
**YunoHost version:** 11.1.18 (stable).  
**I have access to my server :** Through SSH | through the webadmin screen  
**Are you in a special context or did you perform some particular tweaking on your YunoHost instance ?** : no  
**If your request is related to an app, specify its name and version:** Mastodon 4.1.2~ynh1

### Description of my issue

Hello all, recently set up my Yunohost server, and am having a lot of fun with it, it makes running lots of different apps really easy for someone like me who has no idea how to install apps and dependencies etc using linux.

Sadly I’m having a problem with my mastodon instance, as my account is set by default to be an admin account, rather than an owner account, this means I cant access the web interfaces for sidekiq. I looked at the mastodon documentation and ran the command from ssh given in the docs to change my account to owner but it failed with a command not found error.  
the command I ran was  
RAILS\_ENV=production bin/tootctl accounts modify guiltmanager --role Owner

any help would be greatly appreciated,  
take care  
Craig

---

<div class="post-metadata">

### Author: ![guiltmanager](https://forum.yunohost.org/letter_avatar_proxy/v4/letter/g/c37758/32.png) [@guiltmanager](https://forum.yunohost.org/u/guiltmanager)
#### Post date: [May 8, 2023, 1:59pm UTC](https://forum.yunohost.org/t/cant-change-mastodon-account-from-admin-to-owner/24617/2 "2023-05-08T13:59:58Z")

</div>

so, I managed tto figure out how to do this. I cant remember where I got the instructions from, just some web searching. I’m writing them here in case anyone else has my problem to save them tearing all their hair out of their body whilst screaming “why why why me!”

so when you connect to your vps or whatever by ssh you have to enter your yunohost admin user and password as normal, then when you get the linux welcome message that normally comes up when you log in you type  
su root  
enter your yunohost admin password again and now you’re root. I did this just to make sure I had full admin permissions. then you have to put in  
cd /var/www/mastodon/live  
then, you enter the command from the mastodon dosc, which I’ll paste below  
RAILS\_ENV=production bin/tootctl accounts modify guiltmanager --role Owner  
then, OK, comes up and you can access sidekiq etc! so one big pat on the back for me, for finding this out. Yes, I’m blowing my own trumpet but think it’s perfectly fine for me to do so given the frustration this caused me!

---

<div class="post-metadata">

### Author: ![system](https://forum.yunohost.org/uploads/default/original/2X/f/f59fe8e3ee6b100b4f574d30d6e30479c68b89f0.png) [@system](https://forum.yunohost.org/u/system)
#### Post date: [May 23, 2023, 2:00pm UTC](https://forum.yunohost.org/t/cant-change-mastodon-account-from-admin-to-owner/24617/3 "2023-05-23T14:00:15Z")

</div>

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