Git Product home page Git Product logo

Comments (6)

daBee avatar daBee commented on June 20, 2024

Now that I have passenger.conf loading, its first directive throws an error:

nginx: [emerg] unknown directive "passenger_root" in /etc/nginx/conf.d/passenger.conf:1

Here is that file:

passenger_root /usr/share/ruby/vendor_ruby/phusion_passenger/locations.ini;
passenger_ruby /home/user3/.rbenv/shims/ruby;
passenger_instance_registry_dir /var/run/passenger-instreg;

Also this file does not exist:

load_module /usr/lib64/nginx/modules/ngx_http_passenger_module.so;

from passenger.

CamJN avatar CamJN commented on June 20, 2024

Is the passenger Nginx module package installed or just the passenger package?

from passenger.

daBee avatar daBee commented on June 20, 2024

It is not installed. But...

[Mon Sep 04 11:38:13 user3@server_f ~/sites/example] sudo dnf install nginx-mod-http-passenger -y
Last metadata expiration check: 2:48:52 ago on Mon Sep  4 08:49:34 2023.
Error:
 Problem: package nginx-mod-http-passenger-6.0.18-1.el9.x86_64 requires nginx = 1:1.22.1, but none of the providers can be installed
  - cannot install the best candidate for the job
  - package nginx-1:1.22.1-3.module_el9.2.0+20+2a475c1b.alma.x86_64 is filtered out by modular filtering
  - package nginx-1:1.22.1-3.module_el9.2.0+35+933e48af.alma.1.x86_64 is filtered out by modular filtering
(try to add '--skip-broken' to skip uninstallable packages or '--nobest' to use not only best candidate packages)
nginx version: nginx/1.20.1

from passenger.

CamJN avatar CamJN commented on June 20, 2024

That's due to a change to which nginx package we build against. Our users were very insistent that they didn't like us building against the default nginx, and would prefer the newest possible. The steps to migrate are here: #2485

from passenger.

daBee avatar daBee commented on June 20, 2024
[Mon Sep 04 11:47:33 user3@server_f ~/sites/example] sudo yum module enable -y nginx:$(sudo yum module list nginx | cut -d ' ' -f 2 | grep -Ee '^[0-9\.]+$' | sort -V | tail -1)
Last metadata expiration check: 2:58:16 ago on Mon Sep  4 08:49:34 2023.
Error: Problems in request:
missing groups or modules: nginx:9

Would you like me to post this on that other issue?

from passenger.

CamJN avatar CamJN commented on June 20, 2024

Sure, that's a better place for discussing issues with migrating

from passenger.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.