Applicable to:
- Plesk for Linux
Symptoms
- Unable to update WordPress core files and plugins via Smart Update feature at Plesk > WordPress > example.com > Updates > Available > Update with Smart Update. The following error is shown:
PLESK_ERROR: Smart Update test run could not be performed due to errors. Address the errors and try running Smart Update again.
Smart Update was unable to correctly clone your website for further analysis. Please try again later.
- During the WordPress updating process with Smart Update, the cloned instance creates a
wpt-fallback-sitemap.xml
file, as can be seen in the Plesk panel log/var/log/plesk/panel.log
with debug enabled:CONFIG_TEXT: DEBUG Starting: filemng fhceadmin exec /var/www/vhosts/example.com/httpdocs/.wp-toolkit_K timeout 60 /opt/plesk/php/7.0/bin/php -d safe_mode=off -d display_errors=off -d opcache.enable_cli=off -d open_basedir= -d error_reporting=341 -d max_execution_time=60 -c /var/www/vhosts/system/example.com/etc/php.ini /usr/local/psa/admin/plib/modules/wp-toolkit/vendor/wp-cli/wp-cli/php/boot-fs.php --path=/var/www/vhosts/example.com/httpdocs/.wp-toolkit_K --no-color sitemap generate wpt-fallback-sitemap.xml, stdin:
Cause
Product issue:
-
#EXTWPTOOLK-3611 "Smart Updates will now properly work if sitemap of the cloned website differs from the original due to meddling of certain plugins."
Fixed in:- WordPress Toolkit 4.3.2 24 October 2019
Resolution
Workaround
If update is not possible for some reason, try the following:
As a workaround, manually create a smart-update-sitemap.xml
and upload it to the instance's Document Root directory:
-
Go to XML-Sitemaps.com website;
-
Enter the website URL (for i.e: https://example.com) to create a sitemap for the instance:
-
Click Start;
-
Click Download your XML Sitemap File Download:
-
When downloaded, rename the file from
sitemap.xml
tosmart-update-sitemap.xml
; - Log in to Plesk;
-
Go to Domains > example.com > File Manager > httpdocs > Upload the
smart-update-sitemap.xml
file.Note: The default Document Root is httpdocs. This can be confirmed at Plesk > Domains > example.com > Hosting Settings > Document Root. In case a custom one is used, upload the file accordingly.
Comments
2 comments
I'm Having an issue with Wordpress on windows server with Plesk after updating to Obsedian, updates do not run correctly and I get the following errors:
- Unable to update plugin 'akismet_4.1.2_1_', details: MIB search path: c:/usr/share/snmp/mibs
Cannot find module (IP-MIB): At line 0 in (none)
Cannot find module (IF-MIB): At line 0 in (none)
Cannot find module (TCP-MIB): At line 0 in (none)
Cannot find module (UDP-MIB): At line 0 in (none)
Cannot find module (HOST-RESOURCES-MIB): At line 0 in (none)
Cannot find module (SNMPv2-MIB): At line 0 in (none)
Cannot find module (SNMPv2-SMI): At line 0 in (none)
Cannot find module (NOTIFICATION-LOG-MIB): At line 0 in (none)
Cannot find module (UCD-SNMP-MIB): At line 0 in (none)
Cannot find module (UCD-DEMO-MIB): At line 0 in (none)
Cannot find module (SNMP-TARGET-MIB): At line 0 in (none)
Cannot find module (NET-SNMP-AGENT-MIB): At line 0 in (none)
Cannot find module (DISMAN-EVENT-MIB): At line 0 in (none)
Cannot find module (SNMP-VIEW-BASED-ACM-MIB): At line 0 in (none)
Cannot find module (SNMP-COMMUNITY-MIB): At line 0 in (none)
Cannot find module (SNMP-FRAMEWORK-MIB): At line 0 in (none)
Cannot find module (SNMP-MPD-MIB): At line 0 in (none)
Cannot find module (SNMP-USER-BASED-SM-MIB): At line 0 in (none)
Cannot find module (SNMP-NOTIFICATION-MIB): At line 0 in (none)
Cannot find module (SNMPv2-TM): At line 0 in (none)
Success: Plugin already updated.
@Nabil Kilany
Looks like SNMP is not installed or configured incorrectly.
Try to install it:
apt-get install snmp or yum install snmp based on your OS
Or check the solution from the article below:
https://support.plesk.com/hc/en-us/articles/360001451194-PHP-FPM-service-shows-error-Cannot-adopt-OID-in-NET-SNMP-AGENT-MIB
Please sign in to leave a comment.