Skip Navigation

[Resolved] Database upgrade issue

This support ticket is created 4 years, 1 month ago. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Sun Mon Tue Wed Thu Fri Sat
- 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 -
- 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 -

Supporter timezone: Asia/Kolkata (GMT+05:30)

Tagged: 

This topic contains 6 replies, has 3 voices.

Last updated by Minesh 3 years, 11 months ago.

Assisted by: Minesh.

Author
Posts
#1819287

I was trying to do the database upgrade and had an error:

> The upgrade process is starting...
> Precondition "correct database layer mode"... OK
> Precondition "toolset_associations table exists"... OK
> Precondition "toolset_associations_old table is not yet present (indicates manual database manipulation)"... OK
> Precondition "toolset_associations_new table is not yet present (indicates interrupted upgrade process)"... OK
> Precondition "toolset_connected_elements table is not yet present"... OK
> Precondition "able to create a new database table"... OK
> Precondition "able to delete a database table"... OK
> Precondition "WPML not active or in a good version (4.4.0 or above)"... OK
> Temporary migration tables have been removed if they existed.
> Created table "wp3b_toolset_associations_new".
> Created table "wp3b_toolset_connected_elements".
> Completed batch of 250 associations between #2 and #293.
> Completed batch of 250 associations between #294 and #553.
> Completed batch of 250 associations between #554 and #803.
> Completed batch of 99 associations between #804 and #902.
> All associations have been migrated to the new temporary table.
> Couldn't write to the ".maintenance" file.
> Old and new association tables have been renamed successfully ("wp3b_toolset_associations" to "wp3b_toolset_associations_old" and "wp3b_toolset_associations_new" to "wp3b_toolset_associations").
> Database layer mode has been updated successfully.
> The maintenance mode had already been disabled before.
> Retrying the database upgrade...
> An internal error has occurred during the database upgrade. Unable to obtain the migration controller instance.
> Retrying the database upgrade...
> An internal error has occurred during the database upgrade. Unable to obtain the migration controller instance.

I tried to run it again without any luck.

#1819395

Was talking with Pressable support. They say that the .maintenance file isn't writable because of this:
hidden link

#1821001

Nigel
Supporter

Languages: English (English ) Spanish (Español )

Timezone: Europe/London (GMT+00:00)

Let me share those details with the Types developer and see what feedback he has.

I'll let you know.

#1822267

Nigel
Supporter

Languages: English (English ) Spanish (Español )

Timezone: Europe/London (GMT+00:00)

I created an internal ticket and shared it with the developer, but I'm still waiting for feedback, I'll share it when I have it.

In the meantime let me set this as escalated.

#1822977

So, it's been 3 workdays for me. Any help?

#1824549

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

Nigel is on vacation. This is Minesh here and I'll take care of this ticket. Hope this is OK.

I checked the internal ticket reported by Nigel and I see that Devs shared the news that the fix for this issue will be shared with next Types hotfix version. Please be patient and I will get in touch with you as soon as I get any updates on this issue.

I'll keep you posted.

#1861363

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

We just release the new version for Toolset plugins including Types 3.4.3 that should address the issue.

We always recommend running your site with the latest stable release plugin version.

*** Please make a FULL BACKUP of your database and website.***
Could you please update ALL Toolset plugins to it's latest officially released version. You can download the latest plugin release from your accounts page:
=> https://toolset.com/account/downloads/