MainWP Community

ERROR: Backup timed out - Backup

I’m using the build in backup within MainWP as I have been for a number of years. Since the 9th of September, my backups have been failing.

When I try to kick off a backup, I get an error
ERROR: Backup timed out - Please check this help document for more information and possible fixes

None of the highlighted fixes seem relevant

Here are the error logs I can see

[Tue Nov 03 19:17:15.606079 2020] [proxy_fcgi:error] [pid 15173:tid 139676941731584] [client] AH01071: Got error 'PHP message: PHP Fatal error: Uncaught Error: Call to undefined method MainWP\\Dashboard\\MainWP_Utility::get_real_extension() in /home/runcloud/webapps/Live_mya8_Solutions_Manage/wp-content/plugins/mainwp/class/class-mainwp-backup-handler.php:968\nStack trace:\n#0 /home/runcloud/webapps/Live_mya8_Solutions_Manage/wp-content/plugins/mainwp/pages/page-mainwp-manage-backups-handler.php(506): MainWP\\Dashboard\\MainWP_Backup_Handler::backup()\n#1 /home/runcloud/webapps/Live_mya8_Solutions_Manage/wp-content/plugins/mainwp/class/class-mainwp-post-backup-handler.php(574): MainWP\\Dashboard\\MainWP_Manage_Backups_Handler::backup()\n#2 /home/runcloud/webapps/Live_mya8_Solutions_Manage/wp-includes/class-wp-hook.php(287): MainWP\\Dashboard\\MainWP_Post_Backup_Handler->mainwp_backuptask_run_site()\n#3 /home/runcloud/webapps/Live_mya8_Solutions_Manage/wp-includes/class-wp-hook.php(311): WP_Hook->apply_filters()\n#4 /home/runcloud/webapps/Live_mya8_Solutions_Manage/wp-includes/plugin.php(478): WP_Hook->do_action()\n#5 /home...', referer:

Note: I have changed the URL in the above

Any ideas why this is no longer working

This was previously working on around 10 sites, and has broken on all… I’ve also tried to create a new Wordpress client however it has the same issue

Here is the system report

### Server Info                    Required                                               Detected                                     Status   ###

MainWP Dashboard                   
MainWP Dashboard Version                                                                             Pass        
MainWP Upload Directory            Writable                                               Writable                                     Pass        
MainWP Extensions                  
No installed extensions            
WordPress Version                  >=3.6                                                  5.5.3                                        Pass        
WordPress Memory Limit             >=64M                                                  256M                                         Pass        
MultiSite Disabled                 =true                                                  true                                         Pass        
FileSystem Method                  = direct                                               direct                                       Pass        
PHP Version                        >=5.6                                                  7.4.11                                       Pass        
PHP Safe Mode Disabled             =true                                                  true                                         Pass        
PHP Max Execution Time             >=30 seconds                                           3000                                         Pass        
PHP Max Input Time                 >=30 seconds                                           600                                          Pass        
PHP Memory Limit                   >=128M                                                 1024M                                        Pass        
PCRE Backtracking Limit            >=10000                                                1000000                                      Pass        
PHP Upload Max Filesize            >=2M                                                   1024M                                        Pass        
PHP Post Max Size                  >=2M                                                   1024M                                        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.58.0                                       Pass        
cURL SSL Version                   >=OpenSSL/0.9.8l                                       OpenSSL/1.1.1                                Pass        
PHP Allow URL fopen                YES                                                    
PHP Exif Support                   YES ( V7.4.)                                           
PHP IPTC Support                   YES                                                    
PHP XML Support                    YES                                                    
PHP Disabled Functions             _getppid, diskfreespace, dl, escapeshellcmd, exec, fpassthru, getmyuid, highlight_file, ini_alter, ini_alter, leak, link, listen, passthru, pcntl_exec, popen, posix, posix_ctermid, posix_getcwd, posix_getegid, posix_geteuid, posix_geteuid, posix_getgid, posix_getgrgid, posix_getgrnam, posix_getgroups, posix_getlogin, posix_getpgid, posix_getpgrp, posix_getpid, posix_getpwuid, posix_getrlimit, posix_getsid, posix_getuid, posix_isatty, posix_kill, posix_mkfifo, posix_setegid, posix_seteuid, posix_setgid, posix_setpgid, posix_setsid, posix_setuid, posix_times, posix_ttyname, posix_uname, proc_close, proc_nice, proc_open, proc_terminate, shell_exec, show_source, socket_accept, socket_bind, socket_clear_error, socket_close, socket_connect, socket_create_listen, socket_create_pair, socket_listen, socket_read, source, stream_socket_server, symlink, system, tmpfile, virtual,
PHP Loaded Extensions              Core, FFI, PDO, Phar, Reflection, SPL, SimpleXML, Zend OPcache, bcmath, bz2, calendar, cgi-fcgi, ctype, curl, date, dom, enchant, exif, fileinfo, filter, ftp, gd, gettext, gmp, hash, iconv, igbinary, imap, intl, json, libxml, mbstring, memcache, memcached, msgpack, mysqli, mysqlnd, openssl, pcntl, pcre, pdo_mysql, pdo_sqlite, posix, pspell, readline, redis, session, shmop, soap, sockets, sodium, sqlite3, standard, sysvmsg, sysvsem, sysvshm, tidy, tokenizer, xml, xmlreader, xmlrpc, xmlwriter, xsl, zip, zlib
MySQL Version                      >=5.0                                                  10.2.34-MariaDB-1:10.2.34+maria~bionic-log   Pass        
MySQL Client Encoding              utf8                                                   
Server Info                        
Server Software                    Apache/2.4.43 (Unix) OpenSSL/1.1.1                     
Operating System                   Linux                                                  
Architecture                       64		 bit                                               
Server Protocol                    HTTP/1.0                                               
HTTPS                              ON                                                     
Server self connect                Not expected HTTP response body:                       
User Agent                         Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/84.0.4147.125 Safari/537.36
Gateway Interface                  CGI/1.1                                                
Memory Usage                       28.44 MB                                               
Request Time                       1604439695                                             
Accept Content                     text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.9
Accept-Charset Content             N/A                                                    
MainWP Settings                    
Number Of Child Sites              17                                                     
Use WP-Cron                        Yes                                                    
Optimize for Shared Hosting or Big NetworksNo                                                     
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      4                                                      
Minimum delay between requests     200                                                    
Maximum simultaneous requests per ip2                                                      
Minimum delay between requests to the same ip1000                                                   
Maximum simultaneous sync requests 8                                                      
Minimum simultaneous install/update requests3                                                      
Active Plugins                     
Advanced Automatic Updates         1.0.2                                                  Inactive                                     
Akismet Anti-Spam                  4.1.7                                                  Inactive                                     
All-in-One WP Migration            7.29                                                   Inactive                                     
Coming Soon Page, Maintenance Mode & Landing Pages by SeedProd6.0.8.4                                                Inactive                                     
Google Apps Login                  3.4.3                                                  Active                                       
Hello Dolly                        1.7.2                                                  Inactive                                     
MainWP Dashboard                                                         Active                                       
miniOrange 2 Factor Authentication 5.4.22                                                 Active                                       
Sucuri Security - Auditing, Malware Scanner and Hardening1.8.24                                                 Inactive                                     
Wordfence Security                 7.4.12                                                 Inactive                                     

Hi @a8ree,

Thanks for reaching out.

Please note that the Natibe Backup feature has been retired a few years ago, it’s not activelly maintained.

I would strongly recommend trying out one of our Free backup extensions.

Ah, thanks Bogdan

I’ve taken a look at BackWPup however it seems to have issues also…

The dashboard shows an error
Notice : Trying to access array offset on value of type null in /home/runcloud/webapps/Live_my_Solutions_Manage/wp-content/plugins/mainwp-backwpup-extension/class/MainWPBackWPupExtension.class.php on line 2311

Also, when I configured it to use Azure blob storage as a test, it failed to run on my test site.

When I checked the settings on the plugin on the test site, I can see that the storage account and keys have not sync’d down - therefore it fails to run.

Any ideas why this would happen?

Hi Aidan,

you are welcome.

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