Heroku console launch does not start

I try to start the Heroku console, but in the console I get the message "Starting the console connected to the terminal" , but the console does not start.

In Heroku logs, I get an error:

Error: no child processes attached. 

Any help?

+6
source share
6 answers

I just had a Heroku-enabled thread on my similar issue, here is their answer that worked for me.

So this is a bamboo app. You can do

Console

$ heroku

which will be involved in a working web dino or you can start a new console as a one-time process with:

$ heroku run bundle exec rails console

In cedar applications you can also do

$ launch hero console

which also starts a one-time process, as the console process type will be implied by rails buildpack or declared in your Procfile. It matches the previous line.

+17
source

Try

 $ telnet rendezvous.heroku.com 5000 

to check network access using the network. They mention that the problem with the filter port in their manual

+2
source

I had the same problems.
Try

Hero launches console rails

in Rails> = 3

Happy coding :)

+2
source

I think this is the problem you are describing, and it has an accepted answer that seems to fix the problem for the guy who posted the question :-)

heroku server console returns 'Process connection error'

0
source

I had this problem before I actually pressed my code on the hero.

As soon as I successfully pressed and started everything (a bunch, a rake, etc.), the console really worked.

0
source

Do it and then try in procfile

web: bundle exec unicorn_rails -p $ PORT -c config / unicorn.rb

In unicorn.rb

worker_processes 2 preload_app true timeout 30

@resque_pid = nil

before_fork do | server working | @resque_pid || = spawn ("runle exec rake environment resque: work QUEUE = *") end

after_fork do | server working | ActiveRecord :: Base.establish_connection end

-1
source

Source: https://habr.com/ru/post/906476/


All Articles