• Resolved timbonicus

    (@timbonicus)


    When I attempt to update to 3.5.2 using the WordPress automatic update, it goes to the ‘Updating WordPress’ page with the header but no content on the page. Viewing the source, the output cuts out right after the header.

    There are no errors in the server log; returning to the admin works fine, it just doesn’t seem to have launched the update.

    I’d rather get to the bottom of it than do a manual install. Updating WordPress automatically has worked flawlessly up to this point. I’ve made sure the permissions are right with chown -R www-data in the WordPress directory.

    Any troubleshooting tips?

Viewing 3 replies - 1 through 3 (of 3 total)
  • I’d rather get to the bottom of it than do a manual install.

    In automated updates, all files are not replaced/overwritten, leaving some files either corrupt or incomplete. This happens quite often and affects site performance in many ways. So, I would suggest that you try a manual install.
    Just try to reinstall WordPress manually from a freshly downloaded copy except wp-content. Do not overwrite files/ folders but delete them before reinstalling.

    Backup your site including database so that you can restore in case anything goes wrong.

    Thread Starter timbonicus

    (@timbonicus)

    Right, if the automated install had run into a snag halfway through I’d definitely be concerned about corrupt or incomplete files. It seems as though the process doesn’t even start with my installation.

    Does the automatic installation produce a log file somewhere to record what it’s done? The wp-content/upgrade folder was created, but there’s nothing in there.

    I’m trying to dig rather than give up and do a manual install; if there’s a genuine WordPress problem I’d like to uncover it to help other users. If it’s a problem with my environment I’d like to fix it rather than revert to manual installation for all future updates.

    Thread Starter timbonicus

    (@timbonicus)

    After some spelunking, I found that this was caused by a double-include of the Upgrader class in a theme file.

    To be precise, Envato_WordPress_Theme_Upgrader from the envato-wordpress-toolkit-library was throwing an error “Cannot redeclare class Plugin_Upgrader”.

    I switched to one of the default WordPress themes, performed the upgrade without any trouble, then switched back. Marking this as resolved.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Blank screen on automatic update to 3.5.2’ is closed to new replies.