@alimony opened this Issue on May 25th 2021

Expected Behavior

Upgrading Matomo should not introduce any stray files that cause a file integrity check warning.

Current Behavior

File integrity check reports the following after upgrading:

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

File to delete: package-lock.json
File to delete: phpcs.xml

Possible Solution

Not sure.

Steps to Reproduce (for Bugs)

  1. Upgrade Matomo to 4.3.0
  2. Run the system check


Does not affect me directly, but something is obviously wrong.

Your Environment

  • Matomo Version: 4.3.0
  • PHP Version: 7.4.3
  • Server Operating System: Ubuntu 20.04.1 LTS
  • Additionally installed plugins: GoogleAnalyticsImporter, InvalidateReports, TasksTimetable
@Findus23 commented on May 25th 2021 Member

this is related to https://github.com/matomo-org/matomo/issues/17399

Simply automatically deleting all files that the integrity report flags sounds like a very bad idea as it will probably delete custom files from a few users.
So a more clever solution needs to be found.

@alimony commented on May 25th 2021

I don't expect Matomo itself to leave these specific files behind in the first place.

@sgiehl commented on May 25th 2021 Member

Those files should not have been included in a release at all. That was kind of done by accident and so they have been removed in a later release again.

@mathContao commented on May 26th 2021

I had the same issue. It needed some minutes, than the issue disappeared

Powered by GitHub Issue Mirror