• Hi,
    I’m using WordPress v.4.7.2 and theme Twenty Seventeen v.1.1 as Multisite network of 10 subdomain sites.
    Does in this case auto-update work?
    Does not work for me.

    In wp-config.php not use constants like ..CRON.. and ..UPDATE..
    ACTIVE PLUGINS:
    ACTIVE PLUGINS
    WP-Cron Events:
    WP-Cron Events
    Apache:2.4.10
    Nginx:1.11.6
    PHP:7.0.15

Viewing 15 replies - 1 through 15 (of 22 total)
  • Note that by default wordpress doesn’t do ANY automatic updates when it detects that version control is in use as evidenced by the text “For Developers: To enable automatic updates even if a VCS folder (.git, .hg, .svn etc) was found in the WordPress directory or any of its parent directories:

    add_filter( ‘automatic_updates_is_vcs_checkout’, ‘__return_false’, 1 );”

    https://codex.www.ads-software.com/Configuring_Automatic_Background_Updates

    Was that your issue?

    Thread Starter Roman Krokhmalyuk

    (@llgruff)

    NO, I don’t use Version Control Systems.
    As experiment I include must-use plugin:

    
    /*
    Plugin Name: Auto Update
    Description: A plugin for control updates
    Version: 1.0
    Author: llgruff
    */
    add_filter('automatic_updates_is_vcs_checkout',	'__return_false', 1);
    add_filter('auto_update_core',			'__return_true');
    add_filter('auto_update_theme',			'__return_true');
    add_filter('auto_update_translation',		'__return_true');
    add_filter('auto_core_update_send_email',	'__return_true');
    

    Only “not-standart” that I made — renamed the WordPress wp-content directory in wp-config.php:

    
    define( 'WP_CONTENT_DIR', $_SERVER['DOCUMENT_ROOT'] . '/main' );
    define( 'WP_CONTENT_URL', 'https://'. $_SERVER['HTTP_HOST'] . '/main' );
    define( 'WP_PLUGIN_DIR',  $_SERVER['DOCUMENT_ROOT'] . '/main/plugins' );
    define( 'WP_PLUGIN_URL',  'https://'. $_SERVER['HTTP_HOST'] . '/main/plugins' );
    

    update
    Are you have WP MultiSite?
    Is the automatic update works?

    Plugin Contributor Matthew

    (@kidsguide)

    What settings have you setup on Easy Updates Manager?

    Thread Starter Roman Krokhmalyuk

    (@llgruff)

    Easy Updates Manager
    Easy Updates Manager
    Easy Updates Manager

    Plugin Contributor Matthew

    (@kidsguide)

    Ok, all your settings look correct. Have you trying using the “Force Updates” button in the Advanced tab? Push it and wait about 60-120 seconds and then refresh the page and see if any plugins/themes/core was updated.

    • This reply was modified 7 years, 10 months ago by Matthew.
    Thread Starter Roman Krokhmalyuk

    (@llgruff)

    Didn’t work
    updates

    The logs are empty
    updates

    Plugin Contributor Matthew

    (@kidsguide)

    OK, let me do some testing and see if I can replicate this issue.

    Maybe @ronalfy can help test quickly as well.

    Plugin Contributor Ronald Huereca

    (@ronalfy)

    I can confirm that EUM does indeed work with multisite.

    Here’s a test I ran for sanity sake.

    EUM Logs - Multisite Automatic Updates

    Plugin Contributor Matthew

    (@kidsguide)

    What host provider are you using? Also did you install WordPress manually or through a cPanel one click install?

    Thread Starter Roman Krokhmalyuk

    (@llgruff)

    Beget web hosting
    Using one click install:
    cPanel

    Plugin Contributor Matthew

    (@kidsguide)

    I have contacted Beget hosting asking them if they override WordPress automatic updates. We will see what they come back with.

    Some hosting companies (seems like more and more now) are disabling WordPress and other automatic updates by default. Also cPanel (see https://www.ads-software.com/support/topic/what-about-cpanel-installs/) is modifying the WordPress version that gets installed through the one click installs. Because of this your WordPress version could very well have some modified code in it that is disabling automatic updates.

    Thread Starter Roman Krokhmalyuk

    (@llgruff)

    I have several sites on Beget.
    And if WordPress not MultiSite — automatic updates work fine.
    As I wrote:

    In wp-config.php I not use constants like ..CRON.. and ..UPDATE..

    5 minutes ago:
    1. I downloaded WordPress 4.7.1. from Release Archive
    2. Then opened file manager and replaced all files, except wp-config.php and wp-content
    3. I tried use “Force Updates”, but the problem is not fixed

    Plugin Contributor Matthew

    (@kidsguide)

    I have several sites on Beget.
    And if WordPress not MultiSite — automatic updates work fine.
    As I wrote:

    In wp-config.php I not use constants like ..CRON.. and ..UPDATE..

    5 minutes ago:
    1. I downloaded WordPress 4.7.1. from Release Archive
    2. Then opened file manager and replaced all files, except wp-config.php and wp-content
    3. I tried use “Force Updates”, but the problem is not fixed

    There are many other ways of disabling automatic updates then adding a constant to your wp-config.php. Since you replaced all the files, it is probably not the hosts side of things, although I still like to check.

    So you have other websites on Beget that automatic updates are working fine on?

    You tried above to use some code to automatically update plugins, core, and themes. Since that didn’t work I don’t think this problem is actually anything to do with Easy Updates Manager. This is a problem with either your server configurations/host provider or with the WordPress version and plugins/themes on your website conflicting with the automatic update process.

    Hello,

    my name is Alex and I’m LTD Beget technical engineer.
    We hadn’t modified WP for auto-installing, we use vanilla version. And, of course, we aren’t blocking WP updates.
    I think that there could be a problem with WP pseudo-Cron sheduling system, but we haven’t any ideas how to check this.

    Plugin Contributor Matthew

    (@kidsguide)

    Hello,

    my name is Alex and I’m LTD Beget technical engineer.
    We hadn’t modified WP for auto-installing, we use vanilla version. And, of course, we aren’t blocking WP updates.
    I think that there could be a problem with WP pseudo-Cron sheduling system, but we haven’t any ideas how to check this.

    Thanks @shoroop!

    If Beget is not blocking automatic updates at all, then that can’t be the issue. It could very well be cron that is causing this to not work. Either way, I don’t think this is an issue with Easy Updates Manager or Beget.

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