Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Give 2.0] Upgrade routine stuck at 0% #2610

Closed
DevinWalker opened this issue Jan 4, 2018 · 3 comments
Closed

[Give 2.0] Upgrade routine stuck at 0% #2610

DevinWalker opened this issue Jan 4, 2018 · 3 comments
Assignees
Milestone

Comments

@DevinWalker
Copy link
Member

Issue Overview

@Benunc has provided us with a database he was unable to upgrade. I was able to reproduce as well:

2018-01-04_11-16-34

Expected Behavior

Upgrade routines don't get stuck, ever.

Current Behavior

This upgrade routine is stuck.

Possible Solution

We should provide a way that admins can escape getting stuck like this if it happens. @ravinderk I'd like to discuss with you.

Steps to Reproduce (for bugs)

  • I will provide you the duplicator package
@DevinWalker DevinWalker added this to the 2.0 milestone Jan 4, 2018
@ravinderk ravinderk mentioned this issue Jan 5, 2018
3 tasks
@ravinderk
Copy link
Collaborator

@DevinWalker
Ajax secure does not work on local by flywheel. Please read this thread http://local.getflywheel.com/community/t/make-https-work-from-locals-localhost/327/3

I am getting this response when doing db upgrade ajax post request.

WP_Error Object
(
    [errors] => Array
        (
            [http_request_failed] => Array
                (
                    [0] => cURL error 7: Failed to connect to collegiateabbey.test port 443: Connection refused
                )

        )

    [error_data] => Array
        (
        )

)

But I added a fix to prevent DB upgrade from running by cron.

@Benunc Can you reproduce this on live staging site with or without SSL.

@DevinWalker @Benunc Cron will work fine now but make sure ajax mus work fine too.

@ravinderk ravinderk reopened this Jan 5, 2018
@Benunc
Copy link
Member

Benunc commented Jan 5, 2018

On a live staging site the update runs as expected.

@DevinWalker
Copy link
Member Author

@ravinderk I think to close this one out then we have to check that Admin AJAX is accessible before allowing to run the upgrade:

2018-01-05_09-35-49

Otherwise the site gets stuck updating at 0% and we don't want that to happen.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants