Questions tagged [phusion-passenger]
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 webservers and is written in C++.
480
questions
0
votes
1
answer
718
views
Apache sites file without domain name [closed]
I can't seem to find this on google. I'm trying to put up a quick test site using EC2 and Elastic IP but I'm getting stuck at how to edit the Apache sites file so that I can view the site. It's ...
1
vote
1
answer
513
views
Cannot run grack, passenger occurs error: uninitialized constant GitHttp (NameError)"
I trying to setup web server for publish git repositories on successfully installed and worked redmine server.
Passenger occurs error:
Web application could not be started
uninitialized constant ...
0
votes
1
answer
528
views
VPS apache config - Invalid command 'PassengerDefaultRuby' after adding latest passenger gem
used to have this list of rubies in my vps:
ruby-1.9.2-p320 [ i686 ]
=* ruby-1.9.3-p194 [ i686 ]
ruby-1.9.3-p374 [ i686 ]
ruby-1.9.3-p392 [ i686 ]
today I installed a new app on this vps on ...
0
votes
1
answer
517
views
Passenger + RVM returns 502 for ruby 1.8.7 (passenger_root lies in ruby 1.9.3)
I'm using Passenger + RVM + Nginx, and my Rails applications which are configured for Ruby 1.9.3 work fine, but those for 1.8.7 always return a 502 error. Can anyone spot the trouble?
My config is as ...
0
votes
1
answer
162
views
Restart individual application in apache+passenger on ubuntu server
I have multiple ruby on rails applications on the server(Apache + passenger ) using RailsbaseURI.
When new applications are deployed, apache is configured to reload which reads the new configuration ...
0
votes
1
answer
156
views
Phusion Passenger fails to compile on CentOS
I'm trying to install Phusion passenger (aka mod_rails) for the default Apache2 install on a CentOS 5.9 box. I successfully installed the gem using the following, sudo gem install passenger but when ...
1
vote
0
answers
3k
views
nginx passenger_root not accepting valid passenger gem location
I am trying to add passenger_root and passenger_ruby to my nginx.conf file, but when i try and restart NGINX I get the message:
Starting nginx: nginx: [alert] Unable to start the Phusion Passenger ...
1
vote
2
answers
643
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
1
answer
103
views
Cant configure Apache with Passenger + Rails
I am only beginner and try to understand how to configure apach web-server for my RubyOnRails app. I have linux, installed apache2, passenger and apache2-module for passenger. While installing i got ...
0
votes
1
answer
2k
views
Passenger permission denied accessing .htaccess
I just finished migrating my Redmine install and after testing it with webrick all went fine and the site worked really well with http://localhost:3000
Next, i installed and configured mod_passenger, ...
0
votes
1
answer
2k
views
Apache2 with Passenger and subdirectory with file listing
I have a server configured with redmine using apache2 and redmine. The configuration was relative easy:
<VirtualHost localhost>
RailsEnv production
# create a link in /var/lib/redmine/default/...
3
votes
1
answer
3k
views
Setting PassengerDefaultRuby in Apache2
I'm experiencing a server error, which tells me that it cannot detect essential gems such as rake. Research suggests that there's a miscommunication between Phusion Passenger and RVM. RVM recommends ...
0
votes
1
answer
1k
views
sudo: passenger-memory-stats: command not found
This is my first time setting up a server, and I've hit snag while following the Phusion Passenger tutorial described here. The instructions ask me to run this command:
passenger-memory-stats
Which ...
4
votes
1
answer
611
views
swap space when installing phusion passenger
I tried to install Phusion Passenger and since I had less than 1GB free memory it recommended temporarily adding swap space with there commands:
sudo dd if=/dev/zero of=/swap bs=1M count=1024
sudo ...
0
votes
1
answer
365
views
Capistrano Shell Environment Errors
I'm trying to get capistrano working with rvm and passenger standalone. I had it working at one point, then capistrano suddenly started complaining about missing the bundle command. When I remove ...
-1
votes
2
answers
2k
views
passenger is listing all the public folder files
Hello everyone please ignore my noobness, this is very first time i am deploying RailsApp;
I have used apache and phussion passenger with rvm, here is my virtual host configurations that i added in ...
2
votes
1
answer
2k
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 ...
2
votes
1
answer
302
views
How to install moinmoin-2 on dreamhost
How to install moinmoin-2 on dreamhost?
I'm putting this here, so I can find it in the future. Maybe it is useful to other people too.
I found it challenging because:
it needs python2.7, and ...
0
votes
1
answer
258
views
phusion passenger processes dying and new ones starting up mysteriously
as you can see, passenger processes are dying and new ones booting up, even though we're not explicitly restarting passenger ourselves. we can't pinpoint what's causing this. what are some common ...
-5
votes
2
answers
64
views
Rebooting whole server for Rails [closed]
I'm migrating a Rails project onto an Apache server. I've followed the steps similarly to this link (installed passenger as ruby gem, added some lines to /etc/apache2/apache2.conf, set Vitual Host to ...
6
votes
1
answer
1k
views
Is there a backend-aware load balancer for Rails/Passenger?
We have 3 Ruby on Rails applications (A, B and C) installed on a number of application servers. Our front end is HAProxy, backend is Apache + Phusion Passenger. Originally we had all 3 Rails apps ...
1
vote
1
answer
417
views
Nginx 1.5.1 with spdy support, passenger and php
I can't figure out if spdy is already packaged with nginx 1.5.1 or I have te recompile it. I installed nginx with the following command passenger-install-nginx-module this installed nginx 1.4.1 ...
2
votes
1
answer
3k
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 root/...
0
votes
1
answer
56
views
How to configure http.conf without a ServerName?
I've the following example given to me to set up rails on CentOS with apache / passenger:
<virtualhost *:80>
RailsEnv development
ServerName app.com
ServerAlias www.app.com
DocumentRoot /var/...
1
vote
1
answer
6k
views
Default Apache test page when on SSL
I have the exact same configuration for my rails site on a staging server and a production server, aside from the "staging" vs "production" in the file paths.
They're both set up to redirect all ...
1
vote
0
answers
363
views
Nginx Installed w/Passenger but No Command Line
I installed Passenger and Nginx on Ubuntu 12.10 using the following command: passenger-install-nginx-module (following instructions at www.modrails.com/documentation/Users guide Nginx.html). When I ...
0
votes
2
answers
1k
views
Nginx stops serving passenger app (503)
I'm deploying a rails app through passenger and nginx (utilizing an elastic-search server which is running on the same machine) on a Ubuntu system. This works perfectly for about twelve hours. Then, ...
1
vote
1
answer
4k
views
Passenger complains about Apache permissions despite 777
I installed Redmine on Fedora 18. The installation works when tested with webrick, as explained in the official HowTo.
Now I want to use Passenger and Apache to host Redmine. What I get is:
...
0
votes
1
answer
712
views
Why does amazon ec2 have downtime after deploy when other identical servers do not?
This has puzzled me for the past few months...I'm admittedly new to server administration and I took a stab running a production rails app over at EC2. While I've learned a lot and feel pretty ...
0
votes
1
answer
164
views
Migrate Rails app with passenger, capistrano(with rubber), and ImageMagick to Dreamhost
I have a beta app that a developer has made for my company and I need to clone their work onto another server.
I have successfully backed up the MySQL database to another server and copied all their ...
0
votes
1
answer
368
views
Can we configure HTTP response code headers?
We're stumped. We're getting a new header in our Apache httpd + Passenger web server we didn't expect. We have a sensitive web client reading this we cannot modify at this time.
Can we modify this ...
0
votes
2
answers
2k
views
Rails 3 with Thin Server - Removing Port 3000 from URL
I have a small Rails app currently being served (dev and production) by Thin server on port 3000, on a Debian box that also has apache2 running, serving PHP applications.
I am not certain if this is ...
3
votes
1
answer
255
views
TCP 443 Connection goes into server but never reaches Apache2 (Passenger)
We have some weird problems, when external servers try to connect to our Website on Port 443(TCP) which is an Apache2+Passenger and a Rails Application.
The problem only happens rarely. I started to ...
0
votes
1
answer
765
views
Multiple Rails/Rack apps Nginx one for each subdomain
I just hired a VPS with Ubuntu 12.10 x64. I've managed to get one Rails app running with passenger-nginx. Now I want to run another app as a subdomain, say for example admin.mydomain.com. How can I do ...
1
vote
1
answer
1k
views
Running roundcube alongside passenger on nginx
I have recently tried to install passenger on nginx. The installation works and everything is good. However I would like to run roundcube webmail on my server as well.
Basically my problem is that ...
0
votes
1
answer
833
views
Getting Redmine integrated with svn while running passenger as user www-data
I'm having some problems getting passenger and svn to work in Redmine.
System
Ubuntu 12.04
Apache 2.2.22
PassengerRuby 1.9.1
Passenger 3.0.19
Problem
When I let Passenger do it's normal user ...
1
vote
1
answer
740
views
Error installing nginx with Passenger on Ubuntu 12.10 for Ruby 2.0.0 [closed]
I am attempting to install nginx to run a Rails site (3.2.13) with Passenger (4.0.0.rc5) on Ruby 2.0.0-p0 via RVM. I have successfully installed the Passenger gem, but when running:
rvmsudo passenger-...
1
vote
1
answer
1k
views
Pass on passenger_base_uri to Rails app
We built a Rails app that consists of the following routes:
namespace :api do
namespace :v1 do
resources ...
end
end
That means, all controllers are reachable via www....
0
votes
1
answer
528
views
Duplicate requests with different IPs from client causing duplicate actions in Ruby on Rails 3.2 controller
I have been trying to figure this issue out for a while re-checking my code and searching on the internet, I found some possible answers if the cause was something else but nothing exactly like I have ...
1
vote
1
answer
1k
views
How can I make apache use PHP over passenger by default?
Here's my setup: I have an apache server running a number of virtual hosts, each of them using PHP. I now have a rails app I want to install to a subdirectory for one of the sites (a subdomain would ...
3
votes
1
answer
1k
views
Sporatic 502 errors with Ruby on Rails site running on Nginx
My Ruby on Rails site is throwing sporadic 502 errors. It is running on Nginx, installed with Passenger, and is hosted on a server running Ubuntu 10.04. It seems that the errors are becoming more and ...
1
vote
0
answers
2k
views
Problems with apache2 and SSL not load files CSS and JS
I have an application in Ruby on Rails 3.2.8, and I'm using passenger-Nginx as Web Server on port 3037 with Apache2 and SSL using ProxyPass and ProxyPassReverse. My problem is, when load in chrome or ...
0
votes
1
answer
560
views
have redmine running on apache2 with passenger
I am trying to have redmine running on my Ubuntu 12.04 / Apache/2.2.22 server. I am following this documentation which worked just fine on my laptop, but can't get it to work on my aws webserver. I'm ...
1
vote
0
answers
569
views
Issue serving static contents securely via nginx X-Accel and rails send_file
I am trying to serve static contents via nginx & rails using X-Accel-Redirect. My actual static content directort located at rails root folder like this rails_root\books. This is my nginx config ...
6
votes
2
answers
2k
views
Elastic Beanstalk Rails - Modify passenger config passenger_max_pool_size
I need to increase the passenger_max_pool_size for my Rails application running on passenger.
I have used Elastic beanstalk for deployment. Any idea, how to go about this? Is there an optionsetting or ...
2
votes
1
answer
3k
views
No data received - Passenger, (52) Empty reply from server
I had setup Elastic Beanstalk for my rails application last month (Passenger).
All was good.. but all of a sudden, my servers are not responding well.
My application access gives 'No data received - ...
1
vote
0
answers
503
views
URL Rewriting and Rack base paths
I'm trying to set up a Rails website on Bluehost and I'm having trouble with the path helpers. As I don't want to monkey-patch Rails, I'm trying to solve this through .htaccess. Here's the scenario:
...
0
votes
1
answer
223
views
Cannot Start Passenger 3.0.18 Using Mountain Lion (OS X Server) and RVM
I recently did a clean install of Mountain Lion on my Mac Mini Server.
I installed version 3.0.18 using a gem according to the directions on http://www.phusionpassenger.com with no errors that I ...
3
votes
4
answers
12k
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
1
answer
123
views
Passenger nginx install doesn't come with a service to restart nginx?
How do you restart nginx on a Ubuntu passenger-nginx install?
I installed passenger, and then it automatically installed nginx. However there's no command to restart nginx anywhere. I tried service ...