Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Running Heroku Console does not start

I am trying to run Heroku console, but in the console, I get the message "Running console attached to terminal" but the console doesn't start.

In the Heroku logs, I get the error:

 Error: no child processes attached.

Any help?

like image 348
Tony Avatar asked Jan 20 '12 12:01

Tony


2 Answers

I just had a thread with Heroku support about my similar issue, here was their response, which worked for me.

So this is a bamboo app. You can either do

$ heroku console

which will tap into a running web dyno, or you can run a new console as a one-off process with:

$ heroku run bundle exec rails console

On cedar apps you'd also be able to do

$ heroku run console

which also starts a one-off process, because the console process type would be implied by the rails buildpack or declared in your Procfile. It amounts to the same as the previous line.

like image 124
Paul Pettengill Avatar answered Nov 02 '22 12:11

Paul Pettengill


I was experiencing same issues.
Try

heroku run rails console

in Rails >=3

Happy coding :)

like image 44
mrudult Avatar answered Nov 02 '22 12:11

mrudult