Questions tagged [phusion]
128 questions
1
vote
0 answers
Ruby 2.0 is not a valid platform
Hi all I am working with Phusion Passenger and I go to run my web app and it gives me Ruby 2.0 is not a valid platform. Here is my output below, any ideas?
Thanks!
ruby_20` is not a valid platform. The available options are: [:ruby, :ruby_18,…

user3120330
- 11
- 2
1
vote
0 answers
Share Rails 3 Phusion Passenger Deployment Between HTTP and HTTPS
I have an apache virtual host for port 80 that hosts a rails 3 phusion passenger application. I would like some actions of the application to switch to https (port 443). What is the best way to share one instance of a phusion passenger rails…

mike
- 21
- 2
1
vote
1 answer
Phusion Passenger Throwing Error After Upgrading Gems
I am currently running Redmine, and while updating the gems, Phusion Passenger is throwing errors that it is unable to locate the required libraries. It seems that it keeps looking for the older gems, and not the newer ones.
After updating the…

Phanto
- 1,147
- 5
- 16
- 19
1
vote
1 answer
Do apps running in Phusion Passenger need to reconnect ActiveRecord on fork?
Per this documentation:
http://www.modrails.com/documentation/Users%20guide%20Nginx.html#_smart_spawning_gotcha_1_unintentional_file_descriptor_sharing
Socket connections continue to be shared after a Smart spawn operation. The example listed is for…

esilver
- 27,713
- 23
- 122
- 168
1
vote
1 answer
Why is my unicode not working under passsenger?
This question contains java and ruby.
I have a java program that I make a call to from ruby.
This code works under merb perfectly without any modifications.
This code will work under irb perfectly by setting $KCODE="UTF8".
For the life of me I can…

eyberg
- 3,160
- 5
- 27
- 43
0
votes
1 answer
Rails routes issue using Phusion Passenger/Apache2
Note: App is using Rails 3.2.1 and Ruby 1.9.3.
I'm attempting to set up a rails app using Passenger and Apache 2. When the applications is initially created it loads the default rails page fine using the default index.html file in /public.
The…

Ian
- 188
- 1
- 7
0
votes
1 answer
Passenger not reading .htaccess from Document Root specified

Marc Condon
- 397
- 4
- 12
0
votes
0 answers
Application sent EOF before finishing response headers resulting in 502
We're running 2 Sinatra apps side-by-side on phusion passenger + nginx on an admittedly EOL version of ruby using the Docker image phusion/passenger-ruby27:2.5.0. We're using memcached-backed sessions using dalli
Sometimes a requests from both apps…
0
votes
0 answers
Phusion Passenger + laravel error page show, All other routes are working except root url
We're sorry, but something went wrong.
The issue has been logged for investigation. Please try again later.
Technical details for the administrator of this website Error ID: a4c93c83 Details: Web application could not be started by the Phusion…
0
votes
1 answer
Express.js issues Router not working with phusion passenger Node.js
I have problems with Phusion Passenger and Express.js the router does not work and does not give me any kind of error
Try on a hosting with Node versions 16 and 14, as well as on a dedicated server with Node 16 (Cent OS)
Express version is:…

Jimmy Tools
- 3
- 1
0
votes
1 answer
How to deploy NUXT3 on Plesk using Phusion Passenger
I'm trying to deploy a Nuxt 3 website on Plesk, compiled with yarn build. I therefore have the PUBLIC and SERVER folders, which I have on Plesk hosting.
I have the server.js file which is the following:
`const app =…

Marghen
- 255
- 2
- 6
0
votes
1 answer
How to read environment variable during build time when using baseimage-docker from phusion
I build my docker image using based on phusion/baseimage
The command I run to build my image is:
docker build --build-arg ENV_FILE=.env -t demo:latest .
my .env file looks like this:
VAR1=foo
VAR2=bar
and my dockerfile is like this
FROM…

medBouzid
- 7,484
- 10
- 56
- 86
0
votes
0 answers
Incomplete response received from application - Deployment NodeJS Express & MongoDB Web Application
I built a NodeJS Express & MongoDB web application that is working well locally.
I tried to deploy it.
Eventhough, the application is partially working in production mode, some of its pages are not displaying.
For example, I'm not able to access the…

Sofiane R
- 93
- 10
0
votes
1 answer
What is the difference between DocumentRoot and PassengerAppRoot in this code?
DocumentRoot /home/user/public_html
PassengerStartupFile index.js
PassengerAppType node
PassengerAppRoot /home/user/nodeapp
This how you set up the startup file of the cpanel application manager. I don´t understand the difference and this is my…

dialac
- 21
- 4
0
votes
1 answer
Phusion Passenger not displaying CSS, Javascript files
I have a Phusion install, configured with Rails 3.0.10 and Apache 2, and assets like CSS and Javascript are apparently being served, but not utilized by the browser.
So for instance when I hit the root url, the page renders, but CSS and javascripts…

Allyl Isocyanate
- 13,306
- 17
- 79
- 130