ea-ruby27 packages missing on AlmaLinux 9
I was looking to install ea-ruby27-mod_passenger, but it does not appear to be present in the AlmaLinux 9 repos. Other ea-ruby27 packages weren't available when looking at a mirror:
# cat /etc/almalinux-release
AlmaLinux release 9.2 (Turquoise Kodkod)
# cat /usr/local/cpanel/version
11.114.0.8
# yum install ea-ruby27
Last metadata expiration check: 0:14:57 ago on Wed 18 Oct 2023 11:45:02 PM UTC.
Error:
Problem: cannot install the best candidate for the job
- nothing provides ea-ruby27-ruby needed by ea-ruby27-2.7.8-2.2.6.cpanel.x86_64
(try to add '--skip-broken' to skip uninstallable packages or '--nobest' to use not only best candidate packages)
Is this intended?
-
Hey there! This inspired some good discussion this morning! It turns out this is intended, but not in the way you're running into it. There are a few issues we uncovered: -the ruby packages should not be listed at all on AlmaLinux 9 machines and -you should be using the ea-apache24-mod-passenger package without ruby, even though the docs say not to do that: Using Passenger Applications | cPanel & WHM Documentation Can you try installing that instead and let me know if that works well? 0 -
That's also correct. I spoke with the developers about this and in general, it sounds like we're moving away from making Ruby part of the EA system, and just letting people use what they want. The documentation about ea-apache24-mod-passenger only working on certain versions is no longer correct, and that will be updated. But in general, you can just install ea-apache24-mod-passenger, and then configure apps to use the system Ruby that the OS provides. This keeps us from having to update versions that are out of date, and you have fewer dependencies to worry about on the system. Does that help with any confusion around this? 0 -
That is actually great, thank you! We take care of the installations, and you supply the app server. The latest state of things: Passenger: cPanel (ea-ruby27-mod_passenger) Ruby: cPanel (ruby27-*) Node.js: cPanel (nodejs20) Python: OS PYTHON NOTE: AlmaLinux 8.8 installs Python v3.6.8 from its default repository but we can install a newer one manually and instruct the Passenger to use it: echo -n /path/to/python > /etc/cpanel/ea4/passenger.python
The change: Passenger: cPanel (ea-apache24-mod-passenger) Ruby: OS Node.js: OS Python: OS- So we install Ruby, Node.js, and Python ourselves and when creating an app in Application Manager we choose which version from the OS will be used.
- Will you also be removing the Node.js package?
0 -
I haven't heard about anything related to the Node.JS package. It wouldn't surprise me if that also went the same path in the future, though. 0 -
So for now we install Node.js through cPanel (EA4). I don't seem to have ea-apache24-mod-passenger in EA4, how can I get it? 0 -
At this point, you should be able to install that through Yum. 0
Please sign in to leave a comment.
Comments
7 comments