Rails console hanging in dokku droplet

一笑奈何 提交于 2019-12-08 04:45:09

问题


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!


回答1:


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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!