We use cookies to improve your experience. No personal information is gathered and we don't serve ads. Cookies Policy.

ExpressionEngine Logo ExpressionEngine
Features Pricing Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University
Log In or Sign Up
Log In Sign Up
ExpressionEngine Logo
Features Pro new Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University Blog
  • Home
  • Forums

Upgrading from EE 3 to EE 7

How Do I?

Fathom's avatar
Fathom
3 posts
one year ago
Fathom's avatar Fathom

Hi all,

I’m trying to upgrade an old site from EE3 to EE7 and keep getting the following error that I’m unsure how to solve (shown in screenshot).

I’ve even tried to upgrade to EE5 instead of straight to 7 but still get the same error.

does anyone have any ideas?

Thanks

       
Tom Jaeger's avatar
Tom Jaeger
426 posts
one year ago
Tom Jaeger's avatar Tom Jaeger

Hi Fathom,

Thanks for getting in touch about this!

Just took a quick peek at the code that running this. I’m guessing after running the update a few times, your running into duplicate data. I’d recommend backing up your database (specifically the channels_channel_field_groups table) and then Truncating (or deleting that table) and running the update again.

Please note, I would also aim to run the updater directly to EE 7 as the updater shipped with Version 7 has significant improvements.

It may also be worth disabling extensions in via your config file

Thanks,

-Tom Jaeger

       
Fathom's avatar
Fathom
3 posts
one year ago
Fathom's avatar Fathom

Hi,

thanks for getting back to me. I’ve deleted the channels_channel_field_groups table and now i’m getting the following error:

Should I remove this table too?

Thanks for your help.

Thanks, Dan

       
Tom Jaeger's avatar
Tom Jaeger
426 posts
one year ago
Tom Jaeger's avatar Tom Jaeger

Taking a peek at the code…

       
Tom Jaeger's avatar
Tom Jaeger
426 posts
one year ago
Tom Jaeger's avatar Tom Jaeger

Yes.. I’d say make sure it’s backed up and then do the same with that table.

The following would also fall into this boat, if you hit them.

  • channels_channel_fields
  • channel_field_groups_fields

Again, I strongly recommend having a DB backup.

Thanks,

-Tom Jaeger

       
Fathom's avatar
Fathom
3 posts
one year ago
Fathom's avatar Fathom

Thanks so much for your help, that all worked!

I’ve now downloaded Freeform for $149 and installed it and it works fine. However for some reason when I go to the ‘Entries’ tab, I get errors that look relevant to freeform. I don’t suppose you have any ideas?

Thanks, Dan

       
Robin Sowell's avatar
Robin Sowell
13,252 posts
one year ago
Robin Sowell's avatar Robin Sowell

Hrm- first, double check that there’s an ft.freeform.php file in system/user/addons/freeform. There should be, but let’s eliminate the simple options first.

And you didn’t have Freeform (any variety) installed prior to this- correct?

       

Reply

Sign In To Reply

ExpressionEngine Home Features Pro Contact Version Support
Learn Docs University Forums
Resources Support Add-Ons Partners Blog
Privacy Terms Trademark Use License

Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.