Skip to main content

Ruby (ea-ruby24-mod_passenger) need upgrade process

Comments

9 comments

  • kodeslogic
    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.
    0
  • cPRex Jurassic Moderator
    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.
    0
  • digitaliway
    thank you for the reply to this. When I go to Home "Software "EasyApache 4 I do not see ea-ruby27-mod_passenger do I need to install ea-ruby27-mod_passenger first? here is a video of what I see in the easy apache interface: Screen Recording 2021-03-03 at 05.18.47.38 PM
    0
  • cPRex Jurassic Moderator
    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?
    0
  • digitaliway
    @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?
    0
  • cPRex Jurassic Moderator
    That's the thing - I was *not* able to choose them in the EA4 interface, so I'm not sure how to get the server configured in the way that @kodeslogic's screenshot showed.
    0
  • kodeslogic
    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.
    0
  • cPRex Jurassic Moderator
    Interesting - let me look into this a bit more and I'll send you an update soon.
    0
  • cPRex Jurassic Moderator
    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: must select the Application Manager feature in WHM"s 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.
    0

Please sign in to leave a comment.