elevate-cpanel Blocker
cPanel version: 128.0.9 / AlmaLinux v8.10.0 STANDARD
When I run the the following: /scripts/elevate-cpanel --check
* 2025-06-07 21:03:24 [INFO] Checking EasyApache profile compatibility with AlmaLinux 9.
* 2025-06-07 21:03:24 [INFO] Running: /usr/local/bin/ea_current_to_profile --target-os=CentOS_9 --output=/tmp/QH933f7eg2/ea_profile.json
* 2025-06-07 21:03:24 [WARN] Unknown error while checking blockers: Unable to backup EA4 profile. Failure from /usr/local/bin/ea_current_to_profile --target-os=CentOS_9 --output=/tmp/QH933f7eg2/ea_profile.json at /scripts/elevate-cpanel line 9290.
* 2025-06-07 21:03:24 [WARN] Please fix the detected issues before performing the elevation process.
Did some troubleshooting using Gemini and it seems to suggest an outdated ea_current_to_profile script
Missing AlmaLinux_9 in %os_type: The %os_type hash, which defines which OS versions use rpm or deb packages, explicitly lists CentOS_7, CentOS_8, CloudLinux_8, and xUbuntu_20.04. It does not contain AlmaLinux_9 (or AlmaLinux_8, RockyLinux_8, RockyLinux_9, CloudLinux_9, etc.). This is an immediate red flag for an ELevate-capable version.
code snippet of ea_current_to_profile (last changed May 10, 2023)
our %os_type = (
"CentOS_7" => "rpm",
"CentOS_8" => "rpm",
"CloudLinux_8" => "rpm",
"xUbuntu_20.04" => "deb",
);# ... later in the script ...
# We need to get OS aliases
my %ea4_metainfo = %{ Cpanel::JSON::LoadFile($ea4_metainfo_file) };
my %obs_project_aliases = %{ $ea4_metainfo{obs_project_aliases} };
die "obs_project_aliases is empty" if ( !%obs_project_aliases );# ... later, at the line where it dies ...
die "Not a valid OS ($target_os)" if !exists $obs_project_aliases{$target_os};
-
Any help to fix would be appreciated. Thanks!
0 -
hm. Almalinux 9 only support PHP 8+ versions. Make sure in your EA profile you only have these installed.
Andrew N. - cPanel Plesk VMWare Certified Professional
Do you need immediate assistance? 20 minutes response time!* Open a ticket
EmergencySupport - Professional Server Management and One-time Services0 -
Hello Andrew,
I only have PHP 8.3 and 8.4 installed in the active profile.
0 -
Can you try to run that command manually on the system to see if you receive any errors? This will work:
/usr/local/bin/ea_current_to_profile --target-os=CentOS_9 --output=test-package.json
0 -
This is what I got.
[root@server ~]# /usr/local/bin/ea_current_to_profile --target-os=CentOS_9 --output=test-package.json
Not a valid OS (CentOS_9) at /usr/local/bin/ea_current_to_profile line 95.
[root@server ~]#0 -
That's interesting, but we can check the OS list the way the script does.
Does this give any output at all?
grep "CentOS_9" /etc/cpanel/ea4/ea4-metainfo.json
0 -
This is what I got.
[root@server ~]# grep "CentOS_9" /etc/cpanel/ea4/ea4-metainfo.json
"AlmaLinux_9" : "CentOS_9",
[root@server ~]#0 -
I added that line in the json file after I got the blocker.
0 -
Alright - can you edit the file, and add the following line just above that existing AlmaLinux line you pasted?
"CentOS_9" : "CentOS_9",
then re-run this:
/usr/local/bin/ea_current_to_profile --target-os=CentOS_9 --output=test-package.json
and see if that works now.
0 -
This is what I got:
[root@server ~]# /usr/local/bin/ea_current_to_profile --target-os=CentOS_9 --output=test-package.json
Use of uninitialized value $target_os_pkgmgr in string ne at /usr/local/bin/ea_current_to_profile line 101.
Moving from your current OS to CentOS_9 is not supported
[root@server ~]#0 -
There seem to be too many missing things in the EA profile to get this to work. Could you just try and install a harmless PHP module in EasyApache so it has to perform an update of those files, and then try the command again? If that doesn't work, it would be best to create a ticket or reach out to our elevate channel in Discord at https://discord.gg/HYAEXQjk
0 -
Do you mean a PHP extension?
0 -
Yes, anything from any version, just to get EA to refresh some data.
0 -
Ok, i added php84-php-tidy and provisioned.
re-ran and got the same message. :(
0 -
I would say a ticket is the best option as this is one of those basic "it should just work" checks for ELevate.
0 -
OK, I will open a ticket.
Also, I just notices that this is enabled. Would this cause any issues?
mod_mpm_worker - 2.4.57-2.el8.cloudlinux
0 -
That wouldn't be related to the ELevate issues, no.
0 -
OK. Appreciate your help.
0 -
What about just a basic "yum update" on the server - does that help or give any errors?
0 -
I've done that. no errors, and also ran
/usr/local/cpanel/scripts/upcp
0 -
Alright - a ticket it is!
0 -
Keep us updated please. I'm fancy to know what the solution was!
Andrew N. - cPanel Plesk VMWare Certified Professional
Do you need immediate assistance? 20 minutes response time!* Open a ticket
EmergencySupport - Professional Server Management and One-time Services0 -
cPRex, thanks again for your help. After some thought, I'm making a significant change to my hosting setup. My current dedicated server hosts a single, very active, almost 15-year-old site with a database size exceeding 900GB. Given the risks involved, an in-place upgrade is no longer an option I'm comfortable with.
A major concern has also been the increasing cost of cPanel, especially its licensing restrictions that favor cloud or shared hosting for a cheaper rate. I find it illogical to pay a premium for a cPanel bare metal license that supports up to 100 sites when I only need it for one, or possibly two if I include a development environment. At 65.00 per month, these costs are substantial.
To address this, I've acquired a new dedicated server with Ubuntu 24.04 LTS from the same host. I've also switched to DirectAdmin Personal Plus, which costs 5.00 per month and supports two accounts and up to 20 domains, perfectly accommodating my main site and a development/test environment.
With that said, if cPanel stops dictating what kind of hosting I can use for my website, and allows a solo license to be used on a dedicated server with 1 website, I will consider coming back.
0 -
Hi Andrew. This issue will probably come up again.
0 -
How come my post above is pending approval but the one I my right after it is not? Did I trigger cPanel's censor talking about price or another panel or price?
0 -
tommyxv - I believe it's because of the multiple dollar signs triggering the spam filter like you're trying to sell something. I've approved that now.
0 -
Ahh, that makes sense.
0
Please sign in to leave a comment.
Comments
27 comments