Overview
After a recent CloudLinux update, the Python Selector and other Selector-related features may stop working in cPanel or via the command line.
Administrators may encounter errors such as:
Error in Python application
IndexError: string index out of range
Traceback (most recent call last):
...
In addition, the LVE Manager service (lvemanager) may show as:
-
Not running (
inactive (dead)), or -
Producing JSON-related errors.
Root Cause
The issue is caused by a faulty lvemanager package release:
lvemanager.noarch 7.11.24-1.el8.cloudlinux
This version is missing critical configuration and cache files, including:
-
/usr/share/l.v.e-manager/lvemanager/cache/users.json -
/usr/share/l.v.e-manager/panelless-version/lvemanager/config.json
Because of these missing files, Python Selector and other services depending on lvemanager cannot function properly.
Diagnosis
-
Check the status of the LVE Manager service:
systemctl status lvemanagerExpected output:
inactive (dead) -
Check for missing cache or configuration files:
ls /usr/share/l.v.e-manager/lvemanager/cache/Output will likely show that the directory does not exist.
-
Confirm the installed package version:
yum --enablerepo=* list lvemanager --showduplicates | grep 7.11.24Example output:
lvemanager.noarch 7.11.24-1.el8.cloudlinux cloudlinux-updates-testing
This confirms the server is running the problematic version from the cloudlinux-updates-testing repository.
Solution
Step 1 — Remove the broken package
yum remove lvemanager -y
Step 2 — Install the stable version
yum install lvemanager-7.11.23 --enablerepo=cloudlinux-x86_64-server-8 -y
If needed, the RPM can also be downloaded manually from a working server or a CloudLinux mirror.
Step 3 — Restart services
systemctl restart lvemanager
cagefsctl --force-update
Verification
After completing the steps above:
-
The
lvemanagerservice should start normally:systemctl status lvemanager -
Python Selector should function correctly in both cPanel and the CLI.
-
The
IndexError: string index out of rangewill no longer appear.
Recommendations
-
Do not enable or use the
cloudlinux-updates-testingrepository on production servers unless specifically instructed. -
Test package updates in a staging environment before applying them to production systems.
-
Refer to the CloudLinux changelog for details on recent releases.
Affected version: lvemanager-7.11.24-1.el8.cloudlinux
Resolved by: Downgrading to lvemanager-7.11.23
