• Hi

    We developed our site on WP 4.0. This was deployed from beta to a live environment. Up on going live, WP updated itself to 4.0.1 automatically. The site was running fine for about 12 hours or so. There after we received alerts for the site.
    Wordpress Admin section (with admin login) showed the following message on dashboard.
    “An Automated wordpress update has failed to complete – please attempt the ugrade now.”
    The posts were not showing in ‘posts’ section.
    On Front end Home page was throwing 500 in http response , and other pages had 404 response, perhaps due to failure of rewrite rules.

    SERVER : AWS apache
    OS : Cent OS 6.5
    PHP : 5.6.3
    MySQL : 5.6

    We did not have the following lines in our wp-config.
    define(‘DISALLOW_FILE_MODS’, true );
    define(‘WP_AUTO_UPDATE_CORE’, false );
    define(‘AUTOMATIC_UPDATER_DISABLED’, true);

    However, we encountered the same issue even after we put these constants in wp-config.php, that is, after we reverted to the code base from our git repository. But, we did not make any changes to database.

    The site has lots of additional plugins and a custom theme.
    all-in-one-seo-pack
    bj-lazy-load
    breadcrumb-navxt
    category-seo-meta-tags
    cc_fan_of_the_day
    cc_liveblog
    cc_match_schedule
    cc_match_scroller
    co-authors-plus
    custom-post-type-ui
    disqus-comment-system
    editors-pick
    google-news-xml-sitemap
    google-sitemap-generator
    horizontal-scrolling-announcement
    india_custom_shortcode
    india_custom_tag_page
    india_featured_writers
    india_templatize.php
    jm-twitter-cards
    limit-login-attempts
    liveblog
    mailchimp-for-wp
    nextgen-gallery
    php-code-widget
    quick-link-widget
    remove-category-url
    s3-bucket-upload
    sem-author-image
    si-contact-form
    simple-fields
    simple-user-listing
    tinymce-advanced
    w3-total-cache
    wp-open-graph
    wp-post-thumbnail
    xml-sitemaps-for-videos

    What can be the issue?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Almost anything. Temporarily disable all the plugins (that is a LOT of plugins—you should consider whether they are really all needed) and switch to the default 2014 or 2015 theme and attempt the upgrade again.

    Thread Starter pawarsac

    (@pawarsac)

    @kjodle : Site works with all of plugins (all are required). But why it fail after few hours of well doing ?

    Even after defining
    define(‘DISALLOW_FILE_MODS’, true );
    define(‘WP_AUTO_UPDATE_CORE’, false );
    define(‘AUTOMATIC_UPDATER_DISABLED’, true);

    why it tries to upgrade?

    Site works with all of plugins (all are required). But why it fail after few hours of well doing ?

    Apparently it doesn’t work with all of those plugins.

    Again, try temporarily disabling plugins and attempting the upgrade.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘An Automated wordpress update failed’ is closed to new replies.