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: Core Plugin: Provider #16962

Closed
ghost opened this issue Dec 15, 2020 · 2 comments
Closed

File Integrity: Core Plugin: Provider #16962

ghost opened this issue Dec 15, 2020 · 2 comments
Labels
answered For when a question was asked and we referred to forum or answered it.

Comments

@ghost
Copy link

ghost commented Dec 15, 2020

I have installed a fresh copy downloaded and unzipped directly from your server to the server using ssh.
The Core plugin Provider was installed direct from marketplace.
System check now shows the following error:

File size mismatch: /home/eajglobal-net/matomo/plugins/Provider/Provider.php (expected length: 3479, found: 4328) Missing file: /home/eajglobal-net/matomo/plugins/Provider/screenshots/Report.png

@tsteur
Copy link
Member

tsteur commented Dec 16, 2020

@EntrepreneurAJ1 this is indeed an error. Sorry about that. Currently, it's not needed to install the provider plugin from the marketplace just yet as we're shipping it with Matomo core as a transition for a few months and then it will be updated through the marketplace. The error should go away with the next update. Apart from this we won't be changing anything for now as the error will be automatically fixed in 2-3 months (and also next time you update Matomo core). It's safe to remove this file though.

@tsteur tsteur closed this as completed Dec 16, 2020
@tsteur tsteur added the answered For when a question was asked and we referred to forum or answered it. label Dec 16, 2020
@tank-paradoxnft
Copy link

tank-paradoxnft commented Sep 6, 2021

So is it going to be best to download the plugin zip from GitHub (https://github.com/matomo-org/plugin-Provider/releases/tag/4.0.3), extract, and then upload Provider.php and overwrite the current Provider.php that is throwing the error?

I fixed the missing png by pulling it from the plugin zip, adding the directory "settings" (/plugins/Provider/screenshots/) and then adding the "Report.png" to it.

File size mismatch: /home/mrtank7/webapps/chronalytics/plugins/Provider/Provider.php (expected length: 3479, found: 4328)
Missing file: /home/mrtank7/webapps/chronalytics/plugins/Provider/screenshots/Report.png

So should I put back the file that was throwing the error or use the one I downloaded and installed (overwriting the one throwing the error)?

Here are the differences between the two Provider.php's (see Comparison Report "provider.pdf" below). The left is the file that was giving me an error and the file I was comparing it to was the Provvider.php I got from the zip I downloaded from: https://github.com/matomo-org/plugin-Provider/releases/tag/4.0.3

Comparison Report: provider.pdf

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