Automatic Updates not working on Multisite?
-
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.phpnot use constants like ..CRON.. and ..UPDATE..
ACTIVE PLUGINS:

WP-Cron Events:

Apache:2.4.10
Nginx:1.11.6
PHP:7.0.15
-
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 );”
http://codex.ww.wp.xz.cn/Configuring_Automatic_Background_Updates
Was that your issue?
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-contentdirectory inwp-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' );
Are you have WP MultiSite?
Is the automatic update works?-
This reply was modified 9 years, 3 months ago by
Roman Krokhmalyuk.
What settings have you setup on Easy Updates Manager?



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 9 years, 3 months ago by
Matthew.
Didn’t work

The logs are empty

OK, let me do some testing and see if I can replicate this issue.
Maybe @ronalfy can help test quickly as well.
I can confirm that EUM does indeed work with multisite.
Here’s a test I ran for sanity sake.

What host provider are you using? Also did you install WordPress manually or through a cPanel one click install?
Beget web hosting
Using one click install:

-
This reply was modified 9 years, 3 months ago by
Roman Krokhmalyuk.
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://ww.wp.xz.cn/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.
I have several sites on Beget.
And if WordPress not MultiSite — automatic updates work fine.
As I wrote:In
wp-config.phpI 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 fixedI 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 fixedThere 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.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.
-
This reply was modified 9 years, 3 months ago by
The topic ‘Automatic Updates not working on Multisite?’ is closed to new replies.