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

Matomo 4.6.0 update causes integrity check error #18412

Closed
MichaIng opened this issue Nov 30, 2021 · 3 comments
Closed

Matomo 4.6.0 update causes integrity check error #18412

MichaIng opened this issue Nov 30, 2021 · 3 comments
Labels
duplicate For issues that already existed in our issue tracker and were reported previously.
Milestone

Comments

@MichaIng
Copy link
Contributor

Files were found in your Matomo, but we didn't expect them.
--> Please delete these files to prevent errors. <--

File to delete: vendor/lox/xhprof/bin/xhprofile

This already happened at least on last RC version.

Expected Behavior

If there were no integrity check errors before an update, there shouldn't be any after an update.

Current Behavior

Update to Matomo 4.6.0 creates vendor/lox/xhprof/bin/xhprofile which violates the integrity check.

Possible Solution

Remove this file from the update archive.

Steps to Reproduce (for Bugs)

  1. Start with any Matomo <4.6.0
  2. Verify that there are no integrity check errors, else fix them
  3. Update to Matomo 4.6.0
  4. Check for integrity check errors

Context

Your Environment

  • Matomo Version: 4.6.0
  • PHP Version: 8.1.0
  • Server Operating System: Debian Bookworm
  • Additionally installed plugins:
API, Actions, Annotations, BulkTracking, CoreAdminHome, CoreConsole, CoreHome, CorePluginsAdmin, CoreUpdater, CoreVisualizations, CoreVue, DBStats, DarkTheme 1.1.7, Dashboard, DevicePlugins, DevicesDetection, Diagnostics, Goals, ImageGraph, Insights, Installation, Intl, LanguagesManager, Live, LogViewer 4.0.1, Login, Marketplace, Monolog, Morpheus, PagePerformance, PrivacyManager, Proxy, Referrers, Resolution, SEO, SegmentEditor, SitesManager, TrackingSpamPrevention 4.1.0, Transitions, UserLanguage, UsersManager, VisitFrequency, VisitTime, VisitorInterest, VisitsSummary, WebsiteMeasurable
@MichaIng MichaIng added the Potential Bug Something that might be a bug, but needs validation and confirmation it can be reproduced. label Nov 30, 2021
@DBX12
Copy link

DBX12 commented Nov 30, 2021

I'm seeing this as well. Additionally, I got some more files highlighted by the integrity check

Files were found in your Matomo, but we didn't expect them.
--> Please delete these files to prevent errors. <--

File to delete: misc/composer/build-xhprof.sh
File to delete: misc/composer/clean-xhprof.sh
File to delete: vendor/lox/xhprof/bin/xhprofile
File to delete: node_modules/jquery.dotdotdot/.npmignore

While the first two seem like build dependencies and could potentially be deleted, the third one looks definitely like a wanted file to me. That .npmignore is probably unproblematic to delete.

@MichaIng
Copy link
Contributor Author

MichaIng commented Nov 30, 2021

At least the latest update does not ship the other three files, but probably they were shipped with Matomo 4.5 already? I remember seeing integrity check errors more regularly after updates, but I didn't report them every time when faced during beta or RC updates. Now it is however a stable release and that additional file was definitely shipped with the v4.6.0 stable update since I removed the same file before on v4.6.0-rc2.

@tsteur tsteur added this to the 4.6.1 milestone Nov 30, 2021
@tsteur tsteur added duplicate For issues that already existed in our issue tracker and were reported previously. and removed Potential Bug Something that might be a bug, but needs validation and confirmation it can be reproduced. labels Nov 30, 2021
@tsteur
Copy link
Member

tsteur commented Nov 30, 2021

Thanks for this @MichaIng . I'll mark this as a duplicate of #18415 we will look into this soon and I think we'll release a 4.6.1 where this will be fixed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
duplicate For issues that already existed in our issue tracker and were reported previously.
Projects
None yet
Development

No branches or pull requests

3 participants