I originally installed Rails 2.3.5/Passenger 2.2.8 app. I am trying to move to Rails 2.3.11/Passenger 2.2.15. I upgraded Rails without problems. For Passenger I installed the 2.2.15 gem and updated the nginx.conf file to point to 2.2.15, but these steps aren't sufficient as I get a 502 error. I am moving from a Mongrel setup on another host so I am not familiar with Passenger and am still learning how Webfaction works. asked 14 May '11, 15:08 Bc25 |
A 502 error means the front-end nginx proxy server can not hear your back-end HTTP server. Check the port for the app assigned in the control panel in the 'apps' section and than look to see if that port is listening on the server (replace 12345 with the port #),
If it is running it will show you the PID and other process info, if not check the apps logs(replace appname with the name of the app),
answered 14 May '11, 17:55 johns I get a result for the port search. In the logs I get 2011/05/14 18:53:47 [crit] 4467#0: *1 connect() to unix:/home/USER/webapps/APP/tmp/passenger.4461/master/helper_server.sock failed (2: No such file or directory) while connecting to upstream (the rest deleted) I checked tmp directory and there are 2 passenger.X directories. Was the second one was created by the updated version? What needs to be changed to use it? Thanks.
(14 May '11, 19:08)
Bc25
You would have to submit a support ticket within the control panel for us to look directly.
(14 May '11, 19:18)
johns
|