Phusion Passenger (originally called mod_rails or mod_rack) is a Rails application server designed for easy deployment and low maintenance hosting of Rack apps, including Rails, Sinatra, Camping, and other ruby-based web development micro-frameworks. Passenger supports both Apache and NGinx ...

learn more… | top users | synonyms (1)

2
votes
3answers
4k views

Redmine install not working and displaying directory contents - Ubuntu 10.04

I've gone through the steps to set up and install the redmine project tracking web app on my VPS with Apache2 but I'm running into a situation where instead of displaying the redmine app, I just see ...
1
vote
1answer
24 views

Puppet Dashboard giving “The environment must be purely alphanumeric” error under Passenger

Please refer to this gist for the puppetmaster.conf and dashboard-vhost.conf files. I have my Puppetmaster (3.7.3) running on CentOS 6.5 under Apache and Passenger on port TCP/8140. It works fine. ...
4
votes
2answers
2k views

Unable to start the Phusion Passenger watchdog

I'm trying to install Passenger (mod_rails) on Apache2 server by using the command 1. gem install passenger 2. passenger-install-apache2-module Passenger gets installed and i added the below line ...
0
votes
1answer
1k views

Rails 3 passenger nginx application spawner server error on Synology NAS

Question updated, please read UPD2. I'm trying to deploy app through passenger nginx module on DS710+ (ruby 1.9.2p0 installed). There is syntax error relative to ...
0
votes
2answers
835 views

500 error with deploying rails application via apache2+passenger

I finally completed my own app, so the only work left is deploying the app. I'm using Ubuntu 10.04 and apache2(installed by apt-get), so I'm trying to deploy through passenger. I installed passenger ...
0
votes
0answers
28 views

Rails Passenger 403 forbidden

Unable to run my rails app. Have configured it using official documents. Have tried placing an index file in public folder. It works. Have tried to run rails app in production machine under ...
1
vote
1answer
2k views

Rails program is not being run on apache + passenger - only directory listing

I have successfully installed Phusion passenger + Apache 2 + Rails 3.1 program + git on a linux Debian 6. I ran passenger-install-apache2-module and followed the configuration instructions. I followed ...
0
votes
1answer
26 views

Passenger Nginx Rails in debian 7 not working

I have installed Phusion passenger following official document : https://www.phusionpassenger.com/documentation/Users%20guide%20Nginx.html#install_on_debian_ubuntu Following Steps are performed: ...
4
votes
2answers
2k views

Firefox and Chrome keeps forcing HTTPS on Rails app using nginx/Passenger

I've got a really weird problem here where every time I try to browse my Rails app in non-SSL mode Chrome (v16) and Firefox (v7) keeps forcing my website to be served in HTTPS. My Rails application ...
0
votes
2answers
853 views

Default File Permissions (Passenger, Rails, Ubuntu Server)

I've deployed a Rails application that is using page caching and is run via Passenger on Ubuntu Server. Rails caching simply uses Ruby's File.open to write the cached files. Unfortunately these files ...
0
votes
0answers
18 views

Run other applications alongside rails passenger app?

I recently created a rails app for my portfolio on an nginx server, I had to reinstall nginx to work with passenger. My portfolio works fine, but I can't seem to get another app to run alongside it ...
0
votes
1answer
49 views

Configuring Passenger on Openshift

When running a Ruby application on Openshift, is it possible to specify custom Passenger configuration options? In particular, I'd like to override the value of PassengerMaxPoolSize that's getting ...
0
votes
1answer
298 views

Cannot checkout session because a spawning error occurred

I'm trying to get my Rails app working on my VPS. I've deployed my project, created the database and migrated it. But when I visit the page I get a message: We're sorry, but something went wrong. ...
0
votes
0answers
172 views

Upgraded to Ruby version 2.1.2, passenger still on 1.9.3

I installed Ruby 2.1.2 using RVM, and changed the nginx.conf file with the appropriate passenger_ruby and passenger_root paths, but my Rails application is still running on Ruby 1.9.3. Why is my Rails ...
0
votes
2answers
338 views

State of the art deploying Rails applications with git

I'm looking to group together the information on the current best practices for deploying a Rails application on a server I run (rather than, say, Heroku). The application is developed by multiple ...
0
votes
1answer
45 views

Nginx Passenger Node Application URI Rewrite

I have a node application that accepts all routes starting at /. The Nginx / Passenger configuration for it is: server { listen 8889; server_name localhost; location / { root ...
0
votes
1answer
30 views

Website keeps asking to download ruby file?

I'm new to ruby development. I tried to install phusion passenger and integrate it with apache on Ubuntu 14.04. I completed step 2.3 of this page: ...
0
votes
0answers
19 views

Create .deb package after running passenger-install-nginx-module

I do need nginx with passenger support and also custom modules. For compiling nginx with the needed modules I use passenger-install-nginx-module provided by Phusion Passenger directly. I would like ...
0
votes
1answer
1k views

Nginx with Passenger setup problems

I'm trying to setup nginx webserver with Passenger support for Ruby on Rails application on Ubuntu 10.04 (on sub URI). All went fine until I tried to access the server/application from the browser. ...
-1
votes
1answer
135 views

Striving to make a RoR app (passenger, nginx) work on EC2

I've installed RoR, ruby, passenger and nginx on EC2 Ubuntu instance. Now I'm striving to make it work and be accessible only for the ec2's address which looks this ...
0
votes
0answers
99 views

Rails Permission Error on Sub-URI with Passenger, Apache, & Centos

I have a rails 4 application installed on a machine running centos 6. I have Apache serving up another application and I'm try to mount the rails application at a sub-uri. To aid deployment I've ...
0
votes
0answers
71 views

(phusion passenger:?) How to switch off httpd/error_log message “Either the vistor clicked on the 'Stop' button …”

Our httpd/error_log is flooded with messages like [ pid=9705 thr=140631357052896 file=ext/apache2/Hooks.cpp:784 time=2014-09-13 10:18:10.379 ]: Either the vistor clicked on the 'Stop' button in the ...
2
votes
1answer
455 views

Out-of-order chef recipes causing apt package install to fail

I'm writing a Chef recipe to install among other things nginx and Phusion Passenger. The short summary is that the recipes on my run list are not executing in the order I expect, and that's causing an ...
0
votes
0answers
48 views

Rails app: unable to get nginx to serve files directly, even though trying to use X-Accel-Redirect

I have a Rails application, running with web server nginx and application server passenger. In this case, I've compiled them into one daemon. The application includes some downloadable content ...
1
vote
1answer
366 views

Creating a stable, auto-scaling app server cluster

I have two servers, each running anywhere from 50-100 different legacy webapps, written in languages ranging from PHP to Python to Ruby-on-rails to NodeJS. We're wanting to kill off these machines ...
1
vote
3answers
701 views

Proper Passenger + Apache Permissions to fix error “No such file or directory - config/environment.rb”

I am having a problem with Passenger not being able to start due to an apparently common issue in which Passenger claims: No such file or directory - config/environment.rb. I have searched the web ...
0
votes
1answer
66 views

Puppet master receiving a YAML error after upgrade to 2.7.25-2

Our puppetmaster server was upgraded to the latest available on RHEL6 (puppet-2.7.25-2.el6.noarch). We are now receiving errors such as this on the master: Aug 26 11:36:59 master1 ...
6
votes
1answer
2k views

Nginx & Passenger - failed (11: Resource temporarily unavailable) while connecting to upstream

I have an Nginx and Passenger setup that is proving problematic. At relatively low loads the server seems to get backed up and start churning results like this into the error.log: connect() to ...
1
vote
0answers
198 views

Weird Phusion+nginx spawning delay error

We are trying to migrate an application written on REE from cloud provider A to cloud provider B. The application code, VM specs and operating systems are the same. The basic difference is that cloud ...
1
vote
2answers
713 views

NginxHttpAuthBasicModule with Sinatra & Passenger

I'm serving static pages from a Sinatra application using Nginx. I've implemented Basic Authentication for one page on the site using NginxHttpAuthBasicModule, the authentication succeeds but Nginx ...
1
vote
2answers
636 views

What's the best strategy for log rotation with apache+passenger+ruby-on-rails+mysql?

(Hope I have the right SE site for this question, apologies if not.) I have a Ruby-on-Rails application that is deployed using Apache+mod_rails (passenger). It uses MySQL for the database backend. ...
0
votes
1answer
106 views

Audit says nothing to do, yet puppet won't run with SELinux enforcing

I'm determined to get my puppet master running with SELinux set to enforcing. If I make it permissive, it runs fine. I'm on RHEL 7, with systemd, apache2, passenger 4, and puppet 3. I've gone ...
0
votes
2answers
355 views

Nginx + Passenger = Slow response

I'm running nginx 1.0.4 with Passenger 3.0.11 and Rails applications and I've noticed that on every request I made, it takes about 5 seconds to respond for the first request, if I reload it, after the ...
0
votes
1answer
560 views

multiple PassengerRoot?

how do you define multiple passengeroot - my gemsets are different so something like this: PassengerRuby /Users/david/.rvm/wrappers/ruby-1.9.2-p290@rpgweb/ruby PassengerRuby ...
1
vote
1answer
472 views

How to tell how Apache might be broken and preventing the ruby passenger module from installing

I'm installing a ruby on rails application to a Ubuntu 14.04 server. As part of it, I need to install the passenger module for Apache. When I go to run the "passenger-install-apache2-module" I receive ...
0
votes
1answer
173 views

Log errors from Passenger in vhost error.log

I'm running Phusion Passenger 4.0.40 with nginx. The server is used to host several websites and each has its own error.log file. However if an application crashes during startup, the error message ...
0
votes
0answers
56 views

Rails/Plain HTML living on same server using Passenger and Apache

I'm trying to get the following to work: www.server.com: go to main directory, serve up plain html www.server.com/w: go to /w directory, serve up a php-laden wiki www.server.com/r: go to /r ...
0
votes
1answer
87 views

Restart individual rails apps in nginx+unicorn

I have 15-20 independent rails applications on the same ec2 instance. The rails applications are deployed using apache + passenger with Railsbaseuri. RailsBaseURI /games <Directory ...
1
vote
1answer
160 views

File descriptor limit in nginx/Passenger app

We're running a Rails app in Passenger 4.0.45 and nginx 1.6.0 (installed by Passenger installer) running on Ubuntu 14.04. Under heavy load Passenger restarts all of the application processes. After ...
3
votes
1answer
63 views

Sharing HTTP session data in Passenger/Rack - What's the Best Current Practice?

My company has a customer-facing web application distributed across several servers for the purpose of load balancing and fault tolerance. The application is written in Ruby (Rack, running under ...
0
votes
0answers
132 views

Passenger permission error

I have a strange permission error when I am trying to start a rails application on passenger/nginx webserver. Here is the error log. Can anyone enlighten me whats wrong? [ 2014-07-01 18:31:01.1992 ...
0
votes
0answers
72 views

How To Get My Rails Phusion Apache App To Use The Correct DocumentRoot

enter code hereOk this is obviously a rookie mistake of some description but I have followed this to the letter and cannot get my rails app public directory to be my document root. the tutorial says ...
2
votes
1answer
248 views

Passenger Module Fails On AWS Gem With 'Class Variable Name' Error

Opening Disclaimer: I'm all kinds of newb to the technologies involved in this question. But the Googles, she no yield-a the fruit. I'm trying to deploy a Rails app into production. This app works ...
2
votes
1answer
714 views

How to setup Proxy Cache with Nginx and Passenger

I use Nginx and Passenger for my rails application. I want to use proxy cache to cache my pages. However, every request go direct to my rails application. I don't know what wrong with my ...
0
votes
2answers
321 views

passenger apache and nginx module not compiling on ubuntu 12.04LTS

I am doing all this from the root account. I have followed this guide: https://www.digitalocean.com/community/articles/how-to-install-rails-apache-and-mysql-on-ubuntu-with-passenger I have tried ...
0
votes
1answer
203 views

All Passenger processes suddenly hang - backtrace indicates reading POST data?

I've been having problems with my nginx/Passenger server where requests appear to be getting stuck, any subsequent requests don't complete, the queue gets up to its max, and the site starts serving ...
0
votes
0answers
39 views

Javascript not working on phusion passenger apache server

I have this strange behaviour. My server works perfectly fine while i issue thin command to boot the server. thin -p 80 -e production But the click function vanishes when i do the same using apache ...
0
votes
2answers
46 views

Skip passenger instance stop on apache2 reload

When apache reloads cofig files all instances of passenger are stopped and must be spawned again, it creates a problem, because spawn of rails application isn't fast process. Is there any workaround ...
0
votes
0answers
115 views

How do I go about rotating nginx + passenger logs?

I've got nginx with passenger running on debian squeeze. passenger's error output goes to master error log, as you may know. And when logrotate rotates the log, ruby applications continue to write to ...
0
votes
1answer
351 views

Why is rails application always running in development mode?

I created rails application, and everything appears to be working fine, but I can't seem to figure out how to run the application in production mode. I specified in the example.com.conf (Apache ...