Updates don't finish

Hi y’all,

I have several issues when I do updates. I have no problems syncing the sites.
On about 5 sites I get the red X (and the text you see in the image below) every time I update plugins.

Often the update does not complete and the popup box never closes.

I have checked the security rules, firewalls, and “all the things”, but no joy.

BTW, all of these sites are hosted by the same company, albeit several different accounts.

Any help would be appreciated, this is driving me nuts.


1 Like

Hi @stevenosullivan

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:


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

Hi Bojan,

Here it is:

### WordPress Check                Required                                               Detected                                     Status   ###

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

### PHP                            Required                                               Detected                                     Status   ###

cURL Extension Enabled             =true                                                  true                                         Pass        
cURL SSL Version                   >=OpenSSL/1.1.0                                        OpenSSL/1.1.1p                               Pass        
cURL Timeout                       >=300 seconds                                          60                                           Warning     
cURL Version                       >=7.18.1                                               7.71.0                                       Pass        
PCRE Backtracking Limit            >=10000                                                1000000                                      Pass        
PHP Allow URL fopen                N/A                                                    YES                                                      
PHP Disabled Functions             N/A                                                    exec,  passthru,  shell_exec,  show_source, system,            
PHP Exif Support                   N/A                                                    YES ( V7.4.)                                             
PHP IPTC Support                   N/A                                                    YES                                                      
PHP Loaded Extensions              N/A                                                    Core, PDO, Phar, Reflection, SPL, SimpleXML, bcmath, bz2, calendar, ctype, curl, date, dom, enchant, exif, fileinfo, filter, ftp, gd, gettext, gmp, hash, i360, iconv, imagick, imap, intl, json, ldap, libxml, litespeed, mbstring, mysqli, mysqlnd, openssl, pcntl, pcre, pdo_mysql, pdo_pgsql, pdo_sqlite, pgsql, posix, readline, session, shmop, soap, sockets, sqlite3, standard, timezonedb, tokenizer, xml, xmlreader, xmlrpc, xmlwriter, xsl, zip, zlib            
PHP Max Execution Time             >=30 seconds                                           300                                          Pass        
PHP Max Input Time                 >=30 seconds                                           300                                          Pass        
PHP Memory Limit                   >=128M                                                 512M                                         Pass        
PHP Post Max Size                  >=2M                                                   512M                                         Pass        
PHP Safe Mode Disabled             =true                                                  true                                         Pass        
PHP Upload Max Filesize            >=2M                                                   512M                                         Pass        
PHP Version                        >=7.0                                                  7.4.32                                       Pass        
PHP XML Support                    N/A                                                    YES                                                      
SSL Extension Enabled              =true                                                  true                                         Pass        
SSL Warnings                       = empty                                                error:0607A082:digital envelope routines:EVP_CIPHER_CTX_set_key_length:invalid key lengthWarning     

### MySQL                          Required                                               Detected                                     Status   ###

MySQL Client Encoding              N/A                                                    utf8                                                     
MySQL Mode                         N/A                                                    NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION               
MySQL Version                      >=5.0                                                  10.3.36-MariaDB-cll-lve                      Pass        

### Server Configuration           Detected Value                                      ###

Accept Content                     text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.9
Accept-Charset Content             N/A                                                    
Architecture                       64		 bit                                               
Gateway Interface                                                                         
HTTPS                              ON                                                     
Memory Usage                       67.84 MB                                               
Operating System                   Linux                                                  
Request Time                       1667413936                                             
Server Protocol                    HTTP/1.1                                               
Server self connect                Not expected HTTP response body:                       
Server Software                    LiteSpeed                                              
User Agent                         Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/ Safari/537.36

### MainWP Dashboard Settings      Detected Value                                      ###

Abandoned plugins/themes tolerance 730                                                    
Basic uptime monitoring enabled    No                                                     
Cache control enabled              Yes                                                    
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 requests5                                                      
Maximum simultaneous requests      5                                                      
Maximum simultaneous requests per ip5                                                      
Maximum simultaneous sync requests 10                                                     
Minimum delay between requests     200                                                    
Minimum delay between requests to the same ip3000                                                   
Number of child sites              45                                                     
Optimize for shared hosting or big networksYes                                                    
Plugin advanced automatic updates enabledYes                                                    
Primary Backup System              MainWP UpdraftPlus Extension                           
REST API enabled                   No                                                     
Site health monitoring enabled     Yes                                                    
Theme advanced automatic updates enabledYes                                                    
Use WP Cron                        Yes                                                    
WP Core advanced automatic updates enabledYes                                                    

### Extensions                     Version                                                License                                      Status   ###

Advanced Uptime Monitor Extension  5.2.2                                                  Actived                                      Pass        
MainWP Custom Dashboard Extension  4.1.1                                                  Actived                                      Pass        
MainWP Sucuri Extension            4.0.12                                                 Actived                                      Pass        
MainWP UpdraftPlus Extension       4.0.6                                                  Actived                                      Pass        
MainWP Vulnerability Checker Extension4.1.2                                                  Actived                                      Pass        
Termageddon for MainWP             1.0                                                                                                             

### Plugin                         Version                                                Status                                    ###

MainWP Dashboard                                                         Active                                       
Swift Performance Extra            1.5                                                    Active                                       
Swift Performance Lite                                                   Active                                       
Termageddon for MainWP             1.0                                                    Active                                       
UpdraftPlus - Backup/Restore                                             Active                                       
Wordfence Security                 7.7.1                                                  Active                                       

1 Like

Thanks for the system report.

There are likely two different issues at play here.

The timing out of the update process could be hapenning because the Dashboard server can’t handle that many connections at the same time.
Try setting the options on Settings > Advanced Settings page to their default values and see if that helps.

The second issue relating to the red X icon may be due to some kind of security rule present on the child site.
Do you use some security plugins on your child site? If yes, can you try to temporarily disable them and see if that helps?
And do you use Cloudflare or any other cloud proxy firewall? If yes, can you try to whitelist your Dashboard IP or temporarily disable it to see if that helps?

I updated the advanced settings to the default values. Still had the same issue.

The same sites had red Xs and the update didn’t finish. But, after I closed the pop-up, I re-synced the child sites and all had actually updated. Sometimes that happens but not every time.

I thought that the issue might be Cloudflare, so I tried bypassing Cloudflare, whitelisting the Dashboard IP, and eventually removing the sites from Cloudflare. (This was in the past couple of months.) That did not do it.

All my sites use WordFence, and I have tried whitelisting the Dashboard IP, disabling the firewall, disabling WordFence, etc. But still, those 4 or 5 sites get the red X. :frowning:


1 Like

It may be necessary to further lower the settings in Advanced settings. But to see if we are on the right track here, try settings them to very low settings as such and see if that helps:

Keep in mind that with these settings, the sync and updates will take considerably longer, but we are just trying to determine if this is the cause for the time-outs.

As for the other security-related issue - do you get the X icon only when updating plugins? What about updating themes, and creating/editing posts and pages?
Is there anything in common with those affected sites? Do they have a certain plugin or theme that other sites do not have, is their PHP version different than others, and are they all on the same account within that hosting company?

OK, I have changed to settings to your recommendations. I’ll let you know how that goes.

I get the X icon when updating plugins or themes.

I have tried many times to find any differences between the affected sites and the other sites. But every time I find something and correct it, it does not fix the issue. All PHP versions are the same.

All sites except one are hosted with Shock Hosting but across about 6 accounts.

Thanks for your help!

1 Like

Let us know if it helps with either problem. If not, please open a private Help Desk ticket, so we can collect some additional information & investigate further.

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