1
vote
1answer
54 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
20 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
55 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 ...
0
votes
0answers
50 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 ...
0
votes
0answers
14 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
32 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
1answer
83 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
1answer
54 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 ...
2
votes
1answer
147 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 ...
0
votes
0answers
43 views

Application that works on webrick but fails in passenger

I have a ruby on rails application that starts successfully when I execute rails s -p 3000. But when I deploy it on apache or nginx using passenger, I get this result. The deployment instructions ...
0
votes
1answer
92 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 ...
2
votes
1answer
94 views

Nginx, setup https

I'm trying to setup https on my ubuntu server with NGINX ver 1.4.7 and Phusion Passenger 4.0.41. I created .key and .csr using these two commands sudo openssl genrsa -des3 -out server.key 2048 sudo ...
0
votes
0answers
70 views

NginX configuration to prevent “Slow HTTP Denial of Service”

I'm trying to configure NginX (in combination with Passenger and Rails) to prevent "Slow HTTP Denial of Service". What I'm trying to do to prevent it, is limiting the amount of requests per ...
0
votes
0answers
47 views

Redmine on Apache2 - moving passenger docroot + symlinks

I have to upgrade some production servers to ssl, one of them a Redmine host and i don't have experience with apache+passenger. Searches here and other places did not yet provide an answer for my ...
0
votes
0answers
181 views

Simple Rails 4 ActionController::Live example not working with Apache + Passenger

I am attempting to get ready to move our environment to Rails 4 and working through all the issues. Regretfully we are currently on Centos 5.5 so there were some hurdles to jump through just to get ...
0
votes
1answer
100 views

Rails 4 app + nginx1.4.4 + passenger4.0.37 on a headless Ubuntu12.x server running on a VM on my local machine

At the moment, it gives me a disapointing blank page. No 500, no 404, no errors on the nginx log file, just a snowstorm of interrogations. And its been hours of googling without success. So if anyone ...
3
votes
1answer
243 views

What does this log mean?

While my application is running (with a lot of traffic), I see this in error log but I dont even understand what it is about. I guess it's optimizing some configuration but I need a more formal ...
0
votes
0answers
50 views

install redmine in shared apache server

I'm trying to install Redmine in a shared apache server. This means, I cant make the redmine/public folder my document root. My server is called server1, so I have some html and php pages at: ...
0
votes
0answers
64 views

Serve Rails app With Apache2/Passenger with no domain name

I have VPS, I am already serving a few PHP sites with Apache2. I now want to deploy a Rails app. I have set up the virtualhost in sites-available and enabled it with a2ensite. It looks like this ...
0
votes
0answers
74 views

How can I determine why I am getting error 500?

My setup is rails 3.2, with ruby 1.9.3 running on passenger and apache (production environment). I Recently used "mod_rewrite" to set up redirection for http -> https requests, and all went smoothly. ...
1
vote
2answers
61 views

Why server writes much more than reading the disk

I'm running one Ruby on Rails application, I use Passenger Nginx, Ruby on Rails 3.2, search gem Sunspot (which uses Solr as its search engine). My application works ok with around 6K active users but ...
0
votes
0answers
16 views

Configure nginx+passenger rails+phpmyadmin [duplicate]

I need to setup all routes to my rails server, except one: phpmyadmin path, i try so, my configuration file code: server { listen 80; server_name localhost; location / ...
1
vote
0answers
178 views

Rails app (Redmine) on Phusion Passenger is very slow on first request

I've recently deployed a Redmine app (production env) on an AWS server and every time I go to the page after a delay (10+ minues), it take a painfully long time for the page to load. After googling ...
0
votes
1answer
280 views

Nginx, Passenger, Rails serving static files but not running app

I've seen other similar questions but none with satisfactory answers, so here goes. I've installed Ruby, Rails, Nginx and Passenger and tried to configure it to all work together. Here is the ...
0
votes
1answer
108 views

Phusion Passenger slow rendering JSON response [closed]

I have a Rails 4 application that returns a large amount of data that is rendered as JSON (23K records/2.8MB document). Testing this call on my laptop using the WEBrick server, the request completes ...
2
votes
1answer
87 views

What happens when Phusion PassengerMaxPoolSize is reached?

The subject of my post pretty much sums up my question: What happens when PassengerMaxPoolSize is reached? For Example: PassengerMaxPoolSize is configured to 40 based off our system specs What ...
0
votes
1answer
67 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 ...
0
votes
0answers
41 views

Phusion Passenger Apache vHost to Sub Directory

I have a rails app that we're trying to migrate t our servers for DNS purposes. The app generates a user url ex ourapp.com/user1. Say user one wants to point user1.com to their respective ...
0
votes
0answers
31 views

Phusion Passenger 4.0.10 crash

My website runs normally to me but CTR is very low so I open the error log and see something like from this file: crash log What is this and how can I fix this? P/s: I'm using Phusion Passenger ...
0
votes
1answer
44 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
0answers
26 views

Apache virtual hosts file - would like to have a rails test directory

I recently got Phusion passenger installed on my VPS, and I am just starting out on my Ruby / rails projects, so I would prefer to put the rails projects in a directory named ...
0
votes
0answers
872 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 ...
0
votes
1answer
40 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
1answer
281 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
0answers
60 views

www in domain name is not working

I am new for hosting. I have taken Amazon EC2 free tire for hosting and host a Rails website on an ec2 instance. I have taken a domain name for my site named http://jarsoftwares.com/ . I have ...
-1
votes
2answers
212 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 ...
0
votes
1answer
74 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
2answers
39 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 ...
0
votes
0answers
98 views

Intermittent SSL “Timeout” w/ Apache and a RoR Passenger App

I am completely lost on this one so I'm hoping someone here may have experienced it before. I have a RoR application running with passenger in apache. It sits on EC2 and is load balanced using ELB. ...
3
votes
1answer
171 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 ...
0
votes
1answer
36 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 ...
1
vote
1answer
93 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 ...
0
votes
1answer
373 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
1answer
71 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
1answer
198 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 ...
0
votes
1answer
150 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 ...
0
votes
1answer
139 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
1answer
179 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 ...
1
vote
1answer
180 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
0answers
289 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 ...