• Debian 11 is approaching its end-of-life (vendor EOL date - August 31, 2026). Plesk Obsidian 18.0.80 will be the last release to support it.
    If you are running Plesk Obsidian on Debian 11, we recommend you upgrade those servers to Debian 12 using our dist-upgrade tool.
  • We plan to deprecate and remove the support for XML RPC protocol versions earlier than 1.6.9.1 in Plesk Obsidian 18.0.82. We strongly recommend that you update all existing integrations using earlier versions of the XML RPC protocol to comply with the version 1.6.9.1 specification.

Forwarded to devs WordPress Toolkit: unable to restore a backup when table prefix is changed via Security Measures

Maarten

Golden Pleskian
Plesk Guru
Username:

TITLE

WordPress Toolkit: unable to restore a backup when table prefix is changed via Security Measures

PRODUCT, VERSION, OPERATING SYSTEM, ARCHITECTURE

CentOS Linux 7.9.2009 (Core)
Product Plesk Obsidian Version 18.0.41 Update #1

WordPress Toolkit
Version 5.9.3-6032

PROBLEM DESCRIPTION

When you start managing an existing WP website in WP Toolkit, you run into issues when you create a backup using the WP Toolkit and next apply the security measures like "Change default database table prefix".
If you want to restore the backup, it seems to be impossible:
"Failed to restore site from backup
  • Error: The site you have requested is not installed.
  • Your table prefix is 'wp_'. Found installation with table prefix: xxxxx_."
This is odd, as the info icon next to "Change default database table prefix" warns you to create a backup before you apply the security measures:
"Note that changing database prefix on a website with production data might be dangerous, so it is strongly advised to back up your website before applying this measure."

STEPS TO REPRODUCE

- Scan for an existing WP website using the WP Toolkit (check if it uses the wp_ prefix in the database)
- Create a backup using the WP Toolkit
- Apply the security measure "Change default database table prefix"
- Try to restore the backup using the WP Toolkit

ACTUAL RESULT

You get an error and the website is broken:

"Failed to restore site from backup
  • Error: The site you have requested is not installed.
  • Your table prefix is 'wp_'. Found installation with table prefix: xxxxx_."

EXPECTED RESULT

The expected result is that the backup is restored.

ANY ADDITIONAL INFORMATION

(DID NOT ANSWER QUESTION)

YOUR EXPECTATIONS FROM PLESK SERVICE TEAM

Confirm bug
 
Back
Top