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

Why is passenger with Nginx looking for passenger_wsgi.py in my rails app

My conf file looks like root /var/www/root/public; # Turn on Passenger passenger_enabled on; passenger_ruby /usr/local/rvm/gems/ruby-2.5.1/wrappers/ruby; and whenever I curl to the site the error I see in Nginx logs is Cannot stat…
iJK
  • 4,655
  • 12
  • 63
  • 95
1
vote
1 answer

Redirect subfolder request to Passenger

I want to redirect all requests like mysite.com/subfolder/... to Django application over Passenger and all other requests to the website running under some php cms. File structure: .htaccess subfolder/ .htaccess some cms files Content of root…
Kamil Zaripov
  • 904
  • 11
  • 33
1
vote
1 answer

Flask forgetting Routes on POST

I am trying to run a very simple flask-application on a (shared) WSGI server. The code works fine when I run it with the build-in server, but if I try to POST to the URL on the production WSGI server, I receive a 404, The requested URL was not found…
1
vote
1 answer

Going nuts: Gemfile.lock permission problem when deploying with Capistrano

I'm getting the following error when executing my rails application: Permission denied - /path/to/app/Gemfile.lock from bundler/definition.rb : Permission denied - /srv/www/app/releases/20110312182822/Gemfile.lock Error message: Permission denied -…
ReenReen
  • 117
  • 1
  • 9
1
vote
0 answers

Why Redmine web application encountered an internal error when Passenger server tried to start it?

I intended to run Redmine web application on CentOS 7.5 server running Apache and Phusion passenger. After installing and configuring the whole thing, when I accessed http:// in the web browser, I got a message that said Error starting web…
Amroz
  • 11
  • 3
1
vote
0 answers

Error installing passenger: rake requires Ruby version >= 2.0.0. : Chef recipe error

I am trying to install passenger gem using chef recipe. Install methos is 'source'. The ruby version installed is 2.2.3, and the gem binary is also specified as the same version. But I am getting this error STDERR: ERROR: Error installing…
Wings2fly
  • 887
  • 1
  • 11
  • 31
1
vote
1 answer

Passenger standalone not loading JS

I'm currently facing to the follwing: When I setup a passenger server on with Rails 5.2 my precompiled js wouldn't load. I tried to compile the assets by rake assets:precompile which generates all of my assets into the public/ folder, which all seem…
Stefan
  • 61
  • 6
1
vote
1 answer

Many Phusion Passenger processess spawn and stick around

I'm using Phusion Passenger Standalone 5.3.4 with a Rails 5 application. After some load testing yielded some less then satisfactory results I decided to look at some of the processes under the hood and discovered quite a number of different…
1
vote
0 answers

Favicon.ico in Django app cannot be found resulting in 502 Error

I'm completely stumped. I have written a Django application that is being hosted by A2 and is served up through passenger wsgi. It functions in development, but on deployment, it fails with the following error: Failed to load resource: the server…
rlarson
  • 75
  • 6
1
vote
1 answer

Any advantages when running a Rails application on Tomcat+JRuby instead of Mongrel/Passenger?

I want to install a Rails application (Redmine) on my Root Server. Since i'm already planning to run a Tomcat for various Java applications, I'm asking myself (and you) if it makes sense to also let the Rails application run on Tomcat6+JRuby, or if…
Wolkenarchitekt
  • 20,170
  • 29
  • 111
  • 174
1
vote
1 answer

Uninstall Second Passenger on FreeBSD-11.1

I have two Passenger installations from the sheer confusion with installations. So I'm given an error from some Passenger scripts: You are currently validating against Phusion Passenger 5.3.4, located in: …
Rich_F
  • 1,830
  • 3
  • 24
  • 45
1
vote
2 answers

env: bash: No such file or directory

(Yes I have checked other answers, and this has nothing to do with line endings.) I am getting the following subprocess error deploying Passenger on nginx. This is on FreeBSD-11.1: env: bash: No such file or directory Very strange. The nginx…
Rich_F
  • 1,830
  • 3
  • 24
  • 45
1
vote
0 answers

SyntaxError: Use of const in strict mode. on PhusionPassenger server

I uploaded my node.js app on the server and I got the error below. The server runs Ubuntu 14.04 . I have updated the node version on the server to v10.9.0 and it still gives me this error: An error occurred while starting the web application. It…
1
vote
0 answers

Passenger crashing on startup

I'm a bit of a newbie to this. I'm just updating redmine/ruby(2.4.0)/passenger/apache2.4 on SLES linux and it seems like passenger (5.3.4) is crashing on start up. Can anyone understand what is going on in this crash dump file? Here is a sample of…
Wibble
  • 11
  • 1
1
vote
1 answer

Error after deploying rails app with nginx server

I am trying to depoly my railsapp through nginx and passenger server. after finishing the installation steps, i typed the domain name but it results the following error. 404 found error i followed this tutorial link to deploy my…
SreRoR
  • 1,151
  • 1
  • 17
  • 44