Questions tagged [passenger]

Passenger is an application server for Rack, Node.js, and WSGI applications that can be run standalone or as an Apache or Nginx module.

Phusion Passenger is an application server for Rack, Node.js, and WSGI applications that can be run standalone or as an Apache or Nginx module.

3603 questions
1
vote
1 answer

How to check which user Phusion Passenger chooses to run node.js?

What is the best practice for using Phusion Passenger with a version of node installed my nvm? In this tutorial on using Passenger to run a Meteor app, I read: [Y]our Meteor application is run as ... the owner of the main.js file (when deploying…
James Newton
  • 6,623
  • 8
  • 49
  • 113
1
vote
1 answer

Spawning new threads in Rails 3 / Phusion Passenger

I'm working on a Rails 3 app (running on Phusion Passenger) that is spawning new threads in a method. Will those threads live in the process that spawned them, or will Passenger create a new process for them to live in? They will live in shared…
mstrom
  • 1,655
  • 3
  • 26
  • 41
1
vote
0 answers

Deploying a NodeJS app with Passenger

I am trying to deploy a NodeJs App : DemocracyOs, on apache with Passenger. The Makfile of this project runs npm : npm run start The documentation of Passenger requires to enter the target json file app.js. In that case I understand this is…
Raphael Jolivet
  • 3,940
  • 5
  • 36
  • 56
1
vote
2 answers

Phusion Passenger: Error executing action `restart` on resource 'service[passenger]'

I am using Nginx+Passenger. I was trying to upgrade Phusion passenger from 5.0.29 to 5.1.11. Everything was fine except restarting of the passenger is throwing an error as shown in the image. I tried to again run the chef-client, its restarted…
NEHAL AMIN
  • 121
  • 5
1
vote
1 answer

Passenger, Plesk and Node.js: address already in use

My question is about getting Phusion Passenger and Plesk Onyx 17.5.3 to work together nicely. I have a new server running Ubuntu 16.04. I am following the official Phusion Passenger tutorial on deploying a Node.js app, and I have followed it…
James Newton
  • 6,623
  • 8
  • 49
  • 113
1
vote
1 answer

How to detect app_type within nginx.conf.erb in Phusion Passenger?

Is there a (recommended) way to determine within nginx.conf.erb the app_type that Phusion Passenger (in standalone mode) has autodetected, per its autodetection algorithm? In Passenger 5.1.8, we'd been relying on AppFinder.looks_like_app_directory?,…
David J. Malan
  • 33
  • 2
  • 12
1
vote
1 answer

Rails5 + Passenger + Nginx: logs always go to stdout

I have a Rails 5.0 app running in Passenger with Nginx as the web server. I can't seem to get the app to output its logs into a file in log/ under the Rails root directory. RAILS_LOG_TO_STDOUT is NOT set in my environment. I can confirm that the log…
sameers
  • 4,855
  • 3
  • 35
  • 44
1
vote
3 answers

How can I avoid Phusion Passenger running as root?

I updated to Passenger 5.1.11 today and had cause to look at my Apache error logs. In /var/log/apache2/error.log I found this entry (many times over): WARNING: potential privilege escalation vulnerability. Passenger is running as root, and…
James Hibbard
  • 16,490
  • 14
  • 62
  • 74
1
vote
1 answer

Upgrading passenger to 5.1.11 breaks setup with 403

Upgrading passenger to 5.1.11 makes all my requests fail with HTTP status code 403, downgrading to 5.1.10 works. I run nginx as root and all my rails applications reside in my non-root user's home directory. passenger and nginx-extras were installed…
Chandra Sekar
  • 10,683
  • 3
  • 39
  • 54
1
vote
1 answer

Phusion Passenger installation error in MacOS 10.13 High Sierra

I've been trying to install Phusion Passenger under macOS X 10.13 High Sierra using the method mentioned here. https://www.phusionpassenger.com/library/install/nginx/install/oss/osx/ Getting the following response. Does anyone have any insight into…
aphorist
  • 11
  • 2
1
vote
2 answers

"The requested URL /projects was not found on this server" when I am trying to run redmine(Ubuntu 16.04, Apache2, Passenger )

I installed passenger over apache in order to run redmine (ROR application)on Ubuntu 16.04. I setuped everything as described in the documentation but I always get the "The requested URL /projects was not found on this server" If I add a simple…
sunblast
  • 219
  • 2
  • 7
1
vote
1 answer

Capistrano: bundler: failed to load command: rake

I am trying to deploy a Rails app from a Windows development machine to a Debian 9 VPS using Capistrano, Passenger, and RVM. I got RVM and Passenger set up with Apache on the VPS and Capistrano set up on the Windows machine. However, when I try to…
user4592253
1
vote
1 answer

How to create passenger.conf during passenger installation

When installing passenger on a freshly installed Ubuntu 16.04 machine using this tutorial, the installation fails because there is no file /etc/nginx/passenger.conf Should I create this file manually or is this a bug in the install script?
willemx
  • 530
  • 7
  • 19
1
vote
2 answers

Nginx Passenger not serving Rails application

I setup Nginx with passenger on centos 7 VPS. I installed nginx and passenger as a gem. In addition I installed passenger-install-nginx-module. When I start sudo service nginx and type passenger-status I get "Phusion Passenger is currently not…
mike927
  • 682
  • 1
  • 8
  • 25
1
vote
1 answer

Invalid command 'PassengerAppRoot', perhaps misspelled or defined by a module not included in the server configuration

I have followed every step for installation given in Installing Passenger + Apache on a Linux/Unix production server for Node.js apps + Red Hat 6 / CentOS 6 (with RPM) and everything worked but when I am trying to configure my subdomain in…
aidonsnous
  • 1,475
  • 4
  • 19
  • 41
1 2 3
99
100