Can't change mastodon account from admin to owner

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

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!

1 Like

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