Ruby (ea-ruby24-mod_passenger) need upgrade process

Operating System & Version
Cloud Linux 7.9
cPanel & WHM Version
94.0.2

digitaliway

Active Member
Feb 17, 2015
33
3
58
cPanel Access Level
Root Administrator
I am running cloud linux 7.9 and WHM 94.0.2 - ea-ruby24-mod_passenger is installed and is EOL. Do I need to UNINSTALL/REMOVE ea-ruby24-mod_passenger before I install ea-ruby27-mod_passenger ? If so can some one provide the steps to upgrade ea-ruby24-mod_passenger and what commands are needed and in what order?

thank you
 

kodeslogic

Well-Known Member
PartnerNOC
Apr 26, 2020
562
259
138
IN
cPanel Access Level
Root Administrator
You can manage this from Home »Software »EasyApache 4 by toggle switch as marked in the attached screenshot.
If you face any issue with ea-ruby27-mod_passenger you can switch back to the previous one. Hope this helps.
 

Attachments

cPRex

Jurassic Moderator
Staff member
Oct 19, 2014
15,185
2,413
363
cPanel Access Level
Root Administrator
As @kodeslogic mentions, the interface will handle the removal and install of the package to avoid conflicts. That would be the equivalent of an uninstall and then an install on the command line.

For the package itself, that's all that needs to happen, but you'd need to ensure your apps themselves will work with the newer version as well, which isn't something we have any automated tools to check.
 

cPRex

Jurassic Moderator
Staff member
Oct 19, 2014
15,185
2,413
363
cPanel Access Level
Root Administrator
That video was great - thanks so much!

I set up a test server with CentOS 7 and cPanel 94 and I also don't see the 2.7 versions available in the interface. If I run "yum install ea-ruby27-mod_passenger" they do show up, but then they are also installed.

@kodeslogic - did you do anything special to get those both available as listed in your screenshot?
 

digitaliway

Active Member
Feb 17, 2015
33
3
58
cPanel Access Level
Root Administrator
@cPRex thanks for check into this using a test environment. since you were able to install ea-ruby27-mod_passenger are you able to go to EasyApache 4 > customize current package > Ruby via Passenger and DESELECT ea-ruby24-mod_passenger then ENABLE ea-ruby27-mod_passenger ?

if they are both installed what is the command to remove ea-ruby24-mod_passenger if I find that ea-ruby27-mod_passenger is working well?

can both version be installed and not cause issues if I have one deselected?
 

kodeslogic

Well-Known Member
PartnerNOC
Apr 26, 2020
562
259
138
IN
cPanel Access Level
Root Administrator
That video was great - thanks so much!

I set up a test server with CentOS 7 and cPanel 94 and I also don't see the 2.7 versions available in the interface. If I run "yum install ea-ruby27-mod_passenger" they do show up, but then they are also installed.

@kodeslogic - did you do anything special to get those both available as listed in your screenshot?
No, nothing special done from our side. They were already available.
 

cPRex

Jurassic Moderator
Staff member
Oct 19, 2014
15,185
2,413
363
cPanel Access Level
Root Administrator
I did some more research on this and confirmed that we only design the system to have one version installed at a time. If you check out documentation here:


"Your hosting provider must select the Application Manager feature in WHM’s Feature Manager interface and install the one of the following Apache modules:"

The bolding is directly from the documentation, not me.

So, while you can install 2.7, it will be active right then. While you could switch back and forth through EA4 after the install, you can't have both installed and "hot switch" like we do with PHP versions.