Phusion passenger-status: what value for passenger_instance_registry_dir?

后端 未结 4 1634
感动是毒
感动是毒 2020-12-31 05:54

I\'ve done a new install of nginx 1.6.3 and passenger 5.0.15 on Ubuntu 14.04 from source in order to add tracing components from AppNeta for my ROR 4.2 app on one of my serv

4条回答
  •  渐次进展
    2020-12-31 06:32

    I'm running Passenger in Nginx integration mode, on Ubuntu 20.04 and I've installed it via apt from the official repos.

    What worked for me was adding this to /etc/nginx/conf.d/mod-http-passenger.conf :

    passenger_instance_registry_dir /tmp;
    

    Restarting passenger the Capistrano way from the command line should now work:

    $ passenger-config restart-app  --ignore-app-not-running
    

    If this works, Capistrano deployments should now work again.

提交回复
热议问题