Auto Updates did no work

Hi,
the Auto Update function did not work.
I receive in the error logs this error.

PHP Warning: include(config.php): failed to open stream: No such file or directory in /www/htdocs/xxxx/api.php on line 2

I don’t know what to do?

Kind regards
Joerg

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.


### Server Info                    Required                                               Detected                                     Status   ###

MainWP Dashboard                   
MainWP Dashboard Version           4.1.7                                                  4.1.7                                        Bestanden   
MainWP Upload Directory            Writable                                               Writable                                     Bestanden   
MainWP-Erweiterungen               
Advanced Uptime Monitor Extension  5.1.3                                                  API License Active                           Bestanden   
Boilerplate Extension              4.0.2.1                                                API License Active                           Bestanden   
MainWP Article Uploader Extension  4.0.1.1                                                API License Inactive                         Warnung     
MainWP Branding Extension          4.0.2.1                                                API License Active                           Bestanden   
MainWP Bulk Settings Manager Extension4.0.2.1                                                API License Active                           Bestanden   
MainWP Clean and Lock Extension    4.0.1.1                                                API License Active                           Bestanden   
MainWP Client Reports Extension    4.0.9                                                  API License Active                           Bestanden   
MainWP Clone Extension             4.0.1                                                  API License Active                           Bestanden   
MainWP Code Snippets Extension     4.0.1                                                  API License Active                           Bestanden   
MainWP Comments Extension          4.0.3                                                  API License Active                           Bestanden   
MainWP Custom Dashboard Extension  4.0.2                                                  API License Active                           Bestanden   
MainWP Custom Post Type            4.0.2                                                  API License Active                           Bestanden   
MainWP Favorites Extension         4.0.5                                                  API License Active                           Bestanden   
MainWP File Uploader Extension     4.0.1                                                  API License Inactive                         Warnung     
MainWP Maintenance Extension       4.0.2.1                                                API License Active                           Bestanden   
MainWP Page Speed Extension        4.0.1.1                                                API License Active                           Bestanden   
MainWP Post Dripper Extension      4.0.3                                                  API License Inactive                         Warnung     
MainWP Post Plus Extension         4.0.2.1                                                API License Inactive                         Warnung     
MainWP Rocket Extension            4.0.2                                                  API License Active                           Bestanden   
MainWP Staging Extension           4.0.1                                                  API License Active                           Bestanden   
MainWP Sucuri Extension            4.0.8.1                                                API License Active                           Bestanden   
MainWP UpdraftPlus Extension       4.0.4                                                  API License Active                           Bestanden   
MainWP URL Extractor Extension     4.0.1.1                                                API License Active                           Bestanden   
MainWP Vulnerability Checker Extension4.0.3.1                                                API License Active                           Bestanden   
MainWP Wordfence Extension         4.0.4                                                  API License Active                           Bestanden   
MainWP WP Compress Extension       4.0.1                                                  API License Inactive                         Warnung     
MainWP WordPress SEO Extension     4.0.1                                                  API License Inactive                         Warnung     
WordPress                          
WordPress Version                  >=3.6                                                  5.8                                          Bestanden   
WordPress Memory Limit             >=64M                                                  256M                                         Bestanden   
MultiSite Disabled                 =true                                                  true                                         Bestanden   
Dateisystem-Methode                = direct                                               direct                                       Bestanden   
PHP                                
PHP Version                        >=5.6                                                  7.4.19                                       Bestanden   
PHP Safe Mode Disabled             =true                                                  true                                         Bestanden   
PHP Max Execution Time             >=30 seconds                                           30                                           Bestanden   
PHP Max Input Time                 >=30 seconds                                           60                                           Bestanden   
PHP Memory Limit                   >=128M                                                 256M                                         Bestanden   
PCRE Backtracking Limit            >=10000                                                1000000                                      Bestanden   
PHP Upload Max Filesize            >=2M                                                   200M                                         Bestanden   
PHP Post Max Size                  >=2M                                                   200M                                         Bestanden   
SSL Extension Enabled              =true                                                  true                                         Bestanden   
SSL Warnings                       = empty                                                                                             Bestanden   
cURL Extension Enabled             =true                                                  true                                         Bestanden   
cURL Timeout                       >=300 seconds                                          60                                           Warnung     
cURL Version                       >=7.18.1                                               7.58.0                                       Bestanden   
cURL SSL Version                   >=OpenSSL/0.9.8l                                       OpenSSL/1.1.1                                Bestanden   
PHP Allow URL fopen                JA                                                     
PHP unterstützt Exif               JA ( V7.4.)                                            
PHP unterstützt IPTC               JA                                                     
PHP unterstützt XML                JA                                                     
PHP Deaktivierte Funktionen        No functions disabled.                                 
PHP Geladene Erweiterungen         Core, OAuth, PDO, PDO_Firebird, PDO_ODBC, Phar, Reflection, SPL, SimpleXML, SourceGuardian, Zend OPcache, bcmath, bz2, calendar, cgi-fcgi, ctype, curl, date, dba, dom, exif, fileinfo, filter, ftp, gd, gender, gettext, gmp, hash, htscanner, http, iconv, imagick, imap, intl, ionCube Loader, json, ldap, libxml, mailparse, mbstring, mongodb, mysqli, mysqlnd, odbc, openssl, pcre, pdo_dblib, pdo_mysql, pdo_pgsql, pdo_sqlite, pgsql, posix, propro, pspell, raphf, session, shmop, soap, sodium, sqlite3, standard, sysvsem, sysvshm, tidy, tokenizer, xml, xmlreader, xmlwriter, xsl, zip, zlib
MySQL                              
MySQL Version                      >=5.0                                                  5.7.34-nmm1-log                              Bestanden   
MySQL-Modus                        NO_ENGINE_SUBSTITUTION                                 
MySQL Client Verschlüsselung       utf8                                                   
Server Info                        
Server-Software                    Apache                                                 
Betriebssystem                     Linux                                                  
Architektur                        64		 bit                                               
Server-Protokoll                   HTTP/2.0                                               
HTTPS                              AN                                                     
Verbindung zum Server selbst       Unerwarteter HTTP response body:                       
User Agent                         Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101 Firefox/91.0
Geteway-Schnittstelle              CGI/1.1                                                
Arbeitsspeicherauslastung          61.61 MB                                               
Antwortzeit                        1629878972                                             
Inhalt akzeptieren                 text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8
Zeichensatz des Inhalts            n. a.                                                  
MainWP-Einstellungen               
Anzahl Child-Websites              63                                                     
WP-Cron benutzen                   Ja                                                     
Für Shared Hosting oder große Netzwerke optimierenJa                                                     
Automatische tägliche AktualisierungInstall trusted updates                                
Aufgegebene Plugins/Themes-Toleranz365                                                    
Maximale Anzahl der Beiträge, die zurückgegeben werden sollen50                                                     
Maximale Anzahl der Seiten, die zurückgegeben werden sollen                                                       
Maximale Anzahl Kommentare         50                                                     
Vorrangiges Backup-System          MainWP UpdraftPlus Extension                           
Maximale gleichzeitige Anfragen    5                                                      
Minimale Verzögerung zwischen Anfragen200                                                    
Maximale gleichzeitige Anfragen pro IP1                                                      
Minimale Verzögerung zwischen Anfragen zu derselben IP1000                                                   
Maximale gleichzeitige Synchronisierungs-Anfragen10                                                     
Minimale gleichzeitige Installieren/Aktualisieren-Anfragen4                                                      
Active Plugins                     
MainWP Dashboard                   4.1.7                                                  Aktiviert                                    
UpdraftPlus - Backup/Restore       2.16.60.25                                             Aktiviert                                    
Yoast SEO                          17.0                                                   Aktiviert                                    

@joba Your report looks fine. Can you copy and paste the exact PHP error text that you received & try to explain exactly the steps it took to produce them?

Hi,

sorry for my late reply.

here a part from the logfile

01-Sep-2021 09:21:25 Europe/Berlin	PHP Warning: include(config.php): failed to open stream: No such file or directory in /www/htdocs/xxx/api.php on line 2

01-Sep-2021 09:21:25 Europe/Berlin	PHP Warning: include(): Failed opening 'config.php' for inclusion (include_path='.:/usr/share/php:..') in /www/htdocs/xxx/api.php on line 2

I see that the updates will work now, but what are these errors?

KInd regards

Joerg

@joba It’s a warning stating that “Config.php” file can not be found when it’s called from directory XXX/api.php file.

hmmm…
OK, I thought the error comes from the MainWP Tool
Means MainWp is searching for the config.php, or?

@joba I don’t know because you are omitting things from the error message. Please open a support ticket so that our team can look into your installation further.

Thank you for your Answer!
The Updates did now work, but the error is still available. I try to get a support ticket.

Kind regards
Joerg

1 Like

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