Today our multi-site WP installation went into maintenance mode and stuck there. After freeing it up and investigating, we finally came across the message below from the apache/error.log. Site wp_2301 is hidden link. This site and the referrer in the log, hidden link, both have Toolset Types installed. It seems that the database update worked ok for profile.laps, but not for lpci.lab.
Any assistance in figuring out why this occured and how to avoid it as we try to get the remaining sub sites updated would be much appreciated.
Thank you!
------- error message ------
[Thu Oct 07 08:29:12.425305 2021] [php7:notice] [pid 13218] [client 130.63.173.84:52132] Attempted one-shot relationship database layer upgrade with
some issues: \n\t> Precondition "correct database layer mode"... OK\n\t> Precondition "toolset_associations table exists"... OK\n\t> Precondition "to
olset_associations_old table is not yet present (indicates manual database manipulation)"... OK\n\t> Precondition "toolset_associations_new table is
not yet present (indicates interrupted upgrade process)"... OK\n\t> Precondition "toolset_connected_elements table is not yet present"... OK\n\t> Pre
condition "able to create a new database table"... OK\n\t> Precondition "able to delete a database table"... OK\n\t> Precondition "WPML not active or
in a good version (4.4.0 or above)"... OK\n\t> Temporary migration tables have been removed if they existed.\n\t> Clearing persisted migration state
if it exists from previous attempts.\n\t> Created table "wp_2301_toolset_associations_new".\n\t> Created table "wp_2301_toolset_connected_elements".
\n\t> All associations have been migrated to the new temporary table.\n\t> Maintenance mode enabled.\n\t> Failed to rename the new version of the ass
ociation table ("wp_2301_toolset_associations_new" to "wp_2301_toolset_associations").\n\t> The migration state doesn't belong to the current migrati
on controller., referer: hidden link
[Thu Oct 07 08:29:12.858999 2021] [php7:notice] [pid 14185] [client 130.63.173.84:52870] Attempted one-shot relationship database layer upgrade with
some issues: \n\t> Precondition "correct database layer mode"... OK\n\t> Precondition "toolset_associations table exists"... OK\n\t> Precondition "to
olset_associations_old table is not yet present (indicates manual database manipulation)"... OK\n\t> Precondition "toolset_associations_new table is
not yet present (indicates interrupted upgrade process)"... WARN\n\t> Precondition "toolset_connected_elements table is not yet present"... WARN\n\t>
Precondition "able to create a new database table"... OK\n\t> Precondition "able to delete a database table"... OK\n\t> Precondition "WPML not activ
e or in a good version (4.4.0 or above)"... OK\n\t> Temporary migration tables have been removed if they existed.\n\t> Clearing persisted migration s
tate if it exists from previous attempts.\n\t> Created table "wp_2301_toolset_associations_new".\n\t> Created table "wp_2301_toolset_connected_elemen
ts".\n\t> The final association table "wp_2301_toolset_associations" doesn't exist but it was expected, , cannot move forward with the migration., re
ferer: hidden link
Hello,
Please try these:
1) Make sure you are using the latest version of Toolset plugins, you can download them here:
https://toolset.com/account/downloads/
2) In case it is a compatibility problem, please deactivate all other plugins, and switch to WordPress default theme 2021, deactivate all custom PHP/JS code snippets
3) If the problem still persists, provide your database dump file of the problem website lpci.lab in below private message box, you can put the package files in your own google drive disk, share the link only, also point out the problem page URL