Issue
- Unable to modify or remove account in cPanel. The following error can be seen in
/usr/local/cpanel/logs/error_log
File "/opt/cloudlinux/venv/lib64/python3.11/site-packages/clcommon/public_hooks/lib/__init__.py", line 33, in import_file
fp, pathname, description = imp.find_module(name, [LISTENERS_DIRECTORY])
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/alt/python311/lib64/python3.11/imp.py", line 297, in find_module
raise ImportError(_ERR_MSG.format(name), name=name)
ImportError: No module named 'wpos_modify_user_hook' - Reinstall AccelerateWP did not help
Environment
- CloudLinux Shared
- AccelerateWP
Solution
- If CloudLinux Shared Pro is installed, ensure that the symlink in
/usr/share/cloudlinux/hooks/listeners/
is not broken and points to/opt/cloudlinux/venv/lib/python3.11/site-packages/lve_utils/hooks/sync_map_hook.py
- Otherwise, if CloudLinux Shared, not Pro, is installed then remove the AccelerateWP package and
/usr/share/cloudlinux/hooks/listeners/wpos_modify_user_hook.py
Cause
Broken link to the hook
Comments
0 comments
Please sign in to leave a comment.