- Plesk Onyx 17.8 for Linux
Note: This article has the reference to the issue with the fix available:
- #EXTWPTOOLK-2925 "Major WordPress autoupdates no longer fail due to timeout."
- WordPress Toolkit 4.1.0 30 May 2019
A WordPress instance stopped working, only white screen is shown
/var/log/plesk/panel.logthe following error can be found:
CONFIG_TEXT: 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 #42 itself, for example it could be infected with malware. Check the wp-config.php file of the instance for potential malware code.
- The following warning is observed:
CONFIG_TEXT: Instance (https://exameple.com): PHP Warning: Declaration of WP_CLI\CoreUpgrader::download_package($package) should be compatible with WP_Upgrader::download_package($package, $check_signatures = false) in /opt/psa/admin/plib/modules/wp-toolkit/vendor/wp-cli/wp-cli/vendor/wp-cli/core-command/src/WP_CLI/CoreUpgrader.php on line 91
The issue occurred after an automatic update from WordPress 5.1.1 to WordPress 5.2;
When rolled back to version 5.1.1 instance is working.
This is Plesk bug with ID EXTWPTOOLK-2925, which is planned to be fixed in one of the future product updates.
Follow the article to be notified when the bug is fixed - the article will be updated.
Until the issue is resolved, the following workaround can be applied:
Restore the WordPress instance from a backup;
panel.iniand disable the timeout for WordPress CLI by appending following line:
Connect to the server via SSH;
Re-run auto-update by running the following command:
# /usr/local/psa/admin/bin/php -dauto_prepend_file=sdk.php '/usr/local/psa/admin/plib/modules/wp-toolkit/scripts/instances-auto-update.php'