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 and reported some errors. #9233

Closed
themantripleman opened this issue Nov 18, 2015 · 4 comments
Closed

File integrity check failed and reported some errors. #9233

themantripleman opened this issue Nov 18, 2015 · 4 comments
Labels
answered For when a question was asked and we referred to forum or answered it.

Comments

@themantripleman
Copy link

This was originally posted here: http://forum.piwik.org/t/file-integrity-check-failed/15786/2 but I was asked to post it here as well.

Some info: Hosting is through Dreamhost, PHP version 5.6.10, Piwik version 2.15.0, Piwik System Check gives all other system requirements green check marks.

I had tried using the 1 click upgrade process, it failed and broke my installation. Then I tried the command line, 3 step version:


$ wget http://builds.piwik.org/piwik.zip # download latest version
$ unzip -o piwik.zip # extract it to "piwik/" directory
$ rm piwik.zip # delete the archive and read below the next step

…which, you'd think, would bypass the "upload files in binary mode" issue.

The three terminal commands worked well with no errors. Nonetheless, when pointing my browser to my Piwik install, I still get:

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.


Missing file: /path/to/piwik/libs/bower_components/angular-animate/.bower.json
Missing file: /path/to/piwik/libs/bower_components/angular/.bower.json
Missing file: /path/to/piwik/libs/bower_components/angular-cookies/.bower.json
Missing file: /path/to/piwik/libs/bower_components/angular-mocks/.bower.json
Missing file: /path/to/piwik/libs/bower_components/angular-sanitize/.bower.json
Missing file: /path/to/piwik/libs/bower_components/chroma-js/.bower.json
Missing file: /path/to/piwik/libs/bower_components/html5shiv/.bower.json
Missing file: /path/to/piwik/libs/bower_components/jquery/.bower.json
Missing file: /path/to/piwik/libs/bower_components/jQuery.dotdotdot/.bower.json
Missing file: /path/to/piwik/libs/bower_components/jQuery.dotdotdot/.gitignore
Missing file: /path/to/piwik/libs/bower_components/jquery-mousewheel/.bower.json
Missing file: /path/to/piwik/libs/bower_components/jquery-placeholder/.bower.json
Missing file: /path/to/piwik/libs/bower_components/jquery-placeholder/.gitattributes
Missing file: /path/to/piwik/libs/bower_components/jquery-placeholder/.gitignore
Missing file: /path/to/piwik/libs/bower_components/jquery.scrollTo/.bower.json
Missing file: /path/to/piwik/libs/bower_components/jquery-ui/.bower.json
Missing file: /path/to/piwik/libs/bower_components/jquery-ui/.gitignore
Missing file: /path/to/piwik/libs/bower_components/jquery-ui/themes/.gitignore
Missing file: /path/to/piwik/libs/bower_components/jquery-ui/ui/.jshintrc
Missing file: /path/to/piwik/libs/bower_components/jScrollPane/.bower.json
...


It should be made clear, those files, of course, are actually there.

Would love to hear of a solution to this.
@mattab
Copy link
Member

mattab commented Nov 23, 2015

Hi @themantripleman

Thanks for the report. This is a strange issue!

Could you paste output of ls -la /path/to/piwik/libs/bower_components/jquery-ui/themes/.gitignore ?

Just to confirm, you were able to install Piwik even with this issue correct?

@themantripleman
Copy link
Author

OK, mea culpa.

Now that I look at it more closely, none of those files are there. When I originally searched for the files, I did not include the preceding dot.

Yes, you can curse my complete lack of knowledge. I hope that my error hasn't cost you too much of your time.

I still have no idea why those files aren't there, though. I also get the feeling that, until that issue is fixed, any time I try to update Piwik, it will fail. Which is a bit of a pain.

@mattab
Copy link
Member

mattab commented Nov 23, 2015

no problem. if update fails, let us know, I think it shouldn't fail

@mattab mattab closed this as completed Nov 23, 2015
@mattab mattab added the answered For when a question was asked and we referred to forum or answered it. label Nov 23, 2015
@themantripleman
Copy link
Author

I went through and uploaded the missing files, there are no more errors.

Quick question though, shouldn't the three step, command line version of the update/install have included all of the dot files?

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.
Projects
None yet
Development

No branches or pull requests

2 participants