In Progress CPANEL-42128 - cPanel ELevate from upgrade to AlmaLinux 8

celiac101

Well-Known Member
Dec 19, 2012
151
6
68
cPanel Access Level
Website Owner
I got the warning below regarding my YUM repo. I believe I know how to fix this, and turn off a YUM repo on my system that is likely causing this, however, my bigger concern is that I did not realize that having auto updates on would also automatically upgrade my current CentOS v7.9.2009 STANDARD to AlmaLinux 8. This is an operating system upgrade, which seems, at least to me, to be a bit radical to do in an automated fashion, without supervision.

I thought CentOS v7 has 2 years left before it is no longer supported? Is there a reason why cPanel is trying to run this upgrade now? Is this upgrade no big deal, and could it cause my server issues?



WARNING:
The system detected the following issues which would prevent cPanel ELevate from upgrading the system to AlmaLinux 8:

One or more enabled YUM repo are currently unsupported. You should disable these repositories and remove packages installed from them before continuing the update. Consider reporting this limitation to Issues · cpanel/elevate
System is not up to date
This script (version 2) does not appear to be the newest available release (4). Run this script with the --update option: /scripts/elevate-cpanel --update Pass the --skip-elevate-version-check flag to skip this check.
 
Last edited by a moderator:

celiac101

Well-Known Member
Dec 19, 2012
151
6
68
cPanel Access Level
Website Owner
This was an email from my cPanel server with the subject " New Security Advisor notifications with High importance."

The language in the email definitely looks like it was some sort of failed automatic update, and it is now being sent to me daily at 4:30AM:

Type:
Info

Module:
Elevate

Message:
The system detected the following issues which would prevent cPanel ELevate from upgrading the system to AlmaLinux 8:
  • One or more enabled YUM repo are currently unsupported. You should disable these repositories and remove packages installed from them before continuing the update. Consider reporting this limitation to Issues · cpanel/elevate
  • This script (version 2) does not appear to be the newest available release (4). Run this script with the --update option: /scripts/elevate-cpanel --update Pass the --skip-elevate-version-check flag to skip this check.
 

cPRex

Jurassic Moderator
Staff member
Oct 19, 2014
16,505
2,605
363
cPanel Access Level
Root Administrator
Thanks for the additional details. We have a case at CPANEL-42128 to keep that ELevate check from running automatically, but for now you can just ignore this warning. I'll be sure to post an update once I have more details.

But I do want to be clear - this is just a check of the script that *could* update your OS, and no attempted upgrade is taking place.
 
  • Like
Reactions: celiac101

celiac101

Well-Known Member
Dec 19, 2012
151
6
68
cPanel Access Level
Website Owner
Thank you for the additional info, and I'm glad my server is not trying to do this update unattended.

Can I ask how such updates are going? In general are most upgrades from CentOS v7 to AlmaLinux 8 going well, and would I notice anything different after such an upgrade? I really have no idea what such an upgrade would mean for my cPanel server, and don't know what modules would work, and which ones wouldn't.
 

cPRex

Jurassic Moderator
Staff member
Oct 19, 2014
16,505
2,605
363
cPanel Access Level
Root Administrator
It really depends - I've heard mixed reviews from people. Some have no issues, some run into problems. The more customizations your machine has, the more likely there are to be issues. It's still important to note that ELevate is still experimental.

I'm sorry I don't have a better answer for that one. I'd hate to tell you "it's great" and then see you run into problems, but some people have used it without issue.
 

cPSloaneB

Developer I
Staff member
Oct 2, 2012
20
6
128
cPanel Access Level
Root Administrator
Additional details:

Currently, the ELevate assessor reports issues detected at the INFO level of severity in cPanel version 106. This should not be sufficient on its own to cause an iContact notification to be issued. If other assessors reported something at the WARNING/warn level or the ERROR/bad level, that is sufficient to cause a notification to be issued, and the ELevate information is likely being included incidentally. On the other hand, if the Security Advisor issues a notification via iContact on 106 or 108, and ELevate is the only item included in the report, that is likely to be a bug.

(Side info: We had planned to raise the severity to WARN in 108, but this never happened. We currently plan to raise the severity to ERROR at some point during the release of 110, since this is intended to be the last version of cPanel to support CentOS 7.)

Additionally, the ELevate assessor in the Security Advisor should never attempt to run the upgrade on its own. The --check flag passed to the upgrade script only performs a non-destructive pre-upgrade check, while the --start flag is required to get the script to begin the upgrade process proper.
 
  • Like
Reactions: cPRex

bfogel

Member
Feb 5, 2023
5
1
1
Seattle
cPanel Access Level
Root Administrator
My host (DigitalOcean) makes it impossible to elevate my Centos 7 system to AlmaLinux. Can I disable the elevate assessor and make these warnings go away, since I know I'll never go that route?
 

eugenevdm.host

Well-Known Member
Oct 21, 2019
90
14
8
Cape Town
cPanel Access Level
DataCenter Provider
My host (DigitalOcean) makes it impossible to elevate my Centos 7 system to AlmaLinux. Can I disable the elevate assessor and make these warnings go away, since I know I'll never go that route?
Hi there, why do you say DigitalOcean makes it impossible? I just tried to Elevate a CentOS 7.x server to AlmaLinux 8.x and it appears completely broken down/gone at DigitalOcean. I am curious about which warning signs I missed.
 

bfogel

Member
Feb 5, 2023
5
1
1
Seattle
cPanel Access Level
Root Administrator
I asked cPanel directly if DigitalOcean binaries would interfere with the conversion to AlmaLinux and I was told "yes". I also asked DigitalOcean whether I could run a Droplet without their binaries and was told "no". Did you try the conversion? And now you can't access your Droplet?
 

eugenevdm.host

Well-Known Member
Oct 21, 2019
90
14
8
Cape Town
cPanel Access Level
DataCenter Provider
I've tried elevating two servers at DigitalOcean. The one worked with panel beating and the other is failing. I've created a forum post to detail the experience, but for now here I am quoting verbatim from DigitalOcean support after I thought I lost my first server (which didn't have snapshots):

An in-place upgrade of your CentOS distribution to AlmaLinux is also not something we recommend or can support. Instead, we would recommend that you deploy a new AlmaLinux Droplet and migrate your data.
The post where I detail the experience:
 
  • Like
Reactions: cPRex