System Check shows issues, but none are flagged

I don’t know if I am misunderstanding something here, or thee is a bug. I just updated to 2.1.0. When I ran a System Check, I got the message “There are some issues with your system. Piwik will run, but you might experience some minor problems. See below for more information.” However when I scroll down, everything seems to have a Green Tick next to it. See the attached screenshot.

Oh that’s quite strange indeed!


+++ plugins/Installation/Controller.php	(revision )
@@ -949,6 +949,7 @@
         ) {
             $infos['has_warnings'] = true;
         }
+        var_dump($infos);
         return $infos;
     }

Apply this patch, visit the page, then copy paste here (or in pastebin) the output of the var_dump function. thanks

array(36) { [“general_infos”]=> array(0) { } [“directories”]=> array(9) { ["/var/www/html/webstats.sapphirewebservices.com/tmp"]=> bool(true) ["/var/www/html/webstats.sapphirewebservices.com/tmp/assets"]=> bool(true) ["/var/www/html/webstats.sapphirewebservices.com/tmp/cache"]=> bool(true) ["/var/www/html/webstats.sapphirewebservices.com/tmp/climulti"]=> bool(true) ["/var/www/html/webstats.sapphirewebservices.com/tmp/latest"]=> bool(true) ["/var/www/html/webstats.sapphirewebservices.com/tmp/logs"]=> bool(true) ["/var/www/html/webstats.sapphirewebservices.com/tmp/sessions"]=> bool(true) ["/var/www/html/webstats.sapphirewebservices.com/tmp/tcpdf"]=> bool(true) ["/var/www/html/webstats.sapphirewebservices.com/tmp/templates_c"]=> bool(true) } [“can_auto_update”]=> bool(true) [“phpVersion_minimum”]=> string(5) “5.3.2” [“phpVersion”]=> string(6) “5.3.20” [“phpVersion_ok”]=> bool(true) [“needed_extensions”]=> array(4) { [0]=> string(4) “zlib” [1]=> string(3) “SPL” [2]=> string(5) “iconv” [3]=> string(10) “Reflection” } [“missing_extensions”]=> array(0) { } [“pdo_ok”]=> bool(true) [“adapters”]=> array(2) { [“PDO\MYSQL”]=> int(3306) [“MYSQLI”]=> int(3306) } [“needed_functions”]=> array(6) { [0]=> string(15) “debug_backtrace” [1]=> string(15) “create_function” [2]=> string(4) “eval” [3]=> string(10) “gzcompress” [4]=> string(12) “gzuncompress” [5]=> string(4) “pack” } [“missing_functions”]=> array(0) { } [“desired_extensions”]=> array(4) { [0]=> string(4) “json” [1]=> string(6) “libxml” [2]=> string(3) “dom” [3]=> string(9) “SimpleXML” } [“missing_desired_extensions”]=> array(0) { } [“desired_functions”]=> array(4) { [0]=> string(14) “set_time_limit” [1]=> string(4) “mail” [2]=> string(14) “parse_ini_file” [3]=> string(4) “glob” } [“missing_desired_functions”]=> array(0) { } [“openurl”]=> string(4) “curl” [“gd_ok”]=> bool(true) [“hasMbstring”]=> bool(true) [“multibyte_ok”]=> bool(true) [“serverVersion”]=> string(22) “Apache/2.2.22 (Fedora)” [“serverOs”]=> string(75) “Linux weymouth 3.12.6-x86-linode55 #2 SMP Tue Jan 14 08:41:36 EST 2014 i686” [“serverTime”]=> string(8) “21:13:16” [“registerGlobals_ok”]=> bool(false) [“memoryMinimum”]=> string(3) “128” [“memory_ok”]=> bool(true) [“memoryCurrent”]=> string(4) “128M” [“isWindows”]=> bool(false) [“integrity”]=> bool(false) [“integrityErrorMessages”]=> array(2) { [0]=> string(237) “File integrity check failed and reported some errors. This is most likely due to a partial or failed upload of some of the Piwik files. You should reupload all the Piwik files in BINARY mode and refresh this page until it shows no error.” [1]=> string(141) “File size mismatch: /var/www/html/webstats.sapphirewebservices.com/plugins/Installation/Controller.php (expected length: 36928, found: 36954)” } [“timezone”]=> bool(true) [“tracker_status”]=> int(0) [“protocol”]=> NULL [“is_nfs”]=> bool(false) [“has_errors”]=> bool(false) [“has_warnings”]=> bool(true) }

thanks for this! here is the fix: Remove register global config check as it is deprecated as of 5.3 · matomo-org/matomo@80db4c6 · GitHub

That works fine, EXCEPT that it now throws a file integrity check, which is understandable. I commented out the file integrity check code and now there are no errors.

Thanks!

Yes the file integrity will be looking good as soon as the next beta is published