Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

File integrity check failed after upgrading to PHP 7 #11731

Closed
stibay opened this issue May 23, 2017 · 3 comments · Fixed by #12022
Closed

File integrity check failed after upgrading to PHP 7 #11731

stibay opened this issue May 23, 2017 · 3 comments · Fixed by #12022
Labels
answered For when a question was asked and we referred to forum or answered it. Waiting for user feedback Indicates the Matomo team is waiting for feedback from the author or other users.

Comments

@stibay
Copy link

stibay commented May 23, 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
Copy link
Member

sgiehl commented Sep 10, 2017

@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: 0bdd957

@sgiehl sgiehl added the Waiting for user feedback Indicates the Matomo team is waiting for feedback from the author or other users. label Sep 10, 2017
@mattab
Copy link
Member

mattab commented Sep 18, 2017

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

@stibay
Copy link
Author

stibay commented Sep 18, 2017

Sorry, got this fixed when doing a reinstallation.

@stibay stibay closed this as completed Sep 18, 2017
@mattab mattab added the answered For when a question was asked and we referred to forum or answered it. label Sep 18, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
answered For when a question was asked and we referred to forum or answered it. Waiting for user feedback Indicates the Matomo team is waiting for feedback from the author or other users.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants