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
1answer
20 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 ...
2
votes
1answer
25 views

Apache passenger setup - Multiple projects under same domain

I want to setup different projects under same domain with different ruby version for each app. Eg: example1.com is a main app which runs on Ruby 1.8.7 example1.com/tasks is another app which runs ...
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 ...
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
0answers
11 views

mina deploy not creating rails app files

I have a server with nginx and phusion passenger setup. nginx is running well. Also, phusion passenger is running (checked with passenger memory-status) I tried setting up mina, it went well noting ...
1
vote
1answer
59 views

Nginx not responding with rails app deployed on aws ec2 instance using capistrano

I have a rails application deployed through capistrano on an aws ec2 instance and have passenger nginx installed on the server as well. Whenever I try and access my application using the DNS or the ...
0
votes
0answers
18 views

Nginx 403 with Passenger [on hold]

I'm getting a 403 error when accessing a Rails app hosted with Nginx and Passenger. Here's the error from error.log: 2015/07/21 02:34:54 [error] 4809#0: *23 directory index of ...
0
votes
1answer
131 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
1answer
45 views

nginx is not defining $scheme

I just upgraded from nginx 1.4.1 to 1.8.0 (along with an upgrade to Phusion Passenger 5.0.13). With that change the $scheme variable from our configuration no longer seems be set. The nginx ...
0
votes
1answer
58 views

(Passenger Agent) Signal received. Gracefully shutting down

I have a rails application that I am deploying on an aws ec2 instance, this is my first time using the Rubber Gem, for which I have followed this tutorial. After removing the default nginx ...
2
votes
3answers
5k 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
3answers
945 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 ...
-3
votes
1answer
34 views

How do you restart logging after deleting an NGINX log? [closed]

I deleted my NGINX log because it was very large, thinking that NGINX would automatically create a new one in its place. It didn't, and now I don't have logs. The file was previously located at ...
0
votes
1answer
3k 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
2answers
1k 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
6 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
58 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
34 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
66 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 ...
1
vote
0answers
102 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
25 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
0answers
153 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
1answer
80 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 ...
2
votes
3answers
7k views

puppet master REST API returns 403 when running under passenger works when master runs from command line

I am using the standard auth.conf provided in puppet install for the puppet master which is running through passenger under Nginx. However for most of the catalog, files and certitifcate request I get ...
0
votes
1answer
403 views

Phusion Passenger + Apache: LoadError — No such file or directory

I run Apache2 with Phusion Passenger (installed from gem) with Ruby 1.8 on Debian 6. It gives me the following LoadError: libMagickCore.so.4: cannot open shared object file: No such file or directory ...
0
votes
0answers
27 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
29 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: ...
2
votes
1answer
1k views

Best practice for setting up RVM, Passenger/Apache with multiple Rubies and running as specific users?

My goal is to run ruby applications under different server users with potentially different versions of ruby. So i would have users that serve as the "hosting account" essentially. Document ...
0
votes
0answers
42 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
73 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 ...
2
votes
3answers
2k views

Ruby on Rails Process Stuck at 100% CPU

Environment: Ubuntu 10.04 LTS, Passenger, Nginx 1.0.6, MySQL, Ruby 1.9.2, Rails 3.1 After some amount of time, the server ends up with a gradually increasing number of processes that are stuck at ...
0
votes
0answers
43 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 ...
3
votes
2answers
1k views

Why is my Rails application hanging?

I have a Rails application of moderate complexity running under Apache/Passenger which becomes unresponsive after periods of idleness. It takes several minutes to respond, but can be temporarily ...
3
votes
5answers
6k views

Curl development headers with SSL support for Phusion Passenger 3

I'm trying to install phusion passenger nginx module, but it fails # passenger-install-nginx-module * Curl development headers with SSL support... not found ... yum install curl-devel Setting up ...
0
votes
1answer
69 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
332 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
0answers
331 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
53 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 ...
2
votes
1answer
279 views

Nginx gives 404 error for rails app except the root

I have an Ubuntu 12.04 LTS VPS server that serves a static website with Nginx. I would like to set up a rails application that is accesible from the subfolder 'foo'. I use Passenger for serving the ...
0
votes
1answer
399 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
1answer
512 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
48 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
37 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
100 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
2answers
952 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
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
76 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
26 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
634 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
546 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 ...