• 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.

extension/wp-toolkit: Integrity constraint violation

StayAllive

Basic Pleskian
When opening the Toolkit as an administrator I get 10-20 lines of the following error:

Code:
[2018-03-14 10:11:17.942] ERR [extension/wp-toolkit] SQLSTATE[23000]: Integrity constraint violation: 19 NOT NULL constraint failed: InstanceProperties.instanceId, query was: INSERT INTO "InstanceProperties" ("name", "value") VALUES (?, ?)

However in the psa database there is no table InstanceProperties so I am not sure what it is referring or where to start looking for the issue :) Can anyone advise?

Plesk Onyx Versie 17.8.11 Update #1
WordPress Toolkit Version: 3.0.1-840
 
Hello,

Looks like error occurs while updating properties of WordPress instance, which stored in the database of WordPress Toolkit (this module has his own database). Could you please describe which concrete actions do you perform while getting this error? We can start a private conversation if needed.
 
Hello, Looks like error occurs while updating properties of WordPress instance, which stored in the database of WordPress Toolkit (this module has his own database). Could you please describe which concrete actions do you perform while getting this error? We can start a private conversation if needed.

It is really simple :)

As server administrator (so an admin account, not reseller/customer) I access: https://PLESK:8443/modules/wp-toolkit/index.php/index/index?context=extNavButton_wp-toolkit_1

This is the button in the menu on the left when in service provider view.

So nothing special... what is the database name? I could not find one by looking through the 500 in MySQL :)
 
It's an SQlite DB stored at /usr/local/psa/var/modules/wp-toolkit/wp-toolkit.sqlite3

Code:
[root@plesk wp-toolkit]# sqlite3 /usr/local/psa/var/modules/wp-toolkit/wp-toolkit.sqlite3
SQLite version 3.7.17 2013-05-20 00:56:22
Enter ".help" for instructions
Enter SQL statements terminated with a ";"
sqlite> .table
InstanceProperties  Plugins             SetsThemes          version
Instances           PluginsInstances    ThemeVersions
InstancesDomains    Sets                Themes
PluginVersions      SetsPlugins         ThemesInstances
 
Are you just upgrade toolkit on version 3.0 on Plesk 17.8? I can suggest, an issue occurs while lazy loading of some settings for one of your WordPress instances while displaying a list. I believe, we can localize and fix this issue, but now, as a workaround, could you please run WordPress scheduled task manually? It will synchronize all properties of all instances, this should solve the problem.
 
Back
Top