Skip Navigation

[Résolu] Database upgrade issue

This support ticket is created Il y a 3 années et 6 mois. 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.

No supporters are available to work today on Toolset forum. Feel free to create tickets and we will handle it as soon as we are online. Thank you for your understanding.

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)

Marqué : 

This topic contains 6 réponses, has 3 voix.

Last updated by Minesh Il y a 3 années et 4 mois.

Assisted by: Minesh.

Auteur
Publications
#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: Anglais (English ) Espagnol (Español )

Timezone: Europe/London (GMT+01: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: Anglais (English ) Espagnol (Español )

Timezone: Europe/London (GMT+01: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: Anglais (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: Anglais (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/

This ticket is now closed. If you're a WPML client and need related help, please open a new support ticket.