• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • We are looking for U.S.-based freelancer or agency working with SEO or WordPress for a quick 30-min interviews to gather feedback on XOVI, a successful German SEO tool we’re looking to launch in the U.S.
    If you qualify and participate, you’ll receive a $30 Amazon gift card as a thank-you. Please apply here. Thanks for helping shape a better SEO product for agencies!
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

WP-CLI command has not finished working in 60 seconds

klowet

Basic Pleskian
Hello

On some test sites on Plesk 18.0.19, I've installed a few WordPress websites with WordPress Toolkit. Each few days (and sometimes multiple times a day), I'm getting the error below and are the WordPress instances quarantined. The blog itself is still online, but in Plesk it is quarantined with the known skull.

Code:
WordPress Toolkit was not able to finish running an operation on this site in 60 seconds, so the operation was terminated. This could mean that your WordPress installation might be infected with malware. Check the wp-config.php file of the installation for potential malware code or run an anti-virus scan. If you cannot find any traces of malware, try running the operation again later.

From /var/log/plesk/panel.log:

Code:
[2019-10-15 11:06:24.941] ERR [extension/wp-toolkit] WP-CLI command has not finished working in 60 seconds, so it was terminated. Usually this means that there are problems with WordPress instance WordPress instance #5 ('https://www.domain.eu/blog') itself, for example it could be infected with malware. Check the wp-config.php file of the instance for potential malware code.
[2019-10-15 11:11:45.870] ERR [extension/wp-toolkit] WP-CLI command has not finished working in 60 seconds, so it was terminated. Usually this means that there are problems with WordPress instance WordPress instance #5 ('/httpdocs/blog') itself, for example it could be infected with malware. Check the wp-config.php file of the instance for potential malware code.

WordPress Toolkit version 4.3.1-2483

Thank you
 
Try to increase this timeout. Just edit panel.ini with adding

Code:
[ext-wp-toolkit]
wpCliTimeoutRegularTimeout = 180
 
Probably, this is caused because the WordPress Toolkit cannot finish the task due to an insufficient amount of CPU and RAM resources available or there are many files to be scanned.
 
It didn't solved the problem.
I've added that option to panel.ini, logged in to Plesk admin and hit the refresh button on top of a blog in WordPress Toolkit. After some time, the same errors occurred.
CPU and RAM usage are normal, a few percent CPU and 20% of RAM usage, the load on that moment is 0.03.

When I then wait a minute and push the reload button again, it is working.
When I wait again for a few minutes, the error is returning.
 
The same problem occurred last night at 5am while the server was very quite. When I logged in as admin, I saw that it was quarantined again.
Any idea what I can try?
 
Back
Top