widdix / mastodon-on-aws

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

tootctl command hangs/freezes #11

Closed jbold closed 1 year ago

jbold commented 1 year ago

I'm able to successfully open a shell to the webservice task - however issuing the tootctl command freezes/hangs. I have to ctl+c to interrupt. No errors are thrown.

root@ip-10-0-4-35:/opt/mastodon# RAILS_ENV=production bin/tootctl help

schuettc commented 1 year ago

Did you use the latest build with the increased memory size on the webserver task? That helped me. Although I was getting an error.

jbold commented 1 year ago

that's a good question - i'm unable to edit/view any of the config files...no vi/vim/nano editor...tried installing, but couldn't get vim working. is there another way to view/edit files?

schuettc commented 1 year ago

Most of the config is generated in the task definition of the ECS Task. You can see it in the JSON there.

jbold commented 1 year ago

got it, thanks!

jbold commented 1 year ago

@schuettc

Did you use the latest build with the increased memory size on the webserver task? That helped me. Although I was getting an error.

tootctl is working - just takes about15sec to load the help page. The memory is updated to 1GB now. Really slick how you can just edit the JSON task definition!