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)

0
votes
0answers
2 views

how can I run an existing Rails passenger app in webbrick?

Of late I have been bitten by the Passenger's unaccessible server trace logs etc. for my Rails app. So I am thinking of running my app in webbrick. But my requirement is little complicated. Assets ...
0
votes
0answers
28 views

Error starting Passenger with Apache

I am trying to configure TestCaseDB on CentOS 6.2. The Passenger and apache versions are: Phusion Passenger 5.0.10 Apache/2.2.15 (Unix) I have used this admin guide for Installation and ...
0
votes
0answers
32 views

What is causing this logs? Could it cause Apache2 to fail in the long term?

The app is a Node.js wrapped with Phusion Passenger for Apache. The app is working pretty well but Apache2 seems to file once in a while(every few days). It fails without logging any errors, the app ...
0
votes
0answers
32 views

Match subURIs to index.php file on Apache Passenger

I have the following configuration within a VirtualHost block: #Passenger config DocumentRoot /home/me/railsapp/public <Directory /home/me/railsapp/public> AllowOverride all Options ...
0
votes
0answers
10 views

Puppet-Dashboard Doesn't Load With Ruby Gem Passenger 5

Has anyone encountered problem of running Puppet Dashboard on Ruby Passenger 5? If yes does it really work with that Passenger version? I've already setup and configured the necessary files required ...
1
vote
0answers
42 views

Failed to connect to socket /var/run/dbus/system_bus_socket: No such file or directory

My server on Centos 6.6 went down Phusion Passanger refuses to start of with following error: stdin: is not a tty /etc/init/delayed_job.conf: line 7: description: command not found start: Unable to ...
0
votes
0answers
19 views

Passenger tmp file not found

2015/06/08 18:15:07 [crit] 6450#0: *28773 connect() to /tmp/passenger.1.0.6428/generation-0/request failed (2: No such file or directory) while connecting to upstream, client: x.x.x.x, server: ...
0
votes
1answer
60 views

No space left on device error

I can no longer generate new columns in my database. My stack is below. I am new to managing my own server and am unfamiliar with Apache, Ubuntu and AWS. Currently I am receiving an error saying ...
0
votes
0answers
24 views

Passenger+Nginx instances fail to keep rails' uniqueness true

I have multiple Nginx+Passenger instances conf here and many models (more than 40) that has validations on uniqueness. e.g. class Ssid < ActiveRecord::Base validates :name, :presence => true ...
0
votes
0answers
23 views

“unknown directive” when installing Phusion Passenger on Debian 8 with nginx

I try to install Phusion Passenger on a Debian 8 (amd64) which already has an installed nginx (the Debian default nginx package). I use the official install how-to: ...
0
votes
0answers
96 views

Rails app with nginx passenger: recv() failed (104: Connection reset by peer) while sending to client

Update. June 8 It's most definitely client-side. Something about JQuery/Ajax/Facebox doesn't sit well with IE10/11. Unfortunately updating all the components for JS related things to be more ...
0
votes
0answers
38 views

Requests to nginx+passenger timing out without error code

We are beta-ing a new Bridge Game, built on rails + html5 + javascript. After initial deployment a couple of weeks ago, and subsequent application code tweaks, we are now in a position where the app ...
1
vote
0answers
48 views

Getting 403 Forbidden w. Referer on Nginx+Passenger

We're using Nginx 1.6.2 + Passenger 5.0.6 and have a vhost defined with PHP-FPM which serves a MODx installation. Only one location /sinatraapp serves a Sinatra App using Ruby 2.1.1. The setup is ...
0
votes
0answers
40 views

How do I start nginx (+ passenger) with an RVM system-wide install on nginx?

My nginx installation was working with an RVM installation for single-user, but when I switched the RVM installation to a multi-user (system-wide) installation, /etc/init.d/nginx start gives a ...
0
votes
0answers
112 views

Deploying a (Ruby) web server in a Docker on Elastic Beanstalk: is this double web server ok?

We have a web app in Ruby which is deployable via a Docker setup, among other things to have exactly to same Ruby environment from developers to the production server. We chose to deploy it on AWS ...
0
votes
0answers
245 views

Nginx and passenger request timeout (nginx status code 499)

DISCLAIMER: I have read numerous posts here, on stackoverflow and other pages and I could not come up with a solution, so hopefully this helps. We are running a Rails App on Passenger together with ...
0
votes
1answer
60 views

apt-get hangs when trying to install Passenger on new Ubuntu 14.04

I setup a completely new Azure Ubuntu 14.04 server. After following the instructions here: https://www.phusionpassenger.com/documentation/Users%20guide%20Standalone.html#install_on_debian_ubuntu On ...
0
votes
0answers
264 views

Apache 2.4 & Phusion Passenger generating 403 Error

I'm trying to setup a Rails application (Project Fedena) on the following Server configuration. I am using the virtual host configuration below. I get a 403 when I visit the IP/Domain. There's only ...
0
votes
0answers
45 views

nginx/passenger returns 503 on long running request

I have a standard nginx / Passenger setup for a Rails 4 app. Sometimes there is a request that will take a lot of compute (30s+ to complete), nginx will return 503 after some short time. I already ...
0
votes
1answer
327 views

Starting Rails App with Phusion Passenger Standalone?

I am deploying a Rails application ( Project Fedena ) to a VPS at Digital Ocean. I can use either of mongrel_rails start and ruby script/server to launch my app with no problem. It binds to port :3000 ...
0
votes
0answers
34 views

passenger-memory-stats doesn't show Private memory consumption

I get ? marks in Private section. What can be the reason? # passenger-memory-stats Version: 4.0.48 Date : 2015-02-21 04:38:29 +0700 ---------- Apache processes ---------- PID PPID VMSize ...
1
vote
1answer
80 views

ProxyPass in nginx

I am trying to proxy_pass in nginx with the following configuration: location /abc_service { proxy_pass http://127.0.0.1:3030; proxy_set_header Host $host; proxy_set_header ...
0
votes
1answer
463 views

nginx proxy pass / rewrite with multiple locations to passenger app and php-fpm

On a server for a small team of people (up to 30) I installed several services which have to be accessible from the browser. I want to use nginx because I consider it being more lightweight. All ...
0
votes
0answers
17 views

Running Passenger with apache in a subfolder

I got a Testserver on which I wanna run an ruby application with passenger and I wanna access this application by subfolder. So I added this to my default apache config: <Directory ...
1
vote
1answer
72 views

Changes on Puppetmaster not always immediately recognized by Puppet-agents

Introduction It occurs a number of times a day that changes on the Puppetmaster are not recognized immediately by the Puppet agents. If this is the case Puppet needs to be run more than 5 times (e.g. ...
0
votes
0answers
25 views

Troubleshooting Rails 3 application performance problems

We deployed some apps upgraded to Ruby 1.8.7, Rails 3.1.11 on Dec. 30 (i know, we're in perpetual upgrade mode, targetting Ruby 1.9.x now..). One of the apps' performance has been poor since then, ...
2
votes
0answers
552 views

Unable to apt-get install nginx-extras package on top of nginx 1.7.9

I am attempting to install Phusion Passenger for nginx on a dev Ubuntu box following this guide from the passenger website. I have Nginx installed and running already, version is 1.7.9-1~trusty. I ...
2
votes
1answer
481 views

Why does passenger-install-nginx-module neither install Nginx nor implement Passenger support on Centos7 while the output indicates the contrary?

Introduction At the moment there are approximately 100 Puppet agents that connect to the Puppetmaster. Sometimes it takes a while before implemented changes on the Puppetmaster are picked up by the ...
1
vote
1answer
114 views

Apache server running Passenger can't display Rails app

I have a project that was pulled from github into my /home partition, and made symbolic links to the /var partition as per convention. How it looks : /home/vagrant/github/whois-dreyfus --> repo of ...
1
vote
1answer
869 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. ...
0
votes
0answers
273 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 ...
0
votes
1answer
159 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: ...
0
votes
0answers
37 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
2k 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
1answer
117 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
0answers
259 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
1answer
87 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
41 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
47 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
0answers
174 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 ...
-1
votes
1answer
637 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
115 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 ...
0
votes
0answers
135 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
905 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
0answers
318 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 ...
0
votes
1answer
92 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 ...
0
votes
1answer
305 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 ...
2
votes
1answer
1k 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
0answers
92 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 ...
1
vote
1answer
882 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 ...