Questions tagged [passenger-nginx]
31 questions
                    
                    7
                    
            votes
                
                1 answer
            
        Is Passenger Deprecated for Nginx versions above 1.14?
I updated nginx from version 1.14 to 1.18 (Ubuntu) on Ubuntu 18.04.
Doing so appeared to break passenger.  So I uninstalled and attempted to reinstall the Open Source Passenger version via the Passenger installation Ubuntu 18.04 instructions.
I got…
        
        Neil
        
- 4,578
 - 14
 - 70
 - 155
 
                    4
                    
            votes
                
                3 answers
            
        CORS Issue after latest Chrome 85 Update
I am a very new user here so, apologies in advance if I break any rule. Here is the problem I am facing and need suggestions please.
I have a Chrome extension which works with Gmail & consumes APIs from my web server running on nginx through Phusion…
        
        indevruby
        
- 49
 - 1
 - 1
 - 2
 
                    3
                    
            votes
                
                1 answer
            
        Passenger needs execute privileges for other users despite user sandboxing
I have set up a system to use NGINX and Passenger. I used RVM single-user installation for Ruby. In the NGINX file, I specified that Passenger should run as the user that owns the application directory and its subdirectories and files. Everything…
        
        dcgenjin
        
- 1,108
 - 3
 - 12
 - 25
 
                    3
                    
            votes
                
                0 answers
            
        Can't access ruby server deployed with passenger
I developed a Ruby website and in order to deploy it, I followed this tutorial. Everything went well, but I skipped all user switching operations because I really didn't see the point of it, and to be honest maybe this is the problem.
My problem is…
        
        baldash
        
- 307
 - 5
 - 17
 
                    3
                    
            votes
                
                0 answers
            
        Could not spawn process for application NGINX+ PASSENGER ERROR
Hi I'm using Nginx + Passenger
I'm stuck in the issue.
[ E 2020-09-20 09:32:51.5408 14555/To age/Cor/App/Implementation.cpp:221 ]: Could not spawn process for application /home/xxxxxxx: A timeout occurred while starting a preloader process.
  Error…
        
        Anand
        
- 6,457
 - 3
 - 12
 - 26
 
                    2
                    
            votes
                
                0 answers
            
        Multiple Passenger Installations
How can I find which passenger installation is bad and delete it?  Passenger troubleshooting has resulted in a warning of multiple installations, but the feedback integrates both of them somehow.  Latest versions on Big-Sur.
Passenger installation…
        
        Rich_F
        
- 1,830
 - 3
 - 24
 - 45
 
                    2
                    
            votes
                
                2 answers
            
        Nginx trying to open passengerfile.json which doen't exist
I am trying to deploy my rails app(API only) using capistrano to the centos server with Nginx and passenger. When I try to hit the rails application, it says
Error opening '/home/user/app/current/Passengerfile.json' for reading: Permission denied…
        
        Bishal Shrestha
        
- 36
 - 1
 - 4
 
                    1
                    
            vote
                
                1 answer
            
        Ubuntu 20.04 + Nginix 1.20.2 + Passenger 6.0.12 dynamic module + Rails
summary of issue: after compiling nginx/dynamic passenger module by hand, I can't tell if passenger is starting up or what the problem is serving my application, but no matter what page I try I get 403 forbidden or 404 not found.
details: I had a…
        
        Eli R.
        
- 188
 - 11
 
                    1
                    
            vote
                
                1 answer
            
        Trying to get nginx-passenger to use asdf installed nodejs rather than system wide install
I am using asdf to install ruby for a rails app. I am using nginx and passenger to serve the pages. Passenger recognizes the asdf installation of ruby, but not nodejs.
$ which node
/home/site/.asdf/shims/node
$ which…
        
        smilingfrog
        
- 376
 - 3
 - 14
 
                    1
                    
            vote
                
                1 answer
            
        webApp not loading Passenger + nginx + ruby 2.6.8 + rails 6.0.4 @digitalOcean
I recently upgrade ruby version and Rails version to 2.6.8 and 6.0.4 respectively, the app is running fine when I run it through "rails start" command, but when we invoke it through passenger through nginx then the app does not load and throws…
        
        Praveen Agarwal
        
- 41
 - 8
 
                    1
                    
            vote
                
                1 answer
            
        Setting passenger_nodejs do not work in Nginx server
I have installed a rails app with ginx/1.14.0 and passenger/6.0.6 in a Ubuntu 18.04.5. (nodejs installed with apt install nodejs). But I have to change nodejs and install with nvm. The rails app was down and I got this in the log:
... The…
        
        inye
        
- 1,786
 - 1
 - 23
 - 31
 
                    1
                    
            vote
                
                2 answers
            
        No such middleware to insert before: ActionDispatch::Static (RuntimeError) ONLY when using Nginx
I am trying to use nginx with passenger in a docker container.
If I start the rails app using passenger standalone, it will work properly:
bundle exec passenger start --engine=builtin --max-pool-size=6 --min-instances=3
However, if I tried to use…
        
        simo
        
- 23,342
 - 38
 - 121
 - 218
 
                    0
                    
            votes
                
                0 answers
            
        Passenger taking 100% of CPU, "This website is under heavy load (queue full)"
I have a production rails 6.0.3, ruby 2.6.3 application with nginx and passenger. The app ran fine for ages until recently, the server began getting it's CPU maxed out. I used htop to see what is happening and I see several processes that are…
        
        John Coday
        
- 33
 - 3
 
                    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
            
        passenger-install-nginx-module configuration
It seems like passenger-install-nginx-module will create an nginx binary in /opt/nginx and from there, starting/stopping it is a very manual process.
Is there a straightforward way to configure it for /etc/init.d/ or do I need to write those scripts…
        
        the_coder
        
- 55
 - 7