@stibay opened this Issue on May 23rd 2017

Piwik version: 3.0.4
MySQL version: 5.7.18
PHP version: 7.1.5

Windows Server 2008 R2

After changing from PHP version 5.6.x to 7.1.5 I am getting alot of file integrity issues.
It's telling me to delete a bunch of files where PHP is installed. This can't be correct?

Directories were found in your Piwik but we didn't expect them.
--> Please delete these directories to prevent errors. <--

Directory to delete: ext
Directory to delete: lib

To delete all these directories at once, you can run this command:
rm -Rf C:\Php 7\ext C:\Php 7\lib

Files were found in your Piwik but we didn't expect them.
--> Please delete these files to prevent errors. <--

File to delete: deplister.exe
File to delete: glib-2.dll
File to delete: gmodule-2.dll
File to delete: icudt57.dll
File to delete: icuin57.dll
File to delete: icuio57.dll
File to delete: icule57.dll
File to delete: iculx57.dll
File to delete: icuuc57.dll
File to delete: install.txt
File to delete: license.txt
File to delete: news.txt
File to delete: nghttp2.dll
File to delete: phar.phar.bat
File to delete: pharcommand.phar
File to delete: php-cgi.exe
File to delete: php-win.exe
File to delete: php.exe
File to delete: php.gif
File to delete: php.ini
File to delete: php.ini-development
File to delete: php.ini-production
File to delete: php7apache2_4.dll
File to delete: php7embed.lib
File to delete: php7phpdbg.dll
File to delete: php7ts.dll
File to delete: phpdbg.exe
File to delete: readme-redist-bins.txt
File to delete: snapshot.txt
File to delete: ssleay32.dll
File to delete: dev/php7ts.lib
File to delete: sasl2/saslANONYMOUS.dll
File to delete: sasl2/saslCRAMMD5.dll
File to delete: sasl2/saslDIGESTMD5.dll
File to delete: sasl2/saslLOGIN.dll
File to delete: sasl2/saslNTLM.dll
File to delete: sasl2/saslOTP.dll
File to delete: sasl2/saslPLAIN.dll
File to delete: sasl2/saslSCRAM.dll
File to delete: sasl2/saslSQLITE.dll
File to delete: sasl2/saslSRP.dll
@sgiehl commented on September 10th 2017 Member

@stibay sure, that can't be correct. Do you still have that problem?
Could you test to fix it by changing a few lines in core\FileIntegrity.php? Please try to apply this patch, and check if the integrity output changes: https://github.com/piwik/piwik/commit/0bdd957ca30c4118a8c5e0b6e674223f68663503

@mattab commented on September 18th 2017 Owner

@stibay Could you please read the comment above and let us know your feedback?

@stibay commented on September 18th 2017

Sorry, got this fixed when doing a reinstallation.

This Issue was closed on September 18th 2017
Powered by GitHub Issue Mirror