Skip Navigation

[Resolved] Relationship Migration errors on upgrading

This support ticket is created 6 years, 5 months 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.

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
8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 - -
13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 - -

Supporter timezone: America/New_York (GMT-04:00)

This topic contains 22 replies, has 2 voices.

Last updated by jeffC-3 6 years, 5 months ago.

Assisted by: Christian Cox.

Author
Posts
#918001

So any warning/error messages other than that one legacy relationship are not needed.
Aside from unnecessary messages, is there any problem you can see with the relationships that were successfully migrated?

#918064

I really didn't verify everything. Because of all the error messages, I figured something didn't work correctly. If I could get it to work again like that first run, I'd be happy.

#918093

Can you describe the process you go through to replicate the Production site in your Development environment, in technical terms? Are you using a system like Duplicator, or All-in-One WP Migration? Are you using Toolset's Import/Export tools? Are you using WordPress's Import/Export tools? Are you manually modifying URLs in a database dump file? Are you completely wiping the development database and filebase first, or overwriting? Are your server environments identical in terms of memory and PHP configurations?

Any additional information you can provide to help me replicate the problem will be helpful.

#918106

My web host is Nestify. It comes with a staging environment. All I have to do is go to manage the staging site and pull the database and files by clicking a button. I am not sure how it does it automatically.

#918321

After you pull down to staging using their automatic process, can you create a database dump file from the staging database? I can try to replicate the problem using that file and make comparisons to the production migration.

#918466
#918835

I get exactly the same results with this database set - the migration log text is identical to the log produced by migrating the production database.

#919050
popup problems.jpg

Sorry for the delay but your website has been down. After your message, I did the migration using the same set of data on staging. Sure enough, it worked like the first log I sent. Go figure.

I'm just going to take the chance on Saturday morning when it's quieter on the site and upgrade on production. If it fails, at least I have the data in these tables on staging to insert into the empty tables on production:
wp_toolset_associations, wp_toolset_relationships, wp_toolset_type_sets tables (BTW, wrong table name listed for the last one in the migration log)

I thought it didn't work correctly showing my Views, but then realized I hadn't upgraded the Views on staging, and then it worked. BTW, when looking at the Views problem, I have had recent problems with the popups even before this release while in edit mode with the popups showing all the data, cancel buttons, etc. (attached) I have not determined if it's browser-specific or what, but I'll write another ticket if needed for that.

Will update this based on my upgrade Saturday morning. Thanks.

#919056

Okay great, I'll stand by for your update.

#919272

I couldn't wait, so I ran the migration early this morning on production. Thankfully it migrated and produced the same log file as the first along with the error messages of items that shouldn't be there.

I'm still not confident though if I can delete safely from the database the warning messages that contain: vineyard_twitter-account, vineyard_contact, wine-trail_wine-trail-member, winery_twitter-account, winery_wine-trail-member, winetrail_wine-trail-member
These shouldn't be used anywhere because all the post types, content templates, views, etc. were deleted using Toolkit.