Giter Site home page Giter Site logo

Comments (17)

mattab avatar mattab commented on July 2, 2024

Hi there, when you click on the "details" button what message does it
show? it should list the files that are different

from matomo-package.

jnachtigall avatar jnachtigall commented on July 2, 2024

It says

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: /usr/share/piwik/bower.json
Missing file: /usr/share/piwik/.bowerrc
Missing file: /usr/share/piwik/CHANGELOG.md
Integrity check failed: /usr/share/piwik/config/global.ini.php
Missing file: /usr/share/piwik/CONTRIBUTING.md
Missing file: /usr/share/piwik/README.md

I think, I did not edit global.ini.php. AFAICT, this file came as is with the debian package:

# ls -lhrt /usr/share/piwik/config/global.ini.php
-rw-rw-r-- 1 root www-data 34K Nov 21 05:53 /usr/share/piwik/config/global.ini.php

from matomo-package.

mattab avatar mattab commented on July 2, 2024

it's weird the global.ini.php has some difference! could you diff it with the packaged 2.9.1 one and paste the diff here

here is file: https://raw.githubusercontent.com/piwik/piwik/2.9.1/config/global.ini.php

from matomo-package.

jnachtigall avatar jnachtigall commented on July 2, 2024

Sorry for the delay.

Here you go:

# diff global.ini.php /usr/share/piwik/config/global.ini.php
495c495
< enable_auto_update = 1
---
> enable_auto_update = 0
711d710
< Plugins[] = TestRunner

Seems like enable_auto_update is disabled in the debian package (what makes perfectly sense)

from matomo-package.

mattab avatar mattab commented on July 2, 2024

Cheers @jnachtigall

Hi @aureq if we wanted to remove this warning message, maybe one solution could be that you remove from the config/manifest.inc.php file the line containing config/global.ini.php.

from matomo-package.

aureq avatar aureq commented on July 2, 2024

@mattab yes, and it's quite easy to do that as well. But I think it should excluded straight from the original release.

from matomo-package.

mattab avatar mattab commented on July 2, 2024

@aureq we need to check the global.ini.php content is correct, the file hash is tested during Piwik installation. We can't exclude it from the original release or users would potentially have bugs in their global.ini.php (eg. partial upload)

It only issues a warning when the file is modified eg. because in the debian release we set enable_auto_update = 0 which changes the hash of global.ini.php

from matomo-package.

aureq avatar aureq commented on July 2, 2024

Ok, so I'll recompute the hash on the fly while packaging the .deb

from matomo-package.

aureq avatar aureq commented on July 2, 2024

Hi @jnachtigall

there has been a huge rewrite in the way the manifest.inc.php is generated. Rather than using the official one, I use the same code and also correctly remap files that are in /etc/piwik/ to config/
I also generate md5sums on the fly so everything stays consistent and fairly safe.

This new mechanism will also help us in the future should we need to update/modify more files for any reasons.

from matomo-package.

Viswan-piwki avatar Viswan-piwki commented on July 2, 2024

HI there,
i get this error File integrity

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.
File size mismatch: /apps/bweb/servers/apache-2.2.20/htdocs/piwik/misc/cron/archive.sh (expected length: 3996, found: 3994)

from matomo-package.

aureq avatar aureq commented on July 2, 2024

Hi

From the look of the details you've provided, this is not related to the Debian Package.
What I would recommend is to manually download the archive for the matching version and check for any differences.

from matomo-package.

Viswan-piwki avatar Viswan-piwki commented on July 2, 2024

Thanks for swift reply. I have old piwik version, if you mean download 1.12 version and then compare the files?

Regards,
Viswa

From: Aurélien Requiem [mailto:[email protected]]
Sent: Tuesday, March 22, 2016 7:30 PM
To: piwik/piwik-package
Cc: Ramachandran, Viswanathan: Development Tools
Subject: Re: [piwik-package] System check says: File integrity check failed (#16)

Hi

From the look of the details you've provided, this is not related to the Debian Package.
What I would recommend is to manually download the archive for the matching version and check for any differences.


You are receiving this because you commented.
Reply to this email directly or view it on GitHubhttps://github.com//issues/16#issuecomment-199770777


This message is for information purposes only, it is not a recommendation, advice, offer or solicitation to buy or sell a product or service nor an official confirmation of any transaction. It is directed at persons who are professionals and is not intended for retail customer use. Intended for recipient only. This message is subject to the terms at: www.barclays.com/emaildisclaimer.

For important disclosures, please see: www.barclays.com/salesandtradingdisclaimer regarding market commentary from Barclays Sales and/or Trading, who are active market participants; and in respect of Barclays Research, including disclosures relating to specific issuers, please see http://publicresearch.barclays.com.


from matomo-package.

Viswan-piwki avatar Viswan-piwki commented on July 2, 2024

Also advice on this please?

Piwik is set for confluence. For march month it shows only 19 visits and 23 page views. Im sure this is wrong. Ours confluence is huge and im pretty sure there should be more. We have around 20k users using our confluence. Does file integrity is related to this ?

from matomo-package.

aureq avatar aureq commented on July 2, 2024

@Viswan-piwki

  • yes compare the files from the original archive and understand the differences.
  • from what I understand, Piwik will not prevent data collection even if a give file has a different checksum.
  • the file referenced is in charge of the archiving process which is meant to be run through a scheduled task. Nothing to do with live data acquisition. So if your stats aren't getting through, you should further investigate in your environment to understand why data isn't collected.

from matomo-package.

Viswan-piwki avatar Viswan-piwki commented on July 2, 2024

Hi there,
One more query. I have permissioned 777 to piwik folder and also restarted apache. But it still does not give me option to choose auto-update version? Both /tmp and /misc have write permissions. I tried the manual upgrade and having restarted the piwik, the page returned blank

And also do i have to copy the old config.ini.php to new piwik. ? i did not do that. I uploaded the new piwik files to web server folder (where old one was) and restarted the apache

from matomo-package.

Viswan-piwki avatar Viswan-piwki commented on July 2, 2024

I have sorted now the integrity. However my evolution graph is showing red (negative).
And for other application JIRA, i'm not able to choose dates. Previous months and years are not displayed in the drop down. Thus showing March data as 0%

from matomo-package.

aureq avatar aureq commented on July 2, 2024

@Viswan-piwki Unfortunately, we cannot debug every single issue through Github. The best suggestion I have to offer would be to contact @mattab through their professional services at https://piwik.org/support
The guys there should be able to support you and even help you migrate to a more recent version of Piwik.

from matomo-package.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.