• Resolved Joseph Dickson

    (@josephdickson)


    Hi everyone,
    I’m getting a 500 error when I hit the button to “Upgrade Network”

    example the button that appears at this url if it was valid.
    domain.me/wp-admin/network/upgrade.php

    I decided to go into each of my sites on the network and upgrade them individually to see if that helps.

    example
    domain.me/site-one/wp-admin/upgrade.php
    domain.me/site-two/wp-admin/upgrade.php
    domain.me/site-three/wp-admin/upgrade.php

    Each upgraded fine but when I go back update the network it still fails after trying for a minute or two.

    I’ve turned off plugins and restarted them one by one. I also debugged my themes and at https://codex.ww.wp.xz.cn/Updating_WordPress

    I’m currently sorting through the detailed instructions at https://codex.ww.wp.xz.cn/Upgrading_WordPress_Extended

    I’m out of ideas, any help is appreciated.

Viewing 11 replies - 1 through 11 (of 11 total)
  • Plugins or themes can break upgrades. Have you tried selecting a default theme before “Upgrade Network”? One quick way to “disable” plugins is by renaming the plugin directory, for example I rename it to plugin.bak. Also make sure you dont have any MU (must use) plugins in mu-plugins

    And if all fails, you can install the latest version of WP manually.

    Thread Starter Joseph Dickson

    (@josephdickson)

    @jkhongusc

    I’ll try disabling themes I’ve got about 71 sites on this multi site so it will take some time.

    > I’ll try disabling themes I’ve got about 71 sites on this multi site so it will take some time.

    You only need to change the theme on the main site.

    Thread Starter Joseph Dickson

    (@josephdickson)

    Great I hoped as much, I’m trying it now.

    Thread Starter Joseph Dickson

    (@josephdickson)

    Sadly that didn’t work, I suspect the problem lays in my database size (it’s over 110mb) or something unrelated to WordPress.

    I get 500 errors when I try to download it form phpmyadmin as well.

    For the record each site upgraded okay within the network itself. It’s just the Network Upgrade that’s giving me the 500 error.

    Do you have access to your server logs, especially the error logs? You should try enabling debugging in WP – https://codex.ww.wp.xz.cn/Debugging_in_WordPress

    Sometimes there are memory errors that prevent things like updates…mainly due to db queries/sizing.

    Thread Starter Joseph Dickson

    (@josephdickson)

    I’ll try those. Regretfully I’m not working with a pre-produciton server so those errors will display live πŸ™‚

    Thread Starter Joseph Dickson

    (@josephdickson)

    This was the only error.

    Notice: has_cap was called with an argument that is deprecated since version 2.0! Usage of user levels by plugins and themes is deprecated. Use roles and capabilities instead.

    Time to hunt down the culprit.

    Thread Starter Joseph Dickson

    (@josephdickson)

    Okay that particular error was caused by a plugin not active on the network but active on the root site. CAS Maestro which is used to bypass login and use our local authentication server. It hasn’t been updated for over two years.

    It didn’t solve my 500 problem, I am starting to suspect this is a hosting issue and will have to check with IT.

    Thread Starter Joseph Dickson

    (@josephdickson)

    @jkhongusc,

    Thanks for helping me troubleshoot my site. I’m going to mark this thread as solved.

    I think this is a server issue and not actually a WordPress Multi site problem.

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

The topic ‘500 error while upgrading network for to 4.5’ is closed to new replies.