-
Notifications
You must be signed in to change notification settings - Fork 82
Nginx, passenger module is not installed #201
Comments
After capistrano runs bundle install with the gem 'passenger' in the gem file all looks ok. |
My Nginx log was:
I had to run in the server:
|
@arturictus I believe I ran into this issue as well a little while ago. It had something to do with the servers of Passenger being down when running the chef cookbook. Thanks for reporting this! 💛 @michiels I believe this is something we need to look in to. |
@jvanbaarsen definitely! Would be great if we could capture chef run logs somehow to see if the Passenger server timed out. |
@michiels, Couldn't find the chef log file. where is it? I found this stackoverflow article: could we setup in the repo to always write the log in a file? |
@arturictus Yeah that's a good suggestion. I believe the command currently only logs to standard out. |
The passenger recipe includes passenger, in the apt-sources. But I fail to see where it gets installed. Should there not be some code that actually installs it? Or am I overlooking something deadly obvious? Edit: I'm understanding now that this simply overrides the location where nginx is fetched from. Seems ok. |
@berkes That's correct. We use Phusion's repository that installs a binary nginx and passenger already installed. This is so we don't have to compile nginx on machines manually, which is normally required when doing a manual passenger install. |
I'm not sure how a deb- server should work, but passenger.list shows the url https://oss-binaries.phusionpassenger.com/apt/passenger, which leads to a 404. It may very well be that the passenger- apt is either misconfigured on their side, or that the wrong url is used in the apt-source. Will research this. Edit: nope: it does not really matter, not on the first run nor when updating, that link is merely used as kind of template on how to build the urls where to find the actual packages. |
I've ran into this issue as well. The above suggested fixes do not work for me. Does anyone have any tips? edit: Finaly figured out how to get it working for now. It is what you guys said but in a specific order: |
No passenger?
My run list:
The text was updated successfully, but these errors were encountered: