pods-framework / pods

The Pods Framework is a Content Development Framework for WordPress - It lets you create and extend content types that can be used for any project. Add fields of various types we've built in, or add your own with custom inputs, you have total control.
https://pods.io/
GNU General Public License v2.0
1.07k stars 264 forks source link

Upgrade from 1.9.5.1 to 2x bugs #1170

Closed conthigh closed 11 years ago

conthigh commented 11 years ago

I have a simple pods site that was running on 1.9.5.1.

Somehow the plugin got updated on 2-27-2013 to 2.2, and both pods were showing no entries. There was an author working in the system, but she swears she did not do any thing like update plugins.

At first, I though the databases were blown out. After investigation, I discovered that the plugin had been updated, and all the old 1.x databases were still there and contained data. After reading the forum about upgrades, I downloaded the 2.0.5.1 version and installed. I cleared the 2.0 features, and ran the upgrade again. All elements including the pods seemed to be located with no problem, but the upgrade itself could not find the pods or relationships when actually migrating the data.

So, I cleared the 2.0 features again, and installed 2.2 again. Again, it said it found all the elements, but could not find them when it went to actually migrate.

Here are the 2 charts:

Preparing your Content for Migration (All of these had green checks) 2 Pods 14 Fields 23 Relationships 30 Item Indexes 5 Templates 6 Pod Pages 0 Helpers 7 Content: bus_category 23 Content: bus_directory

Migrating Your Content.. (3 failed with pod not found) — 1.x Updates 2 Pods 14 Fields 23 Relationships Pod not found — Settings 5 Templates 6 Pod Pages 0 Helpers 7 Content: bus_category Pod not found 23 Content: bus_directory Pod not found — Cleanup

I cannot go backwards to 1.9.5.1 as it gives me the following message when I try to activate.

SQL failed; SQL: CREATE TABLE wp_pod_templates ( id INT unsigned auto_increment primary key, name VARCHAR(32), code TEXT); Response: Table 'wp_pod_templates' already exists.

Of course the tables exist! The 1.x data is still there.

Any advice?

Ken

sc0ttkclark commented 11 years ago

Can you send temporary WordPress admin access to your site at https://pods.io/help/ and I'll log in and get this resolved for you ASAP. This is definitely not normal, so I'd like to look into it personally if that's OK with you.

conthigh commented 11 years ago

Submitted to you as upgrade assessment, but actually about the above issue.

sc0ttkclark commented 11 years ago

Fixed! This was a Headway theme conflict, I deactivated the theme and was able to upgrade fine. I've contacted them about the issue.

sc0ttkclark commented 11 years ago

I heard back from Headway support and will commit a compatibility fix later today.

conthigh commented 11 years ago

Fantastic.

Ken Edwards

President

Maverick Mesa Computer Specialties, Inc.

10814 W Orangewood Ave

Glendale, AZ 85307-1728

Office 623.872.1296 Office

Cell 623.910.5248 Cell

Email kedwards@mavmesa.com mailto:kedwards@mavmesa.com

Website mavmesa.com http://mavmesa.com/

From: Scott Kingsley Clark [mailto:notifications@github.com] Sent: Tuesday, April 09, 2013 12:40 PM To: pods-framework/pods Cc: conthigh Subject: Re: [pods] Upgrade from 1.9.5.1 to 2x bugs (#1170)

I heard back from Headway support and will commit a compatibility fix later today.

— Reply to this email directly or view it on GitHub https://github.com/pods-framework/pods/issues/1170#issuecomment-16135283 .