Email notifications for updates are always outdated

Hello,

I’ve been having this issue for months but is only not really starting to bug me. :sweat_smile: I’m currently running the latest version of MainWP and the MainWP Child plugins.

My issue is I receive an email at midnight each night telling me what updates exist for my child sites. However in many cases I’ve already updated them and the Dashboard shows no new updates. It’s as if the email being generated is a day old.

Example:

I’ll login to MainWP dashboard anytime between 11AM and 8PM for example to begin working. I update the child sites to the point where no further updates exist. I receive an email notification at midnight that all the update so already installed remain, when they do not. These emails are effectively useless given how outdated they are to me.

Are there any known issues with this behaviour? I couldn’t find a previous post on this and couldn’t find much elsewhere so figured I’d make a post here to ask about it. Is there anything maybe I need to tweak to allow for more accurate email notifications of updates?

Hi Dustin,

Can you please post the community system report from your MainWP Dashboard for review? The report is located in your Dashboard under Status → 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.

Here it is:


### Server Info                    Required                                               Detected                                     Status   ###

MainWP Dashboard                   
MainWP Dashboard Version           4.1.10.3                                               4.1.10.3                                     Pass        
MainWP Upload Directory            Writable                                               Writable                                     Pass        
MainWP Extensions                  
MainWP Code Snippets Extension     4.0.1                                                  API License Active                           Pass        
MainWP Lighthouse Extension        4.0-beta2                                              API License Active                           Pass        
MainWP Rocket Extension            4.0.2                                                  API License Active                           Pass        
WordPress                          
WordPress Version                  >=3.6                                                  5.8.2                                        Pass        
WordPress Memory Limit             >=64M                                                  1024M                                        Pass        
MultiSite Disabled                 =true                                                  true                                         Pass        
FileSystem Method                  = direct                                               direct                                       Pass        
PHP                                
PHP Version                        >=7.0                                                  7.4.3                                        Pass        
PHP Safe Mode Disabled             =true                                                  true                                         Pass        
PHP Max Execution Time             >=30 seconds                                           180                                          Pass        
PHP Max Input Time                 >=30 seconds                                           90                                           Pass        
PHP Memory Limit                   >=128M                                                 1024M                                        Pass        
PCRE Backtracking Limit            >=10000                                                1000000                                      Pass        
PHP Upload Max Filesize            >=2M                                                   256M                                         Pass        
PHP Post Max Size                  >=2M                                                   256M                                         Pass        
SSL Extension Enabled              =true                                                  true                                         Pass        
SSL Warnings                       = empty                                                                                             Pass        
cURL Extension Enabled             =true                                                  true                                         Pass        
cURL Timeout                       >=300 seconds                                          300                                          Pass        
cURL Version                       >=7.18.1                                               7.68.0                                       Pass        
cURL SSL Version                   >=OpenSSL/1.1.0                                        OpenSSL/1.1.1f                               Pass        
PHP Allow URL fopen                YES                                                    
PHP Exif Support                   YES ( V7.4.)                                           
PHP IPTC Support                   YES                                                    
PHP XML Support                    YES                                                    
PHP Disabled Functions             , 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_unshare, pcntl_wait, pcntl_waitpid, pcntl_wexitstatus, pcntl_wifcontinued, pcntl_wifexited, pcntl_wifsignaled, pcntl_wifstopped, pcntl_wstopsig, pcntl_wtermsig,
PHP Loaded Extensions              Core, FFI, PDO, PDO_Firebird, PDO_ODBC, Phar, Reflection, SPL, SimpleXML, Zend OPcache, apache2handler, apcu, bcmath, bz2, calendar, ctype, curl, date, dba, dom, enchant, exif, fileinfo, filter, ftp, gd, geoip, gettext, gmp, gnupg, hash, iconv, igbinary, imagick, imap, intl, ionCube Loader, json, ldap, libxml, mailparse, mbstring, mysqli, mysqlnd, odbc, openssl, pcre, pdo_dblib, pdo_mysql, pdo_pgsql, pdo_sqlite, pgsql, posix, pspell, readline, redis, session, shmop, snmp, soap, sockets, sodium, sqlite3, standard, sysvmsg, sysvsem, sysvshm, tidy, tokenizer, uuid, xml, xmlreader, xmlrpc, xmlwriter, xsl, zip, zlib, zmq
MySQL                              
MySQL Version                      >=5.0                                                  8.0.23-0ubuntu0.20.04.1                      Pass        
MySQL Mode                         NO_ZERO_IN_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_ENGINE_SUBSTITUTION
MySQL Client Encoding              utf8                                                   
Server Info                        
Server Software                    Apache/2.4.41 (Ubuntu)                                 
Operating System                   Linux                                                  
Architecture                       64		 bit                                               
Server Protocol                    HTTP/1.1                                               
HTTPS                              ON                                                     
Server self connect                Response Test O.K.                                     
User Agent                         Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/15.1 Safari/605.1.15
Gateway Interface                  CGI/1.1                                                
Memory Usage                       10.39 MB                                               
Request Time                       1637646835                                             
Accept Content                     text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Charset Content             N/A                                                    
MainWP Settings                    
Number Of Child Sites              21                                                     
Use WP-Cron                        No                                                     
Optimize for Shared Hosting or Big NetworksYes                                                    
Automatic Daily Update             Install trusted updates                                
Abandoned Plugins/Themes Tolerance 365                                                    
Maximum number of posts to return  50                                                     
Maximum number of pages to return                                                         
Primary Backup System              Default MainWP Backups                                 
Maximum simultaneous requests      24                                                     
Minimum delay between requests     40                                                     
Maximum simultaneous requests per ip24                                                     
Minimum delay between requests to the same ip160                                                    
Maximum simultaneous sync requests 24                                                     
Maximum simultaneous install and update requests24                                                     
Active Plugins                     
AuthLDAP                           2.4.10                                                 Active                                       
Better Search Replace              1.3.4                                                  Active                                       
MainWP Child                       4.1.8                                                  Active                                       
MainWP Dashboard                   4.1.10.3                                               Active                                       
MainWP Lighthouse Extension        4.0-beta2                                              Active                                       
Redis Object Cache                 2.0.21                                                 Active                                       
SMTP Mailer                        1.1.2                                                  Active                                       
WP Rocket                          3.9.3                                                  Inactive                                     

Hi,
Thanks for bringing this up. I have seen the same behavior, and I’ve assumed that it is working as designed, even though it is kind of annoying. For me, I believe what I have seen is that the email goes out at midnight with information as of the last update. I have my dashboard set to update 3 times a day, so the only time I see “old” information in the email is when I make changes after the last automatic check of the day (which for me is at 8pm).

Full disclosure, I have not done a systematic check of this behavior. This is just what I remember.

But in any case, it does seem that the information in the email is not up-to-the-minute fresh. It is information that was gathered during an automatic check of the child sites.

Hello,

Since a couple of weeks I notice the same behavior here.

What do you have set for the Automatic daily sync time option in MainWP > Settings?

Here’s a screenshot of my daily sync settings.

Hi,

Settings look ok.

However, I believe that this problem is not actually a bug. I believe that there is some delay on the server-side.

Can you try to install some SMTP plugin on your dashboard site and route emails through a Gmail or something similar and see if that helps?

Hi Bogdan,

Thank you for checking. I can assure you there’s no delay on the email side of things, as I am running a mail server on the same host which I’m using for the MainWP Wordpress install too and other apps and mailings are working correctly and instantly. If it wasn’t, I’d have 50+ email users screaming at me. :wink: haha.

Is it possibly related to cron or something though? I ask because I am running my WordPress sites in Docker containers via Cloudron (cloudron.io). I have been for years without issues which is why I feel this may be more of an issue in recent MainWP releases, but I know that WP cron is disabled by default and a proper cron run instead, and I’m wondering if that could be part of the problem in this case.

Hi Dustin,

Thanks for verifying that.
I would like our dev team to check this further.

Would you mind opening a private Help Desk ticket so we can collect some additional information & investigate further?

Is there any improvement after the MainWP Dashboard 4.1.11 release?

Same issue unfortunately.

Hi Dustin,

thanks for verifying that.

Please open the helpdesk ticket as suggested earlier so we can check this further.

Opened up ticket #8697 with your team.

1 Like

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

Resolved in version 4.2

1 Like