Symptom
Package updates fail with the following error after an attempted ELevate fails, and the system is rolled back to a snapshot.
Error: Invalid version flag: if
Description
When the system is rolled back, the release channel and cloudlinux-release
package remain on CloudLinux 8.
Workaround
- Access the server's command line as the 'root' user via SSH or "Terminal" in WHM.
- Install the CloudLinux 7
cloudlinux-release
package.rpm -Uvh --oldpackage https://repo.cloudlinux.com/cloudlinux/7.9/updates-testing/x86_64/Packages/cloudlinux-release-7.9-2.5.el7.x86_64.rpm
- Change the release channel to CloudLinux 7.
/usr/sbin/cln-switch-channel -t 7 -o -f
- Reregister the server in CLN.
clnreg_ks --force
Comments
0 comments
Article is closed for comments.