wordpress toolkit under 92.0.3 fails reading installed wordpress
Hello
I"ve upgraded to cpanel 92.0.3 in few servers without issues for now.
BUt i"ve updated a cloudlinux server, and when i go to "Wordpress toolkit" from WHM and the script try to check the sites with Wordpress installed i get ALL are broken (that is nOT true), all them with the same error :
Fatal error: require(): Failed opening required '/usr/local/cpanel/3rdparty/wp-toolkit/plib/vendor/wp-cli/wp-cli/php/boot-fs.php' (include_path='.:/opt/alt/php74/usr/share/pear') in Command line code on line 1
Any help?
Thanks
Fabian
-
Hello there! WPT is still very to new to cPanel, and I haven't come across this error on my end just yet. It might be best to open a ticket because if there is an issue with WPT and CloudLinux systems we'd like to identify that and get it resolved. 0 -
Hello there! WPT is still very to new to cPanel, and I haven't come across this error on my end just yet. It might be best to open a ticket because if there is an issue with WPT and CloudLinux systems we'd like to identify that and get it resolved.
Thanks cPRex I opened a ticket in Cloudlinux now.. as i think is something in that end. For some reason in any CL server i manage the folder /opt/alt/php74/usr/share/pear is not exists (but exists the folder in /opt/alt/php73/usr/share/pear, /opt/alt/php72/usr/share/pear /opt/alt/php71/usr/share/pear, etc.) I will wait untilthey can see the issue, if they can fix it i will post the solution here. If not, i will open a ticket here in cPanel. Thanks Fabian0 -
That sounds good! 0 -
That sounds good!
DONE! Wordpress Toolkit under Cloudlinux working perfect now. The issue was pear not installed under alt-php74 in any CL server. very easy fix :yum install alt-php74-pear
Thanks0 -
Great - I'm glad that's all that was required to get that working! 0 -
The other option which worked for me was reenable Apache module mod_ruid2, and disable Cloudlinux Cage, then reenable cage once finished installing. For future install of wp i will monitor for any problems with the yum install alt-php74-pear installed. This might fix the issue for all. 0 -
I confirm it is cagefs, neither php install and dependencies nor mod_ruid2 disabled allow WP to be installed... maybe there is a fix for CageFS on latest cpanel? - im running v94.02 0 -
@CloudSecuritySol - you are seeing that with CageFS enabled you aren't able to install WordPress using the WordPress Toolkit tool? Is that correct? 0 -
I am getting this issue as well too. As CloudSecuritySol pointed out, this has to do with Cloudlinux it seems. alt-php74-pear is installed correctly. I get this error in wp-toolkit: Scanning for WordPress websites was performed with errors: Failed to register instance at '/home/domain/public_html': Fatal error: require(): Failed opening required '/usr/local/cpanel/3rdparty/wp-toolkit/plib/vendor/wp-cli/wpt-wp-cli.php' (include_path='.:/opt/alt/php74/usr/share/pear') in Command line code on line 1 Not sure how to fix it running Cloudlinux 8 with cpanel 94 0 -
Hello @blue928 ! Can you confirm if WPTK installs Wordpress normally, if CageFS is disabled for the account? Does forcing an update of the CageFS help? cagefsctl --force-update
0 -
I had this same problem, cPanel already posted a solution and it worked fine for me. The following command will force the WordPress Toolkit installation to detect CageFS and add the missing mount points to the cagefs.mp configuration file: wp-toolkit --update-server-info
0
Please sign in to leave a comment.
Comments
11 comments