Applicable to:
- Plesk for Linux
- Plesk for Windows
Symptoms
-
Operations in WordPress Toolkit fail with the following error message:
WP-CLI command has not finished working in 60 seconds, so it was terminated. Usually this means that there are problems with WordPress installation itself, for example it could be infected with malware. Check the wp-config.php file of the installation for potential malware code.
-
The following message is received via email:
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.
Cause
The default timeout of 60 seconds to skip suspicious or infected files of WordPress instances, is exceeded, which may happen by insufficient amount of CPU and RAM resources available or many files to be copied to the new instance.
Resolution
Increase WordPress Toolkit default timeout value:
-
Go to Extensions > My Extensions > Panel.ini Editor > Open > Editor
-
Add the following lines to the end of the text field and click Save:
[ext-wp-toolkit]
wpCliTimeoutHeavy = 3600
wpCliTimeoutMedium = 600
wpCliTimeoutRegular = 600
wpCliTimeoutMaintenanceTimeout = 360
In case the issue persists, scan and remove malware from the WordPress instance with an antivirus software.
Comments
3 comments
Can the values be longer? It is still timing out.
Hi,
The timeouts can be increased further. If this does not help, please open a support ticket in that case, for us to investigate this issue in detail.
having the same issue
It looks like that if we protect the pages (stage mostly in our case) with a basic auth via Toolkit option, we produce this error.
So it looks like it is a bug in the implementation, that the authorization for basic auth is requested for everyone, EVEN for wordpress toolkit, which comes from:
And this shall be added too to the exclusions/allow list of basic auth
can you please confirm?
Please sign in to leave a comment.