using Piwik 3.0.4 with Debian 8 you get the following error when calling the "System Status" page:
Errors below may be due to a partial or failed upload of Piwik files.
--> Try to reupload all the Piwik files in BINARY mode. <--
Missing file: /usr/share/piwik//etc/apt/trusted.gpg.d/piwik-keyring-automatic.gpg
I don't think that this is a critical issue but it may confuse beginners ;-) The path after "/usr/share/piwik/" seems to be a little odd.
Here's the repository configuration:
deb http://debian.piwik.org/ piwik main deb-src http://debian.piwik.org/ piwik main
This error was also mentioned here in March '17 using Piwik 3.0.2.
For what it's worth, I'm seeing exactly the same thing. Like you, I am running Debian 8 and Piwik 3.0.4.
It seems the
/usr/share/piwik/ prefix is added erroneously when checking for the file, because the file does exist under
I patched my FileIntegrity.php in place. Of course, now I see a file integrity error about FileIntegrity.php (so I know the check ran again), but unfortunately the error about piwik-keyring-automatic.gpg is still showing up as well.
I’m not sure if this is useful, but in my config/manifest.inc.php, there is a hash entry for "/etc/apt/trusted.gpg.d/piwik-keyring-automatic.gpg". Other files have only relative paths listed there.
piwik-package is responsible for generating a new
manifest.inc.php as the original one is not usable as is. There was one missing line to exclude the package repository GPG key from the
I added a few extra checks:
Piwik 3.1.0-4 is already pushed and provides the updated
As no one reported this issue since, I assume this fix worked for everyone and this can be closed.