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++.

More about Phusion Passenger: http://www.modrails.com/

482 questions
1
vote
1 answer

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 the actual project /var/www/whois-dreyfus -->…
1
vote
1 answer

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. But my Puppet dashboard, also running under…
user65237
1
vote
1 answer

Can't write to log file in Passenger 2.2.5 with nginx

I have a Rails app, running with nginx and Passenger. Until yesterday, logging worked, but now nginx's error.log shows this message on startup: Rails Error: Unable to access log file. Please ensure that /var/www/app/htdocs/log/production.log…
1
vote
0 answers

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 provider A uses Xen and paravirtualization while…
adamo
  • 6,925
  • 3
  • 30
  • 58
1
vote
1 answer

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 through a couple of passes using the audit log, and…
Mojo
  • 955
  • 2
  • 9
  • 24
1
vote
1 answer

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 is not written to the website's error.log, rather…
mike
  • 221
  • 1
  • 4
  • 12
1
vote
1 answer

Apache: mod_passenger + mod_php

Is it possible to install both modules for PHP and rails passenger? I installed libapache2-mod-php5 first, and when I try to install libapache2-mod-passenger, it tries to remove the php module. Is there any other way how to make PHP and Rails…
Jakub Arnold
  • 1,744
  • 10
  • 26
  • 33
1
vote
2 answers

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 to prevent this behavior?
Bijendra
  • 171
  • 1
  • 1
  • 9
1
vote
2 answers

/etc/init.d/nginx not executable

I searched on the internet for a while now and I don't find a solution so I am asking here: My question is, why is this file (/etc/init.d/nginx) not executeable? I was following the tutorial of Alex yesterday and I got into an issue. Everything…
Dominik Schmidt
  • 111
  • 1
  • 3
1
vote
2 answers

Setting up Redmine on Debian with Phusion Passenger, static content doesn't show up

I and some others are setting up Redmine on a Debian server running Apache. Actually, I didn't do the initial setup but I can't get ahold of the guy who did right now so I'm asking here. We are using Phusion Passenger to serve Ruby content (I guess,…
Ibrahim
  • 394
  • 5
  • 12
1
vote
2 answers

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 when there's a spike of traffic like 15K active…
vutran
  • 153
  • 7
1
vote
0 answers

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 for the cause of this, I've stumbled upon a…
dimaj
  • 63
  • 7
1
vote
1 answer

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 GitHttp (NameError) config.ru:16:in block in…
vskubriev
  • 686
  • 9
  • 15
1
vote
0 answers

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 watchdog because its executable…
Joel Grannas
  • 111
  • 1
  • 4
1
vote
2 answers

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 mounting extra swap space since server only has 512MB…
Phil
  • 183
  • 11