matomo-org / matomo

Empowering People Ethically with the leading open source alternative to Google Analytics that gives you full control over your data. Matomo lets you easily collect data from websites & apps and visualise this data and extract insights. Privacy is built-in. Liberating Web Analytics. Star us on Github? +1. And we love Pull Requests!
https://matomo.org/
GNU General Public License v3.0
19.88k stars 2.65k forks source link

Cusom Reports fails on install "Incompatible archive: PCLZIP_ERR_BAD_FORMAT (-10) : Unable to find End of Central Dir Record signature" #22360

Open CVeirup opened 4 months ago

CVeirup commented 4 months ago

What happened?

We have just bought the Custom Reports feature and added the license key to to our on-premise Matomo 5.1 installation. However when we try to click the install button the following error occurs and the feature is not available...

"Incompatible archive: PCLZIP_ERR_BAD_FORMAT (-10) : Unable to find End of Central Dir Record signature"

What should happen?

I would expect the feature to be installed and we will be ready to use it.

How can this be reproduced?

Go to admin/marketplace Add license key Wait for the Custom Reports feature to be activated

Click on More details in the Custom Reports box

Click on the install button Wait a little and then the error occurs

Matomo version

5.1

PHP version

7.3

Server operating system

Linux (debian 10.13)

What browsers are you seeing the problem on?

Chrome, Microsoft Edge

Computer operating system

Windows 10

Relevant log output

No response

Validations

AltamashShaikh commented 4 months ago

@CVeirup Do you have php-zip module installed ?

You can check using this command on your terminal php -m | grep zip

CVeirup commented 4 months ago

That might be it. I have to wait until Monday to check as my colleague who has access to the console is on vacation this week. I will get back Monday.

CVeirup commented 4 months ago

We have just checked and Zip is present...

CVeirup commented 4 months ago

When I install I'm asked for my password 2 times. Then I get this error: image

And after that the ribbon is present: image

AltamashShaikh commented 4 months ago

@matomo-org/core-team Do you guys know, what could be the problem here ? Seeing past issues looks like we had this issue in 2015 last and was fixed by https://github.com/matomo-org/matomo/issues/7083

AltamashShaikh commented 2 months ago

@CVeirup Did you manage to get a workaround for this ? If you still facing an issue can you let us know the status of your subscription ?

Screenshot from 2024-09-10 13-31-44

CVeirup commented 2 months ago

I gave up using the web based install. I had to install it manually on the server...

AltamashShaikh commented 2 months ago

@CVeirup Do you know if the status was active for CustomReports plugin ? You can check the status under "Administration > Plugins > Manage Subscriptions"