Issue
Enabling AccelerateWP for domain.tld through the "Smart Advice" does not work.
In the /home/USERNAME/.clwpos/main.log, there is the following:
clwpos.user.config.ConfigError: Wrong wordpress path '%(wp_path)s' passed 2023-01-27 20:11:27,496: (clwpos.utils) [ERROR] Wrong wordpress path '%(wp_path)s' passed Traceback (most recent call last): File "/opt/alt/python37/lib/python3.7/site-packages/clwpos/utils.py", line 93, in func_wrapper return func(self, *args, **kwargs) File "/opt/alt/python37/lib/python3.7/site-packages/clwpos/user/wpos_user.py", line 193, in run result = getattr(self, self._opts.command.replace("-", "_"))() File "/opt/alt/python37/lib/python3.7/site-packages/clwpos/utils.py", line 404, in wrapper return func(*args, **kwargs) File "/opt/alt/python37/lib/python3.7/site-packages/clwpos/user/progress_check.py", line 182, in wrapper return func(self, *args, **kwargs) File "/opt/alt/python37/lib/python3.7/site-packages/clwpos/user/wpos_user.py", line 706, in enable is_module_enabled = self._is_enabled(self._opts.domain, wp_path, feature_name) File "/opt/alt/python37/lib/python3.7/site-packages/clwpos/user/wpos_user.py", line 534, in _is_enabled return uc.is_module_enabled(domain, wp_path, module) and module in get_allowed_modules(user_uid()) File "/opt/alt/python37/lib/python3.7/site-packages/clwpos/user/config.py", line 146, in is_module_enabled context={"wp_path": wp_path} clwpos.user.config.ConfigError: Wrong wordpress path '%(wp_path)s' passed
CLI command does not work:
# su -s /bin/bash USERNAME
$ cloudlinux-awp-user enable --domain "domain.tld" --wp-path "/home/USERNAME/public_html/" --feature=object_cache --- Logging error --- Traceback (most recent call last): File "/opt/alt/python37/lib/python3.7/site-packages/clwpos/utils.py", line 93, in func_wrapper return func(self, *args, **kwargs) File "/opt/alt/python37/lib/python3.7/site-packages/clwpos/user/wpos_user.py", line 193, in run result = getattr(self, self._opts.command.replace("-", "_"))() File "/opt/alt/python37/lib/python3.7/site-packages/clwpos/utils.py", line 404, in wrapper return func(*args, **kwargs) File "/opt/alt/python37/lib/python3.7/site-packages/clwpos/user/progress_check.py", line 182, in wrapper return func(self, *args, **kwargs) File "/opt/alt/python37/lib/python3.7/site-packages/clwpos/user/wpos_user.py", line 706, in enable is_module_enabled = self._is_enabled(self._opts.domain, wp_path, feature_name) File "/opt/alt/python37/lib/python3.7/site-packages/clwpos/user/wpos_user.py", line 534, in _is_enabled return uc.is_module_enabled(domain, wp_path, module) and module in get_allowed_modules(user_uid()) File "/opt/alt/python37/lib/python3.7/site-packages/clwpos/user/config.py", line 146, in is_module_enabled context={"wp_path": wp_path} clwpos.user.config.ConfigError: Wrong wordpress path '%(wp_path)s' passed During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/opt/alt/python37/lib64/python3.7/logging/handlers.py", line 934, in emit self.socket.send(msg) OSError: [Errno 9] Bad file descriptor During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/opt/alt/python37/lib64/python3.7/logging/handlers.py", line 855, in _connect_unixsocket self.socket.connect(address) PermissionError: [Errno 13] Permission denied During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/opt/alt/python37/lib64/python3.7/logging/handlers.py", line 937, in emit self._connect_unixsocket(self.address) File "/opt/alt/python37/lib64/python3.7/logging/handlers.py", line 866, in _connect_unixsocket self.socket.connect(address) PermissionError: [Errno 13] Permission denied Call stack: File "/usr/bin/cloudlinux-awp-user", line 34, in <module> sys.exit(main()) File "/usr/bin/cloudlinux-awp-user", line 30, in main return cll.run(sys.argv[1:]) File "/opt/alt/python37/lib/python3.7/site-packages/clwpos/utils.py", line 104, in func_wrapper logger.exception(e) Message: ConfigError() Arguments: () { "context": { "wp_path": "home/USERNAME/public_html" }, "result": "Wrong wordpress path '%(wp_path)s' passed", "timestamp": 1674850292.5090072 }
Environment
- CloudLinux Shared Pro
Solution
The solution is in progress, the bug ID is AWP-352.
Please check our changelog tool to have the latest news about software updates:
https://changelog.cloudlinux.com/
Comments
0 comments
Please sign in to leave a comment.