• Hello there,

    one of our 190 WordPress installations doesn’t auto update to v5.2.4. 189 installations do – this one doesn’t. We would be so happy if someone could help us with this problem or tell us where we could investigate it more.

    What we tried so far:
    – wp-config.php:
    Added define('WP_AUTO_UPDATE_CORE', 'minor'); or define('WP_AUTO_UPDATE_CORE', true); although this shouldn’t be necessary.
    —> doesn’t help

    – Used the plugin https://www.ads-software.com/plugins/background-update-tester/
    —> says “PASS” to all four tests:

    PASS: Your WordPress install can communicate with www.ads-software.com securely.
    PASS: No version control systems were detected.
    PASS: Your installation of WordPress doesn’t require FTP credentials to perform updates.
    PASS: All of your WordPress files are writable.

    This site is able to apply these updates automatically. Cool!

    – Added the filter add_filter( 'auto_update_core', '__return_true' );
    —> doesn’t help

    – We activated WordPress error logging and didn’t see any errors in debug.log after surfing a while on front- and backend.

    The WordPress itself runs smoothly without any flaws. On the same server we have about 100 WordPresses running in the exact same environment (PHP7.1, MySQL5.7.27) without background update problems.

    Some weeks ago we posted here another problem with background auto updates of another of our WordPress installations and we got helped. The problem there was Basic Auth set on the particular WordPress. But this time the WordPress is not behind Basic Auth.

    Thank you all for your help in advance and many greetings
    – doffine

Viewing 2 replies - 1 through 2 (of 2 total)
  • I would upgrade to PHP 7.3.x. It will fix several bugs and give you a performance boost. Being on the latest LAMP components resolve a lot of issues with WP.

    What errors are in the logs on the server web engine like in Apache? Did you enable debug to see if it has anything? Did you try renaming .htaccess and trying it. Something in it could be blocking it. When I setup Require IP in .htaccess, I had to add the actual server IP to get loopback to resolve and Heath Check to go to good.

    Thread Starter doffine

    (@doffine)

    Hello @scsiraidguru,

    thank you very much for your well-founded advice. When I came to the office this morning I saw that in the meantime the auto update had taken place – this morning at 7am. This is about 30 hours after all of our other WordPresses auto updated – and without me having done anything.

    But allow me a last question: Of course I’m playing with the thought going to PHP 7.3.x for quite a time because of the obvious advantages. And perhaps this auto update issue wouldn’t have happended. But we use about 150+ different plugins and about 30+ different themes. So I’m worrying if we will get problems because of some not updated components. All of the plugins are explicitly not outdated since we always take care to use newest and if possible wide spread components. So I wanted to wait as long as possible to upgrade to PHP 7.3.x (as mentioned above its 190 WordPresses) and perform it then for all WordPresses, since I want to have a landscape as homogeneous as possible. So I don’t want to update this bunch of WordPresses and the other not – controlling every single component. This is the reason for me to adjourn the mass upgrade as long as possible – so that every component manufacturer had enough time to upgrade compatibility to PHP 7.3.x.

    So the question is: Have you any experience in upgrading WordPresses to PHP 7.3.x at this point of time? Does this process go fluently mostly or are there still frequent issues with the use of PHP 7.3.x?

    Many thanks for your help and opinion again,
    – doffine

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Auto Update of WordPress doesn’t work’ is closed to new replies.