Comments (17)
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.
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.
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.
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.
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.
@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.
@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.
Ok, so I'll recompute the hash on the fly while packaging the .deb
from matomo-package.
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.
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.
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.
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.
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.
- 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.
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.
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.
@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)
- Smaller release file (remove not needed files from release) HOT 2
- Do not prepend autoloader HOT 1
- Package for 3.15.5 HOT 3
- On upgrade "The Matomo JavaScript tracker file "/matomo.js" & "/piwik.js" is not writable" HOT 2
- No debian package since 3.13.6 HOT 17
- Automate the packaging of Matomo beta/rc/stable releases via Github actions HOT 6
- Remove the WAG build from the script
- Releasing Matomo 4.0 for Debian HOT 13
- Don't include JS test files in the release
- Exclude phpcs.xml from release package
- Is the Matomo Debian package dead? HOT 72
- Working on debian package generation: .eslintrc ? HOT 1
- Working on debian package generation: autoload.php HOT 1
- Manifest / Integrity check has issues with symlinks HOT 2
- Changes in website format prevents pulling changelog when generating Debian package HOT 8
- Matomo 3.8.1 update? HOT 9
- libmaxminddb recommendations HOT 22
- matomo.php and matomo.js are missing from debian package HOT 1
- Security / Policy breach /usr/share/matomo/misc/user HOT 6
- Debian stretch (Matomo will stop supporting PHP 7.0 in the next major version.) HOT 17
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from matomo-package.