I just moved from heroku to a digital ocean dokku one-klick droplet and it's working fine exept of the rails console. Since I thought it might be a problem with missing ram I upgraded my droplet to 2gb but it still won't work... Everytime I run "dokku run rails c", the console is loading in the right enviromnent and it seems to be fine. But when I type in something (2+2 or User.all,...) and hit enter, there is no processing of the console. It's just hanging and the only thing I can do is to quit the console (ctrl+c). No errors are displayed...
I already reinstalled the app completely but it didn't help. Does anyone have an idea how to solve this issue? Thanks!
After having the same issue with a fresh installation of dokku on a virtual machine I solved this problem with updating dokku ... https://github.com/dokku/dokku/blob/master/docs/getting-started/upgrading.md
来源:https://stackoverflow.com/questions/58749984/rails-console-hanging-in-dokku-droplet