Issue
404 error when try to get into LVE Manager
Getting error when trying to yum update lvemanager
or execute
/usr/share/l.v.e-manager/cpanel/extension/install_lve_extension.py
CRITICAL: Unhandled exception
Traceback (most recent call last):
File "/usr/share/l.v.e-manager/cpanel/extension/install_lve_extension.py", line 69, in <module>
main()
File "/opt/alt/python37/lib/python3.7/site-packages/clcommon/lib/cledition.py", line 292, in inner
return f(*args, **kwargs)
File "/usr/share/l.v.e-manager/cpanel/extension/install_lve_extension.py", line 46, in main
if detect.is_cpanel() and check_cpanel_version('63.9999'):
File "/usr/share/l.v.e-manager/cpanel/extension/clhooklib.py", line 39, in check_cpanel_version
if StrictVersion(detect.CP_VERSION) >= StrictVersion(version):
File "/opt/alt/python37/lib64/python3.7/distutils/version.py", line 40, in __init__
self.parse(vstring)
File "/opt/alt/python37/lib64/python3.7/distutils/version.py", line 137, in parse
raise ValueError("invalid version number '%s'" % vstring)
ValueError: invalid version number 'none'
Environment
- CloudLinux OS
- cPanel
- LVE Manager
Solution
Check panel version:
# cldetect --detect-cp
In case the cPanel version is CentOS Web Panel, you need to move the panel directory to another location and reinstall LVE Manager.
# cldetect --detect-cp
CentOS_WEB_Panel,none
# mv /usr/local/cwpsrv/ /root
# yum reinstall lvemanager
Cause
When the installation script checks the version of the control panel, it detects a directory that does not match the supported panels and returns incorrect data.
Comments
0 comments
Please sign in to leave a comment.