Question
Can I upgrade CentOS 7 to CentOS 8, AlmaLinux 8, or CloudLinux 8 on a cPanel & WHM server?
Answer
There is no method to upgrade from EL 7 to EL 8 variants supported by the cPanel & WHM software. We advise migrating to a new server if upgrading the operating system is necessary.
There is currently an experimental option you can attempt to utilize, but cPanel Technical Support is limited in their ability to support experimental software. You should instead utilize the Github Issues page.
We strongly recommend using the Transfer Tool to move to a new server:
How do I Move All cPanel Accounts from One Server to Another?
Please also keep in mind that CentOS 8 has reached its end-of-life status.
When is support ending for the CentOS versions?
You should instead use AlmaLinux 8, CloudLinux 8, or Ubuntu 20.04 for new installations.