Support » Fixing WordPress » Plugin Update Progress Not Showing

  • kungfujosh

    (@kungfujosh)


    I manage a lot of sites on LiteSpeed servers, most of which were installed through Softaculous. Most things like themes and WordPress update fine and show the status, then shows all updates complete, etc…

    Using the WordPress Updates page, however, for most of the sites on those servers, it says “Updating Plugin … (#/#)” and then the screen doesn’t update after that at all. The plugins DO update, but the only way to tell it’s done is if you pay attention to the favicon loading spinner on the web page tab.

    Some sites do work, most don’t. For example, I have two sites on the same shared hosting account, with the same plugins, and one works, the other doesn’t. I also tried doing a manual installation to see if Softaculous might be the problem, but that had the same issues.

    Thanks,
    Josh

Viewing 9 replies - 1 through 9 (of 9 total)
  • JNashHawkins

    (@jnashhawkins)

    There’s probably a dozen or more ‘choke points’ between you and any given update process. You might reduce the number or the effect somewhat by buying more horsepower but I’d be surprised if over the long run you’d even see an 80% improvement there.

    I’d just learn to time things for when my server(s) wasn’t so busy and let the processes run. Of course, if you really need the extra horsepower then buy it. But spend your money on things you need and throw a little extra time at the few times when things do stall out. If the upgrades happen consistently then I’d not worry too much about the ‘screens’.

    This isn’t all WordPress or certain plugins or even the timing. There are so many variables at work.

    kungfujosh

    (@kungfujosh)

    That’s not it at all. The servers are exceptionally fast. They run the wordpress updates faster than any server I’ve used in over 20 years. Resources are not the issue.

    Beyond that, it can’t be a resource issue because the sites that show the progress ALWAYS show the progress, and the sites that don’t NEVER show the progress.

    Random variables such as server lag won’t give consistent results like that.

    I have the same problem.
    wp-admin/update-core.php?action=do-plugin-upgrade – shows no progress during upgrade

    Admin page shows no progress during plugin upgrade on three different sites, different web hotels (no sub domains).
    – The page is empty(gray window to the right, but left and top admin bars are showing)
    – It does not refresh automatically after update is done.
    – Update works, page is displaying normally after refresh is done.

    From WordPress Codex: https://codex.wordpress.org/Dashboard_Updates_Screen
    – “Update Plugins – After checking Select All or one or more plugins, click this button to begin the automatic upgrade process. The following messages will display during and upon completion of the upgrade. Messages for each plugin being updated will display:

    The update process is starting. This process may take awhile on some hosts, so please be patient.
    Enabling Maintenance mode…”

    **** This does NOT show up! ****

    But:
    I have a sandbox VM – where plugin update works OK.
    – During upgrade, selected plugins still shows, one by one, more and more adding during progress.

    My sandbox runs PHP v.5 and my sites v.7.
    – Is this fact a part of the problem?

    Site #1, runs nginx/1.10, PHP 7.2, MariaDB 10.1, Wp 5.1
    Site #2, runs Apache 2.4, PHP 7.2, MySQL 5.7, Wp 5.1
    Site #3, runs Apache 2.4, PHP 7.2, MariaDB 10.2, Wp 5.1

    Sandbox site, runs Apache 2.4, PHP 5.6, MySQL 5.5, Wp 5.1

    I’ve tried different PHP versions with no change in behavior. Most of my sites are running on PHP 7.3. I’ve tried as far back as 5.6 on the ones that don’t work, and it doesn’t have an effect.

    Keep in mind also that the test example I posted above has two sites on the same shared hosting account, using the same PHP 7.3. One site works, one doesn’t. I don’t know what variable it is that makes it work or not work. The two sites have the same themes and plugins too.

    My hosting provider didn’t notice anything in the logs on their end either. It’s very weird!

    Thanks,
    Josh

    On the two sites listed above, I looked at the .htaccess files since that’s the only thing that I can think of that differentiates them. Still no progress.

    • This reply was modified 10 months, 3 weeks ago by kungfujosh.

    I have the same issue with two sites I manage. Do an update and the page displays as stigp stated:
    Admin page shows no progress during plugin upgrade on two different sites. Mine are on the same web hotels (no sub domains).
    – The page is empty(gray window to the right, but left and top admin bars are showing)
    – It does not refresh automatically after update is done.
    – Update works, page is displaying normally after refresh is done.

    While the updates seem to go okay, it’s frustrating not to have the admin page give any clue as to progress.

    Milt

    After some testing:
    Unwanted, troublesome way = no progress info during updates.
    Admin page → (in top bar) Updates
    – uses php page:
    http://your-domain.site/wp-admin/update-core.php

    Workaround suggestion:
    OK way, but more steps, resulting in preferred(to me) progress info during updates.
    Admin page → Plugins(side bar) → Available updates → All → Update → Update:
    – uses php page:
    http://your-domain.site/wp-admin/plugins.php?plugin_status=upgrade

    (What’s the difference in behaviour of the two pages functions?)
    Stig

    I figured it out (at least for my servers).

    Disable zlib output compression and the updates should show status correctly.

    It can be done via php.ini if your host allows that. Otherwise, I’ve done this through .htaccess with the following code:

    php_flag zlib.output_compression off

    Thanks,
    Josh

    @kungfujosh
    This is the exact fix that worked for me, good find.

Viewing 9 replies - 1 through 9 (of 9 total)
  • You must be logged in to reply to this topic.