Issue Summary
After a recent CloudLinux update, Python Selector and other related features stopped working. Attempting to use Python Selector in cPanel or CLI produced this error:
Meanwhile, the lvemanager service was either:
-
Not running (
inactive (dead)), or -
Throwing JSON-related errors.
Root Cause
The issue was introduced by a buggy release of lvemanager — specifically:
In this version:
-
Critical configuration or cache files were missing or mislocated, such as:
-
/usr/share/l.v.e-manager/lvemanager/cache/users.json -
/usr/share/l.v.e-manager/panelless-version/lvemanager/config.json
-
-
The Python Selector could not function due to broken internal state or missing cache.
-
Services relying on
lvemanagerlogic, like Selector, silently failed or produced Python exceptions.
Diagnosis Steps
-
Checked the LVE Manager service:
Output showed:
-
Looked for JSON/config files:
Result:
-
Checked package availability:
Output:
This confirmed that the problematic version came from the
cloudlinux-updates-testingrepo.
Solution (Fix)
-
Removed broken version:
-
Installed stable version (from working server or previous release):
(You can also download the RPM manually from another server or CloudLinux repo mirror)
-
Restarted related services:
-
Python Selector started working again, and the “IndexError” was gone.
Final Status
-
✅ Python Selector working
-
✅ lvemanager service running
-
✅ SSH access fixed
-
✅ No
IndexErrorin Python applications
Recommendation
Avoid enabling the cloudlinux-updates-testing repo on production unless you’re testing in a staging environment. Stick to stable releases unless directed by CloudLinux support.