Questions tagged [phusion]

128 questions
2
votes
2 answers

Ruby Could not find mime-types-data-3.2016.0221 in any of the sources (Bundler::GemNotFound)

I'm trying to get Ruby up and running but keep running into this problem. OS: Debian 6 Wheezy Ruby: 2.2.1 Rails: 4.2.6 Create a new project: Rails new Sample1 Get the famous "We're sorry page", error page: Could not find…
user3780225
  • 141
  • 7
2
votes
2 answers

How to configure Phusion Passenger X-frame options?

I'm trying to iframe a site I built (using Rails) and deployed on an ubuntu instance on AWS using Phusion Passenger. I looked more into it and found that I need to change my X-frame options, a HTTP header from 'SAME ORIGIN' to 'ALLOWALL'. I already…
pbbot
  • 33
  • 3
2
votes
3 answers

Express.js App on Phusion Passenger - did not write a startup response in time

I am trying to run an express.js app on a server running Phusion Paggenger (apache) and am seeing the error "An error occurred while starting the web application: it did not write a startup response in time." after the request times out. I've read…
Colin Stevenson
  • 541
  • 5
  • 7
2
votes
4 answers

cache money ActiveRecord::MissingAttributeError

i keep on getting ActiveRecord::MissingAttributeError errors randomly everywhere in my program. i have passenger (30 instances) running with nginx. i don't have this problem in dev. When i remove cache money it works fine in production. this is the…
R Jaswal
  • 21
  • 2
2
votes
2 answers

How to configure maintenance pages on Passenger suburi deployments

I am trying to get a maintenance page setup for a suburi deployment on Phusion Passenger for a rails app. All the documentation shows DocumentRoot ReWrite rules, which don't appear (don't think they should) rewrite on suburis. I tried hacking…
naven87
  • 964
  • 1
  • 7
  • 24
2
votes
1 answer

Phusion Passenger on Ubuntu not seeing plugin in vendors directory

Phusion Passenger, running on Ubuntu Hardy Heron, is bombing on a require 'lingua/en/readability'. The plugin is installed in the plugins directory and works fine with script/server, just not Passenger. Error Message: source file that the…
armyofgnomes
2
votes
1 answer

Phusion Passenger Forbidden Permissions Denied

I'm trying to run Phusion Passenger with Apache and when I start passenger I get the following error: =============== Phusion Passenger Standalone web server started =============== PID file: /root/passenger.3000.pid Log file:…
codebytom
  • 418
  • 4
  • 12
2
votes
1 answer

Phusion passenger spawner rails app causing high cpu usage

I have Asterisk and Rails app running on the same server. All inbound calls via Asterisk triggers a "curl" to the rails app's controller to initiate a juggernaut publish, enabling real-time push of inbound calls to the individual logged in user…
Adrian Teh
  • 1,929
  • 18
  • 15
1
vote
1 answer

Does Phusion Passenger start a new Ruby instance for each visitor?

I'm very new to Phusion Passenger. I just know it keeps a limited number of worker threads, and shuts them down after a hour or so of inactivity. But does it start a new Ruby instance for every request that comes in? Wouldn't that pose a problem if…
Henley
  • 21,258
  • 32
  • 119
  • 207
1
vote
1 answer

How do I set up a Strapi App on a Phusion Passenger NodeJS environment

I have this hoster that use Phusion Passenger for the NodeJS environment and I want to run my Strapi App on it. For now I did the following: Strapi and the node modules are installed on the server The app is connected to the database the app.js can…
Cielesis
  • 11
  • 1
1
vote
1 answer

Problems Creating a custom startup file in phusion passenger for node

I follow this tutorial https://support.cpanel.net/hc/en-us/articles/360057519553-How-to-create-a-custom-NodeJS-startup-file- But when I set up my files and do everything like the tutorial the startup file is still not pointing to the correct…
dialac
  • 21
  • 4
1
vote
0 answers

express js routing and Phusion Passenger: internal server errors

I am new to express/node and apologize in advance for my inexperience/ignorance. I have written an express app that runs perfectly on my local system. Our hosting service uses Phusion Passenger and my app is having all sorts of routing issues now. …
kjnelson
  • 11
  • 1
1
vote
0 answers

AWS EC2 becomes unreachable (Rails, Phusion_Passenger)

My Rails app production is running on AWS EC2 instance, on Apache through Phusion Passenger. And I am facing different problems with it. Sometimes this instance becomes unreachable via ssh and my rails application cannot be accessed via browser.…
1
vote
3 answers

Paperclip not working under Apache/Passenger

I've deployed my rails application on a staging/production machine running Apache and Phusion Passenger but cannot get the Paperclip gem to load correctly (or at least to get the piece of the application working that uses it). Other gems seem to…
Mark
  • 217
  • 1
  • 2
  • 9
1
vote
1 answer

Plesk: Using nodejs results in an error "Cannot find module 'phusion_passenger/line_reader'

Having an issue with Plesk and nodejs-extension using phusion passenger. My Plesk Version: Plesk Obsidian 18.0.31 Update #2 My OS: Ubuntu 18.04.5 LTS Using nodejs 12.4.0 which is primarly installed via plesk. I set up two domains. On both i run npm…
1 2
3
8 9