widdix / mastodon-on-aws

Host your own Mastodon instance on AWS
https://cloudonaut.io/mastodon-on-aws/
136 stars 27 forks source link

Unable to modify Owner account #24

Open dsibilly opened 1 year ago

dsibilly commented 1 year ago

After deploying the stack and succeeding at email verification, I am unable to take ownership of my instance via my account with the directions provided:

After signing up, you will need to use the command line to give your newly created account admin privileges. Replace with your user name (e.g., andreas).

RAILS_ENV=production bin/tootctl accounts modify <USERNAME> --role Owner

Whenever I run this command within my WebService container, the shell hangs for about 10s before printing Killed and returning me to the shell prompt.

Let me know if there's any other data I can pull from my stack to help figure out what's gone wrong.

andreaswittig commented 1 year ago

That's most likely because you are running into "Out of memory" issues. Did you update to the latest version? We added more memory to the rails/web container recently.

B3R7R4M commented 1 year ago

I had this issue last night when setting up a new instance. I had to use "RAILS_ENV=production bundle exec bin/tootctl" to get it to work.