Updatescheck not working

Hi,
I’ve been running https://mydomain.tld/wp-content/plugins/mainwp/cron/updatescheck.php from easycron.com for years without any problems.
Recently the number of outdated plugins isn’t updated anymore.
When I test the cronjob on easycron.com it succeeds.
Manually synching a child site with outdated plugins does update the number of plugins.
Looking forward to learn what I can do to make the updates work again.
Dashboard: 5.2.1; child plugins: 5.2.
Best,
Lukas

Hey @lhberg

Can you please post the community system report from your MainWP Dashboard for review? The report is located in your Dashboard under Info → Server, on the top right of the page.

Be sure to use the button like the one below; this button hides all your private information:

image

Pressing the button auto-copies the report to your clipboard then just paste it in a reply here.

Hi Bojan,
thanks.
Here you go.
Best,
Lukas


### WordPress Check                Required                                               Detected                                     Status   ###

FileSystem Method                  = direct                                               direct                                       Pass        
MultiSite Disabled                 =true                                                  true                                         Pass        
WordPress Memory Limit             >=64M                                                  1024M                                        Pass        
WordPress Version                  >=6.2                                                  6.6.2                                        Pass        

### PHP                            Required                                               Detected                                     Status   ###

cURL Extension Enabled             =true                                                  true                                         Pass        
cURL Timeout                       >=300 seconds                                          60                                           Warning     
cURL Version                       >=7.29.0                                               8.8.0                                        Pass        
Function `tmpfile` enabled         N/A                                                    Enabled                                      Pass        
OpenSSL Version                    >=OpenSSL/1.1.0                                        OpenSSL/1.1.1w                               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                                                    No functions disabled.                                   
PHP Exif Support                   N/A                                                    YES                                                      
PHP IPTC Support                   N/A                                                    YES                                                      
PHP Loaded Extensions              N/A                                                    Core, OAuth, PDO, Phar, Reflection, SPL, SimpleXML, Zend OPcache, apcu, bcmath, bz2, calendar, cgi-fcgi, ctype, curl, date, dba, dom, exif, fileinfo, filter, ftp, gd, gettext, gmp, gnupg, grpc, hash, iconv, imagick, imap, intl, json, ldap, libxml, mailparse, mbstring, mcrypt, memcache, memcached, mongodb, mysqli, mysqlnd, odbc, openssl, pcntl, pcre, pdo_dblib, pdo_mysql, pdo_pgsql, pdo_sqlite, pgsql, posix, pspell, readline, redis, scrypt, session, snmp, soap, sockets, sodium, solr, sqlite3, ssh2, standard, sysvmsg, sysvsem, sysvshm, tidy, tokenizer, xml, xmlreader, xmlrpc, xmlwriter, xsl, yaml, zip, zlib            
PHP Max Execution Time             >=30 seconds                                           300                                          Pass        
PHP Max Input Time                 >=30 seconds                                           300                                          Pass        
PHP Memory Limit                   >=256M                                                 1024M                                        Pass        
PHP Post Max Size                  >=2M                                                   128M                                         Pass        
PHP Safe Mode Disabled             =true                                                  true                                         Pass        
PHP Session enabled                N/A                                                    Enabled                                      Pass        
PHP Upload Max Filesize            >=2M                                                   128M                                         Pass        
PHP Version                        >=7.4                                                  8.1.29                                       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                                                    utf8mb4                                                  
MySQL Mode                         N/A                                                    ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION            
MySQL Version                      >=5.0                                                  10.6.18-MariaDB-log                          Pass        

### Server Configuration           Detected Value                                      ###

Accept Content                     text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/png,image/svg+xml,*/*;q=0.8
Accept-Charset Content             N/A                                                    
Architecture                       64         bit                                         
Gateway Interface                  CGI/1.1                                                
HTTPS                              ON                                                     
Memory Usage                       91.43 MB                                               
Operating System                   FreeBSD                                                
Request Time                       1726689081                                             
Server Protocol                    HTTP/2.0                                               
Server self connect                Response Test O.K.                                     
Server Software                    Apache                                                 
User Agent                         Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:130.0) Gecko/20100101 Firefox/130.0

### MainWP Dashboard Settings      Detected Value                                      ###

Abandoned plugins/themes tolerance 365                                                    
Basic uptime monitoring enabled    No                                                     
MainWP Dashboard Version           Latest: 5.2.1 | Detected: 5.2.1 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          66                                                     
Optimize data loading              Yes                                                    
Plugin advanced automatic updates enabledNo                                                     
Primary Backup System              MainWP WP Time Capsule Extension                       
REST API enabled                   No                                                     
Site health monitoring enabled     No                                                     
Theme advanced automatic updates enabledNo                                                     
Use WP Cron                        No                                                     
WP Core advanced automatic updates enabledNo                                                     

### Extensions                     Version                                                License                                      Status   ###

Activity Log for MainWP            2.1.3                                                                                                           
Advanced Uptime Monitor Extension  5.3.1                                                  Active                                       Pass        
Dashboard Lock                     5.0.1                                                  Active                                       Pass        
MainWP Client Reports Extension    4.0.14                                                 Active                                       Pass        
MainWP Code Snippets Extension     5.0.3                                                  Active                                       Pass        
MainWP Custom Dashboard Extension  5.0.1                                                  Active                                       Pass        
MainWP Favorites Extension         5.0.1                                                  Active                                       Pass        
MainWP File Uploader Extension     5.0                                                    Active                                       Pass        
MainWP iThemes Security Extension  5.0.1                                                  Active                                       Pass        
MainWP Lighthouse Extension        5.0.2                                                  Active                                       Pass        
MainWP Maintenance Extension       5.0                                                    Active                                       Pass        
MainWP Page Speed Extension        4.0.3                                                  Active                                       Pass        
MainWP Pro Reports Extension       5.0.5                                                  Active                                       Pass        
MainWP Rocket Extension            5.0.1                                                  Active                                       Pass        
MainWP Staging Extension           5.0.3                                                  Active                                       Pass        
MainWP Sucuri Extension            5.0                                                    Active                                       Pass        
MainWP Team Control                5.0.1                                                  Active                                       Pass        
MainWP Time Capsule Extension      5.0.1                                                  Active                                       Pass        
MainWP UpdraftPlus Extension       5.0.1                                                  Active                                       Pass        
MainWP Vulnerability Checker Extension5.0.1                                                  Active                                       Pass        
MainWP White Label Extension       5.0                                                    Active                                       Pass        
MainWP Wordfence Extension         5.0.1                                                  Active                                       Pass        

### Plugin                         Version                                                Status                                    ###

Activity Log for MainWP            2.1.3                                                  Active                                       
Backup and Staging by WP Time Capsule1.22.21                                                Active                                       
Easy Updates Manager               9.0.18                                                 Active                                       
hCaptcha for WP                    4.5.0                                                  Active                                       
MainWP Child                       5.2                                                    Inactive                                     
MainWP Client Reports Extension    4.0.14                                                 Active                                       
MainWP Dashboard                   5.2.1                                                  Active                                       
MainWP Page Speed Extension        4.0.3                                                  Active                                       
My Database Admin                  1.1.24                                                 Active                                       
Solid Security Pro                 8.5.0                                                  Active                                       
UpdraftPlus - Backup/Restore       1.24.4                                                 Active                                       
WP STAGING WordPress Backup Plugin - Backup Duplicator & Migration3.8.4                                                  Active                                       
WPCodeBox                          1.4.1                                                  Active                                       

Thanks for the system report.

It appears that the Use WP Cron is disabled in the MainWP settings.

In that case, the server-side crons need to be configured for each individual job as instructed in this document.

On the other hand, if you want to use one server-side cron to just trigger WP Cron, then that option in the MainWP Settings needs to be enabled.

Hi Bojan,
thank you.
As I wrote in the op the updatescheck cronjob at easycron.com stopped working.
I’m ok with setting up the cronjob on the server’s crontab but what makes me hesitate is “…and then perform auto-updates if any exist” – I don’t want this to happen. Isn’t there a cronjob without that part?
Best,
Lukas

Please excuse me.
I chose to enable WP Cron and trigger it with one server-side cron as you suggested. This works perfectly.
Thanks for your help!
Kind regards,
Lukas

Hey Lukas,

Great, I’m glad that suggestion helped.

You are quite welcome.

1 Like

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