Support

Home Forums Event Espresso Premium Events Disappearing when migrating from Event Espresso 3 to 4

Events Disappearing when migrating from Event Espresso 3 to 4

Posted: June 8, 2021 at 4:18 am

Viewing 13 reply threads


ajerromsmith

June 8, 2021 at 4:18 am

Hi there,

We’re trying to migrate from event espresso 3 to 4. Once on version 4 only 8 events appear, when we have around 80 events on 3. In database I can still see all the events there, they just don’t appear in the backend. What tables in the database specifically are EE4? I believe someone may have tried to migrate previously on this website, and left stuff over on the site when it didn’t work.

Any help would be appreciated.

Thanks


Tony

  • Support Staff

June 8, 2021 at 5:28 am

Hi there,

Event Espresso will only show the option to migrate EE data over on initial activation, so if someone has already tried to switch to EE4 and then switch back to EE3, the next time you activate EE4 it won’t show migration options.

So, when you say you are trying to migrate to EE4, what happened when you activated EE4?

Did show you an option to migrate your data or just show the 8 events you mentioned above?

I assume you don’t need any of the current EE4 data on the site?


ajerromsmith

June 8, 2021 at 5:39 am

Hi Tony,

When updating I can’t see anything about Migrating data. The website is currently on EE3 so we don’t need any of the EE4 files on it, just need to migrate and upgrade to the newest version of event espresso.

I believe someone who used to work here in the past has tried to update the version, and not removed all the files when it failed.

Does that all make sense? Let me know 🙂


Tony

  • Support Staff

June 8, 2021 at 5:54 am

Yes, it does.

So basically you need to reset EE4 so it will re-run the migrations for you.

However, before going into details it’s important to note that EE4 works very different from EE3. A lot of EE4 data uses custom post types, which means a lot more of the output is reliant on the site’s theme.

We recommend testing EE3 -> EE4 migrations on a development copy of the site first to work through any issues there without disrupting the site’s visitors.

Make sure you have a working database backup for the site before going forward as the steps from this point forward will alter the database.

Activate EE4 and go to Event Espresso -> Maintenance -> Reset/Delete Data.

(again, make sure you have a DB backup prior to this)

Click the ‘Permanently Delete ALL Event Espresso Data’ button.

That will drop all EE4 data from the site and deactivate EE4.

Now, confirm the latest version of EE4 is installed on the site, the latest version right now is 4.10.11.p, if you don’t have that version, update:

https://eventespresso.com/wiki/how-to-upgrade-event-espresso/#ee4-manual-update

Re-activate EE4 after the above and it should offer to migrate your data, run through all of the migration steps (you’ll have multiple migrations to run).

You should then have all of you events transferred.


ajerromsmith

June 8, 2021 at 6:34 am

I’ve followed the steps above but when I activate Event Espresso 4 I don’t get any migration options. It doesn’t give me anything about upgrading or migrating data.


Tony

  • Support Staff

June 8, 2021 at 7:09 am

Which version number of EE3 is/was on the site?


ajerromsmith

June 8, 2021 at 7:12 am

We’re going from 3.1.31.18.p to 4.10.11.p


Tony

  • Support Staff

June 8, 2021 at 8:06 am

OK, that’s why. The migration script only runs on the latest EE3 database schema, which the above version isn’t using.

Download the latest version of EE3 HERE install that, activate it and then de-activate it again.

Now repeat the above with EE4 and it should show the migration options (Note, because EE4 has been activate, you need to reset again after updating EE3).


ajerromsmith

June 8, 2021 at 9:10 am

Apologies, I made a slight typo there. I’m already on version 3.1.37.18.p which I believe it the latest version of Event Espresso 3


Tony

  • Support Staff

June 8, 2021 at 9:12 am

Hmm, so yeah then migration should be kicking in.

Reset EE4 again and click to activate it once again, can you add a screenshot of the next page you see on that page here, please?

https://eventespresso.com/wiki/troubleshooting-checklist/#screenshots


ajerromsmith

June 9, 2021 at 2:17 am

Hi Tony, I’ve followed the instructions and reactivated the plugin. This is the page I land on once it’s activated

https://snipboard.io/s2aXT9.jpg


ajerromsmith

June 9, 2021 at 2:21 am

This is a better screenshot without that other plugin in the way. https://snipboard.io/9VnASN.jpg

I’m happy to provide FTP/ Backend access to the staging site if you would like to take a look, let me know.


ajerromsmith

June 10, 2021 at 8:00 am

This reply has been marked as private.


Tony

  • Support Staff

June 11, 2021 at 2:35 am

Hi Alaistair,

Apologies for the delay, if you can send the details over using this form:

https://eventespresso.com/send-login-details/

I’ll take a look.

Viewing 13 reply threads

The support post ‘Events Disappearing when migrating from Event Espresso 3 to 4’ is closed to new replies.

Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.

Event Espresso