Posted 19 days ago. Visible to the public. Repeats.

no passenger served applications running error when deploying via capistrano

When deploying with capistrano it's possible you get this "error" message:

Copy
*** [err :: example.com] There are no Phusion Passenger-served applications running whose paths begin with '/var/www/example.com'. *** [err :: example.com]

This is just because there were no running passenger process for this application on the server which could be restarted. It's not a real error. The application process will start if the first request for this app hits the appserver.

The output appears as err because it's printed to stderr.

Deploy is aborted due to this error

If your deploy is aborted due to this error, the configuration option --ignore-app-not-running is not set. We recommend using capistrano-passenger which has this option set as default. See How to let passenger restart after deployment with capistrano.

The option --ignore-app-not-running prevents that an error code is returned on the restart but the output on stderr is preserved.

makandra has been working exclusively with Ruby on Rails since 2007. Our laser focus on a single technology has made us a leader in this space.

Owner of this card:

Avatar
Claus-Theodor Riegg
Last edit:
18 days ago
by Claus-Theodor Riegg
About this deck:
We are makandra and do test-driven, agile Ruby on Rails software development.
License for source code
Posted by Claus-Theodor Riegg to makandra dev
This website uses cookies to improve usability and analyze traffic.
Accept or learn more