Some sites are not automatically syncing

Before I open a ticket, I figured I could ask the community, and yes I did do a search before posting. More than half of my child sites are not syncing automatically but some are. All sites are in Docker containers but uses the same settings and configurations. Some sites are hosted on different servers and they also sync properly. Each container has a cron that executes wp cron event run --due-now so I know cron is working just fine when tested with a scheduled test post.

How would you diagnose this?

### WordPress Check                Required                                               Detected                                     Status   ###

FileSystem Method                  = direct                                               direct                                       Pass        
MultiSite Disabled                 =true                                                  true                                         Pass        
WordPress Memory Limit             >=64M                                                  40M                                          Warning     
WordPress Version                  >=6.2                                                  6.4.3                                        Pass        

### PHP                            Required                                               Detected                                     Status   ###

cURL Extension Enabled             =true                                                  true                                         Pass        
cURL Timeout                       >=300 seconds                                          60                                           Warning     
cURL Version                       >=7.29.0                                               8.5.0                                        Pass        
OpenSSL Version                    >=OpenSSL/1.1.0                                        OpenSSL/3.1.2                                Pass        
OpenSSL Working Status             Yes                                                    Yes                                          Pass        
PCRE Backtracking Limit            >=10000                                                1000000                                      Pass        
PHP Allow URL fopen                N/A                                                    YES                                                      
PHP Disabled Functions             N/A                                                    , pcntl_alarm, pcntl_async_signals, pcntl_exec, pcntl_fork, pcntl_get_last_error, pcntl_getpriority, pcntl_setpriority, pcntl_signal, pcntl_signal_dispatch, pcntl_signal_get_handler, pcntl_sigprocmask, pcntl_sigtimedwait, pcntl_sigwaitinfo, pcntl_strerror, pcntl_wait, pcntl_waitpid, pcntl_wexitstatus, pcntl_wifcontinued, pcntl_wifexited, pcntl_wifsignaled, pcntl_wifstopped, pcntl_wstopsig, pcntl_wtermsig,            
PHP Exif Support                   N/A                                                    YES                                                      
PHP IPTC Support                   N/A                                                    YES                                                      
PHP Loaded Extensions              N/A                                                    Core, PDO, Phar, Reflection, SPL, SimpleXML, Zend OPcache, bcmath, cgi-fcgi, ctype, curl, date, dom, exif, fileinfo, filter, ftp, gd, hash, iconv, imagick, intl, json, libxml, mbstring, mysqli, mysqlnd, openssl, pcre, pdo_mysql, posix, readline, session, soap, sockets, sodium, ssh2, standard, tokenizer, xml, xmlreader, xmlwriter, zend_test, zip, zlib            
PHP Max Execution Time             >=30 seconds                                           300                                          Pass        
PHP Max Input Time                 >=30 seconds                                           600                                          Pass        
PHP Memory Limit                   >=256M                                                 256M                                         Pass        
PHP Post Max Size                  >=2M                                                   128M                                         Pass        
PHP Safe Mode Disabled             =true                                                  true                                         Pass        
PHP Upload Max Filesize            >=2M                                                   128M                                         Pass        
PHP Version                        >=7.4                                                  8.1.26                                       Pass        
PHP XML Support                    N/A                                                    YES                                                      
SSL Extension Enabled              =true                                                  true                                         Pass        
SSL Warnings                       = empty                                                                                             Pass        

### MySQL                          Required                                               Detected                                     Status   ###

MySQL Client Encoding              N/A                                                    utf8                                                     
MySQL Mode                         N/A                                                    ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION            
MySQL Version                      >=5.0                                                  10.11.5-MariaDB                              Pass        

### Server Configuration           Detected Value                                      ###

Accept Content                     text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Charset Content             N/A                                                    
Architecture                       64		 bit                                               
Gateway Interface                  CGI/1.1                                                
HTTPS                              ON                                                     
Memory Usage                       15.51 MB                                               
Operating System                   Linux                                                  
Request Time                       1708389488                                             
Server Protocol                    HTTP/1.1                                               
Server self connect                Not expected HTTP response body:                       
Server Software                    nginx/1.25.3                                           
User Agent                         Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/17.3.1 Safari/605.1.15

### MainWP Dashboard Settings      Detected Value                                      ###

Abandoned plugins/themes tolerance 365                                                    
Basic uptime monitoring enabled    No                                                     
MainWP Dashboard Version           Latest: | Detected: Pass               
MainWP legacy backups enabled      No                                                     
Maximum number of pages to return                                                         
Maximum number of posts to return                                                         
Maximum simultaneous install and update requests3                                                      
Maximum simultaneous requests      4                                                      
Maximum simultaneous requests per ip1                                                      
Maximum simultaneous sync requests 8                                                      
Minimum delay between requests     200                                                    
Minimum delay between requests to the same ip1000                                                   
Number of connected sites          14                                                     
Optimize for shared hosting or big networksNo                                                     
Plugin advanced automatic updates enabledYes                                                    
Primary Backup System              WPvivid Backup for MainWP                              
REST API enabled                   No                                                     
Site health monitoring enabled     No                                                     
Theme advanced automatic updates enabledYes                                                    
Use WP Cron                        Yes                                                    
WP Core advanced automatic updates enabledYes                                                    

### Extensions                     Version                                                License                                      Status   ###

Activity Log for MainWP            2.1.1                                                                                                           
Advanced Uptime Monitor Extension  5.2.6                                                  Active                                       Pass        
MainWP Bulk Settings Manager Extension4.0.5                                                  Active                                       Pass        
MainWP Client Reports Extension    4.0.14                                                 Active                                       Pass        
MainWP Google Analytics Extension  4.1.4                                                  Active                                       Pass        
MainWP Maintenance Extension       4.1.2                                                  Active                                       Pass        
MainWP Pro Reports Extension       4.2                                                    Active                                       Pass        
MainWP Staging Extension           4.0.5                                                  Active                                       Pass        
MainWP Wordfence Extension         4.0.10                                                 Active                                       Pass        
WPvivid Backup MainWP              0.9.32                                                                                                          

### Plugin                         Version                                                Status                                    ###

Activity Log for MainWP            2.1.1                                                  Active                                       
MainWP Client Reports Extension    4.0.14                                                 Active                                       
MainWP Dashboard                                                         Active                                       
MainWP Key Maker                   1.2                                                    Active                                       
Redis Object Cache                 2.5.0                                                  Active                                       
Wordfence Security                 7.11.3                                                 Active                                       
WP Mail Logging                    1.12.0                                                 Active                                       
WP Mail SMTP                       3.11.1                                                 Active                                       
WPvivid Backup MainWP              0.9.32                                                 Active                                       
WPvivid Backup Plugin              0.9.95                                                 Active                                       
WPvivid Plugins Pro                2.2.23                                                 Active                                       

@cim Within your System Report I see:

Use WP Cron Yes

WP Cron has the caveat that you need to visit the site once in a while for it to pop-off and run the cron jobs.

If you want to make sure that WP Cron jobs are regularly triggered on your MainWP Dashboard, you could use an Uptime Checking service, like Uptime Robot , and add your Dashboard site as a monitor.

The Uptime Robot will ping your dashboard site regularly and make sure that all scheduled events are occurring.

1 Like

Each site’s WP container has logrotate installed and configured properly to execute wp cron event run --due-now so cron is working properly with define( 'DISABLE_WP_CRON', true );.

As you can see from the screenshot with the cron jobs, the required cron jobs were executed recently. I’m just wondering if someone had a similar case to mine.

1 Like

@cim Thank you for the clarification - please don’t hesitate to open an official ticket if no-one with the same setup chimes in.

I am gonna try the individual PHP file cron option stated here. How often is this page updated?

@cim Our Knowledgebase is updated frequently.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.