May I know the error ? One thing I will say is you may need to readd centos repo after cloudlinux removal
"At the end, the script will provide instructions on how to finish the conversion back to CentOS. That will require removal of CloudLinux kernel (manual step), and installation of CentOS...