• Hi all,

    I am using WordPress 4.6.1 with Easy Updates Manager 6.2.3, but automatic updates are not working.

    The plugin Background Update Tester says everything is fine:

    – 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.

    I am triggering wp-cron.php via an manual Cron-Job from the OS, but WP Cron is also enabled.
    The Plugin UpdraftPlus, which is also triggered by WP Cron is working: Backups are done automatically.

    I activated logging within Easy Updates Manager, but there are no log entries. Also “Force updates” does not work.

    Can anyone help me with this issue?

    Thanks in advance!
    André

    • This topic was modified 8 years, 1 month ago by ajanus.
Viewing 15 replies - 1 through 15 (of 25 total)
  • Plugin Contributor Ronald Huereca

    (@ronalfy)

    André,

    What are your automatic update settings?

    Thread Starter ajanus

    (@ajanus)

    Everything is activated except updates to dev/beta versions.
    There are no themes or plugins excluded.

    Thread Starter ajanus

    (@ajanus)

    Anyone an idea?

    Maybe there is a possibility to log something?

    Or do add a hook to see if update methods are called?

    Plugin Contributor Matthew

    (@kidsguide)

    Sorry for the late reply @ajanus.

    Have you made sure that there is nothing in your wp-config.php interfering with updates? Look for something like
    define( 'WP_AUTO_UPDATE_CORE', false );
    Also, which host do you use? Some hosts override some WordPress settings.

    Or do add a hook to see if update methods are called?

    I am fairly positive that we don’t have a hook for that. @ronalfy would need to confirm that though.

    I activated logging within Easy Updates Manager, but there are no log entries. Also “Force updates” does not work.

    Is it logging manual updates? Or is nothing being logged at all?

    • This reply was modified 8 years, 1 month ago by Matthew.
    Thread Starter ajanus

    (@ajanus)

    Thank you for your reply!

    I searched all *.php – and especially wp-config.php – files under my WordPress directory for AUTOMATIC_UPDATER_DISABLED, WP_AUTO_UPDATE_CORE and DISABLE_WP_CRON, but found nothing wrong.

    What do you mean with “host”? The operating system on the machine, on which WordPress is installed, is Debian. But wordpress is installed manually and not via apt-get or something else.

    It is logging nothing at all. Manual updates work, but there are no logs after executing them.

    Plugin Contributor Matthew

    (@kidsguide)

    What do you mean with “host”? The operating system on the machine, on which WordPress is installed, is Debian. But wordpress is installed manually and not via apt-get or something else.

    I mean who hosts your website. So your host provider. GoDaddy, Bluehost, SiteGround, Dreamhost, etc.

    It is logging nothing at all. Manual updates work, but there are no logs after executing them.

    Then something must be interfering with Easy Updates Manager. Perhaps a plugin or theme on your website is conflicting with Easy Updates Manager. What plugins and themes do you have on your website? Maybe disabling all plugins and switching to the Twenty Sixteen or Twenty Fifteen theme will help show if it is a plugin/theme conflict or not.

    Thread Starter ajanus

    (@ajanus)

    I mean who hosts your website. So your host provider. GoDaddy, Bluehost, SiteGround, Dreamhost, etc.

    This WordPress is “self-hosted” on a VM with Debian Linux.

    Then something must be interfering with Easy Updates Manager. Perhaps a plugin or theme on your website is conflicting with Easy Updates Manager. What plugins and themes do you have on your website? Maybe disabling all plugins and switching to the Twenty Sixteen or Twenty Fifteen theme will help show if it is a plugin/theme conflict or not.

    That is a good hint! There are only a few – very common – Plugins installed: Akismet (deactivated), Background Update Tester, Contact Form 7, Easy Updates Manager, Hello Dolly (deaktivated), UpdraftPlus, WP-Mail-SMTP. The Theme (Catch Base) may be a candidate for making trouble… I will deactivate them (one by one) and see if this wil help…

    Thread Starter ajanus

    (@ajanus)

    I deactivated all Plugins and switched the Theme to Twenty Sixteen, but the open updates (one Plugin: UpdraftPlus and one translation) were not performed. So I guess there is no conflict with a Plugin or the (Catch Base) Theme.

    But I have to correct myself: There were updates performed in the past weeks: from 4.5.2 to 4.5.3 in June and from 4.5.3 to 4.5.4 in September. So at least the minor updates seem to work.

    The update to 4.6.1 was started manually in October.

    Plugin Contributor Matthew

    (@kidsguide)

    Even if you wait 24 hours they still don’t automatically update?

    Thread Starter ajanus

    (@ajanus)

    No, I deactivated the Plugins and switched the Theme yesterday. But nothing happend until 24h later (this morning), when I reactivated the Plugins and switched to the old Theme.

    Plugin Contributor Matthew

    (@kidsguide)

    We must be missing something.

    Have you tried manually setting automatic updates to rule out Easy Updates Manager causing the problem? Try using the following filters to enable automatic plugin and theme updates. Then disable Easy Updates Manager and wait a day to see if the plugins and themes automatically update or not.

    add_filter( 'auto_update_plugin', '__return_true' );
    add_filter( 'auto_update_theme', '__return_true' );

    Also to rule help narrow down the issue, do any automatic update plugins work for you? Try using Advanced Automatic Updates and see if it works.

    Thread Starter ajanus

    (@ajanus)

    No, I did not try manual settings. In which file should I add the two lines of code?

    I tried another automatic update plugin (called Update Control), but it did not work, too. I will try Advanced Automatic Updates next. If it does not work there either, it looks like it is has nothing to do with Easy Updates Manager.

    • This reply was modified 8 years ago by ajanus. Reason: typo
    Plugin Contributor Matthew

    (@kidsguide)

    In which file should I add the two lines of code?

    I believe you add it at the bottom of your wp-config.php.

    I tried another automatic update plugin (called Update Control), but it did not work, too. I will try Advanced Automatic Updates next. If it does not work there either, it looks like it is has nothing to do with Easy Updates Manager.

    Exactly. I am thinking that it is not a problem at all with Easy Updates Manager.

    Thread Starter ajanus

    (@ajanus)

    I deactivated Easy Updates Manager and added the following lines to wp-config.php:

    add_filter( 'auto_update_core', '__return_true' );
    add_filter( 'allow_minor_auto_core_updates', '__return_true' );
    add_filter( 'allow_major_auto_core_updates', '__return_true' );
    add_filter( 'auto_update_plugin', '__return_true' );
    add_filter( 'auto_update_theme', '__return_true' );
    add_filter( 'auto_update_translation', '__return_true' );

    After waiting another 24h the open update (a translation) was not executed automatically.

    Despite the fact that this seems not to be a problem with Easy Updates Manager, has anyone an idea what I can do.

    One remark: The button “Force updates” in Easy Updates Manager does not work, but the button “Update translation” (in this case) on the WordPress Updates site works.

    Plugin Contributor Matthew

    (@kidsguide)

    Perhaps it is something to do with your hosting setup. I found many people saying to do the following.

    Your installation of WordPress doesn’t require FTP credentials to perform updates. If it does just add define('FS_METHOD','direct'); in the wp-config.php or add the credentials via some of those constants

    define('FS_CHMOD_FILE', 0755);
    define('FS_CHMOD_DIR', 0755);
    define('FS_METHOD', 'ftpext');
    define('FTP_BASE', '/httpdocs/');
    define('FTP_CONTENT_DIR', '/httpdocs/wp-content/');
    define('FTP_PLUGIN_DIR ', '/httpdocs/wp-content/plugins/');
    define('FTP_USER', 'username');
    define('FTP_PASS', 'password');
    define('FTP_HOST', '123.456.789');
    define('FTP_SSL', false);

    https://wordpress.stackexchange.com/questions/236282/automatic-updates-are-not-working

    So that is worth a shot. Play around with them to see if you can get it to work. Don’t forget to put your information in place of the username, password, and whatever else.

    Download the SysInfo plugin and copy the information from that over to here so that I can see your websites details. Just to help with troubleshooting.

Viewing 15 replies - 1 through 15 (of 25 total)
  • The topic ‘Automatic Updates not working’ is closed to new replies.