Title: Migration doesn&#8217;t finish
Last modified: November 7, 2022

---

# Migration doesn’t finish

 *  Resolved [tylkomat](https://wordpress.org/support/users/tylkomat/)
 * (@tylkomat)
 * [3 years, 6 months ago](https://wordpress.org/support/topic/migration-doesnt-finish/)
 * I started a migration preview yesterday, but it doesn’t finish. It shows 15 Events
   left since yesterday. What can I do to see what the errors might be?
 * There are no draft events and trash is also empty.

Viewing 4 replies - 1 through 4 (of 4 total)

 *  Plugin Support [WilloftheD](https://wordpress.org/support/users/abzlevelup/)
 * (@abzlevelup)
 * [3 years, 5 months ago](https://wordpress.org/support/topic/migration-doesnt-finish/#post-16211286)
 * Hi [@tylkomat](https://wordpress.org/support/users/tylkomat/), apologies for 
   the delay here, I’m back now. Could you try downgrading to pre-v6.0 and then 
   retrying the migration to v6.0? Other users were able to resolve issues with 
   a couple of tries. Additionally, try following KB if you haven’t already to maximize
   your chances of a successful migration: [https://theeventscalendar.com/knowledgebase/k/migrating/](https://theeventscalendar.com/knowledgebase/k/migrating/)
 * Here’s an article to help you with downgrading the plugins: [Accessing and Installing Older Plugin Versions](https://theeventscalendar.com/knowledgebase/k/accessing-older-plugin-versions/).
 * To be safe, we’d recommend conducting these tests and new updates on a [Staging Server](https://theeventscalendar.com/knowledgebase/k/creating-and-using-a-wordpress-staging-site/).
   Also, please keep a working backup of your website.
 * Let me know how it goes.
 * Best,
    Abz
 *  Thread Starter [tylkomat](https://wordpress.org/support/users/tylkomat/)
 * (@tylkomat)
 * [3 years, 5 months ago](https://wordpress.org/support/topic/migration-doesnt-finish/#post-16242010)
 * Hello Abz,
    sorry for the late response as well. I installed the latest 5.x version,
   converted to the new layout, then did the upgrade to latest 6.x and lastly started
   the migration process. Unfortunately the result is the same. 15 Events left.
 *  Plugin Support [WilloftheD](https://wordpress.org/support/users/abzlevelup/)
 * (@abzlevelup)
 * [3 years, 5 months ago](https://wordpress.org/support/topic/migration-doesnt-finish/#post-16242884)
 * Hi [@tylkomat](https://wordpress.org/support/users/tylkomat/), sorry to hear 
   about this. What PHP version are you using? I am curious if the migration was
   stuck. Could you try using this snippet here:
 *     ```
       add_action( 'init', function () {
         // Will attempt to force a revert of tables and metadata
         tribe( \TEC\Events\Custom_Tables\V1\Migration\Process_Worker::class )->undo_event_migration( [] );
       } );
       ```
   
 * Running this snippet will revert the event metadata and custom tables and reset
   your site back to a state where you can re-try migration. This will force your
   site out of the maintenance mode we use during migration.
    1. Install the free [Code Snippets](https://wordpress.org/plugins/code-snippets/)
       plugin.
    2. In your dashboard, go to Snippets > Add New and copy the snippet below.
    3. Save and Activate the snippet.
    4. Go to Events > Settings > Upgrade and confirm that migration is not longer in
       progress.
    5. Go back to Snippets > All Snippets and deactivate the snippet.
 * Before you try migration again, you may want to review our[ tips for a smooth migration](https://theeventscalendar.com/knowledgebase/k/migrating/#Tips_for_a_smooth_migration).
 * To be safe, we’d recommend conducting tests and new updates on a [Staging Server](https://theeventscalendar.com/knowledgebase/k/creating-and-using-a-wordpress-staging-site/).
   Also, please keep a working backup of your website.
 * Let me know how it goes.
 * Best,
    Abz
 *  Plugin Support [WilloftheD](https://wordpress.org/support/users/abzlevelup/)
 * (@abzlevelup)
 * [3 years, 4 months ago](https://wordpress.org/support/topic/migration-doesnt-finish/#post-16344935)
 * This thread has been inactive for a while, so we’re going to go ahead and mark
   it **Resolved**. Please feel free to open a new thread if any other questions
   come up, and we’d be happy to help.

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Migration doesn’t finish’ is closed to new replies.

 * ![](https://ps.w.org/the-events-calendar/assets/icon-256x256.gif?rev=2516440)
 * [The Events Calendar](https://wordpress.org/plugins/the-events-calendar/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/the-events-calendar/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/the-events-calendar/)
 * [Active Topics](https://wordpress.org/support/plugin/the-events-calendar/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/the-events-calendar/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/the-events-calendar/reviews/)

## Tags

 * [migration](https://wordpress.org/support/topic-tag/migration/)

 * 4 replies
 * 2 participants
 * Last reply from: [WilloftheD](https://wordpress.org/support/users/abzlevelup/)
 * Last activity: [3 years, 4 months ago](https://wordpress.org/support/topic/migration-doesnt-finish/#post-16344935)
 * Status: resolved