Upgrading Matomo should not introduce any stray files that cause a file integrity check warning.
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
Does not affect me directly, but something is obviously wrong.
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.
I don't expect Matomo itself to leave these specific files behind in the first place.
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.
I had the same issue. It needed some minutes, than the issue disappeared