Ask A Question

Notifications

You’re not receiving notifications from this thread.

rubber:passenger:add_to_pool takes forever

Michael Victor asked in Servers

I'm using Rubber 3.1.0 with Capistrano 2.15.5

When I try to deploy my app(default rails-devise-pundit) to production on EC2, it goes on perfectly till

command finished in 2849ms
triggering after callbacks for `rubber:apache:start'

  • 2015-06-12 20:43:29 executing `rubber:passenger:add_to_pool' ** Waiting for passenger to startup
  • executing "sudo -p 'sudo password: ' bash -l -c 'while ! curl -s -f http://localhost:$CAPISTRANO:VAR$/ &> /dev/null; do echo .; done'" servers: ["eye.circularsociety.com"] [eye.circularsociety.com] executing command ** [out :: eye.circularsociety.com] . ** [out :: eye.circularsociety.com] ** [out :: eye.circularsociety.com] . ** [out :: eye.circularsociety.com] ** [out :: eye.circularsociety.com] . What am I doing wrong? When I run cap rubber:tail_logs, I only see information related migration which I assume means that there's nothing wrong with the app?
Reply

Does it output any errors? I don't see anything here. Any other symptoms of what might be going wrong?

Reply

Nothing really :/

I changed the template to use nginx and unicorn. The app deployed perfectly then.

Ah well..

Reply

Weird! In any case, nginx and unicorn are awesome so you'll be in good hands with that setup as well.

I've had some weirdness with Passenger 5 myself and have reverted back to using Puma for now.

Reply
Join the discussion
Create an account Log in

Want to stay up-to-date with Ruby on Rails?

Join 82,329+ developers who get early access to new tutorials, screencasts, articles, and more.

    We care about the protection of your data. Read our Privacy Policy.

    Screencast tutorials to help you learn Ruby on Rails, Javascript, Hotwire, Turbo, Stimulus.js, PostgreSQL, MySQL, Ubuntu, and more.

    © 2024 GoRails, LLC. All rights reserved.