• Resolved leonardcraft

    (@leonardcraft)


    While attempting to update to 6.0.0 locally, I have tried to perform the migration process, but it doesn’t seem to be advancing at all. I have about 300 events and it hasn’t proceeded past 0 in about 2 hours of waiting. Nothing’s getting written to PHP error logs. Not sure if it helps, but this is what I see on /wp-admin/edit.php?post_type=tribe_events&page=tec-events-settings&tab=upgrade: https://snipboard.io/FCXxw9.jpg

    Refreshing the page causes it to temporarily enter a loading screen for a few seconds, then back to the above screenshot. The “retry” option doesn’t seem to do anything either.

    Running PHP 8.0.0, WordPress 6.0.2. Same issue with all other plugins disabled. Please advise on what other information I can provide.

    • This topic was modified 2 years, 6 months ago by leonardcraft.
Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Contributor Andras Guseo

    (@aguseo)

    Hi @leonardcraft ,

    Thanks for reaching out! The progress bar sometimes “gets stuck” on zero, while, in reality, work is happening in the background, and it will jump straight to 100% when finished.
    If you are using Local (by Flywheel), that, in general, can be slow.

    Are you potentially using any caching plugins or tools? Those could also cause this.
    For this and other migration-related issues please check this article:
    https://theeventscalendar.com/knowledgebase/k/migrating/#caching

    A last note, while this release was tested with 8.0, it can happen that something still doesn’t fully work. If the above tips don’t help, would you be able to switch back to 7.4 and check with that?

    Cheers,
    Andras

    Thread Starter leonardcraft

    (@leonardcraft)

    Andras,

    If I’m reading this correctly, the migration tool is basically trying to make a bunch of requests to the local web server? If so, I won’t be able to test locally then. As you identified, I’m using Local by Flywheel, which creates a local domain that you wouldn’t be able to query externally. I don’t have any caching stuff turned on in the dev environment, so I imagine that’s basically it – it’s trying to query my local web server and silently failing. I can try the other remediation steps if you’d like, but that seems like the fundamental issue.

    Thanks,

    Leonard

    A few thoughts on what you might be running into.

    – There can be some issues with local environment setup. One common issue is wp-cron not working, which is the main issue with setups like local by flywheel.
    – Just for context, we use Action Scheduler to batch the migration.
    – You can go to the Tools -> Scheduled Actions page to see the status of pending items, and manually run them there.
    – Action Scheduler also has a wp cli command wp action-scheduler run to run all pending actions.

    Plugin Contributor Andras Guseo

    (@aguseo)

    Hi @leonardcraft

    Not sure I understand your setup correctly.

    I have tested the migration on Local, on a local site (I used the tec.local), without any connection to a live site. The migration worked without issue.
    So that should work.

    Not sure about the technical details of the migration. Theoretically it goes through the events. It queries the event with its details, and stores it in the “new format” in a custom table. Then takes the next event…
    It should basically work on any setup, even if you are only using an IP address to access a site.

    A.

    Thread Starter leonardcraft

    (@leonardcraft)

    @edaniels has got it right – they were just stuck in Action Scheduler. I’m able to kick them off manually from there. Thanks!

    Edit: here’s an example of what Action Scheduler looks like for me here: https://snipboard.io/sGhKnI.jpg

    • This reply was modified 2 years, 6 months ago by leonardcraft.
    Plugin Support Abz

    (@abzlevelup)

    Hi @leonardcraft, awesome thanks for sharing and updating us in regard to this. It would help us and other users having similar issues.

    Keep us posted if you run into any issues with the migration moving forward.

    Best,
    Abz

    @leonardcraft

    Hey there! 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. ??

    Best,
    Rob

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Migration Preview not working in local dev environment’ is closed to new replies.