Support » Fixing WordPress » Auto-updates failing

  • shacker

    (@shacker)


    On one of my sites, auto-updates never work. I don’t see a failure message — they just don’t happen. I installed the Background Update Tester plugin and it reports that all tests PASS, and says: “This site is able to apply these updates automatically. Cool!” and yet updates don’t happen (I’m still waiting for 3.8.1 to land, but it won’t).

    I don’t see an error log for auto-updates anywhere. How can I debug the problem without logs?

    I can update manually just fine, but would really like to get auto-updates working.

    Thanks for any insight.

Viewing 10 replies - 1 through 10 (of 10 total)
  • Hi Shacker,

    May be you can try to disable all the plugin and theme and activate any standard WordPress theme (any default theme that is untouched) and try to update the WordPress.
    If you still get the error, it might be your web hosting company as I have a similar instance with ALL my WP installations after moving to xyz hosting company.

    Curious about the cause of this and would appreciate if you try post the result 🙂

    Thanks,
    Marshall

    Thread Starter shacker

    (@shacker)

    Hi Marshall –

    How long is it between runs of auto-update attempts. I’d hate to leave the theme and plugins disabled for days. There’s got to be a better way to trouble shoot this!

    I run the hosting company 🙂 We have hundreds of WP sites with auto-update working fine – it’s just this one that is refusing to play nice and I have no idea why.

    Thanks for any other suggestions!

    Hi,
    You can try to update t right away using this url structure example.com/wp-admin/update-core.php

    Here example.com is the domain where WP is installed and reactivate the plugins right away after the update process.

    Once again, there would be two possibilities, success or failure and in later case, further troubleshooting 🙂

    Marshall

    Thread Starter shacker

    (@shacker)

    Hi Marshall –

    Forcing it like that (by manually accessing update-core.php) always succeeds – no problems with that in the past. It’s just the waiting for it to do it itself that never happens.

    Thanks,
    Scot

    Andrew Nevins

    (@anevins)

    WCLDN 2018 Contributor | Volunteer support

    I don’t see an error log for auto-updates anywhere. How can I debug the problem without logs?

    Did you check your apache error logs?

    Thread Starter shacker

    (@shacker)

    Not sure what to search for in apache logs, but I just installed the Advanced Updates Manager, which has an option to send debug info with emails – hoping I’ll get something useful from that next time it checks.

    Andrew Nevins

    (@anevins)

    WCLDN 2018 Contributor | Volunteer support

    Try asking your hosting providers if they know where the apache error logs are

    Thread Starter shacker

    (@shacker)

    Again, I RUN the hosting service and I know exactly where the apache error logs are. I don’t see anything remotely related to WP or upgrades. Here is the complete output of

    grep "/home/bird/public_html/blog" error_log

    http://pastebin.com/2YEErhRm

    The question was whether there is something else I should be looking for in the error log.

    Thanks,
    Scot

    Thread Starter shacker

    (@shacker)

    Finally solved! I didn’t want to disable plugins and then just wait around for AU to try on its own time, but finally started disabling plugins one at a time. Most reluctantly, I disabled Better WP Security, and 12 hours later the site updated itself.

    So there is a conflict with that plugin. Specifically, I believe (but am not sure) it’s the setting “Hide core update notifications from users who cannot update themes.” However that setting also says “Please note that this only makes a difference in multi-site installations” which this site is not. We’ll see.

    So, problem solved but only through trial and error. The apparent complete lack of activity logging in WP core made this problem extremely difficult to solve.

    Anyway, yay!

    esmond1948

    (@esmond1948)

    Hi there,I am having similar problems.
    Through trial & error, I have established that after updating to wordpress 3.8.0, all later WP & plugin updates through the admin fail.
    All automatic updates are uploading update files to /var/www/vhost/siteurl…/wp-content/plugins/ then dialogue says updates sucessful.
    Then on checking the plugins in the admin, nothig has been updated.
    When manually uploading updates directly to /wp-cntent/plugins/, all updates are correctly updated. It would appear that after the WordPress update to 3.8.0, all updated & new plugins are uploading to the wrong folder.
    Both /wp-content/plugins & /var/www/vhost/siteurl…/wp-content/plugins/
    are separate folder structures in the root of the site.
    After deleting the folders & files in /var/www/vhost/siteurl/wp-content/plugins/, the site still functioned correctly. I then tried to add another plugin through the admin with the result that the plugin did not install, but, the folder structure /var/www/vhost/siteurl…/wp-content/plugins/ was re-created and contained the new plugin.
    The question is, how can I correct the location for the file uploads to /wp-content/plugins?

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘Auto-updates failing’ is closed to new replies.