Integrity check error for core/js/mimetypelist.js since update to 22.2.5

Nextcloud version (eg, 20.0.5): 22.2.5.1
Operating system and version: Debian 11
Apache or nginx version: Apache/2.4.52 (Debian)
PHP version: 7.4.28

Since a recent update, probably from 22.2.2 to Nextcloud 22.2.5, the integriy check claims that core/js/mimetypelist.js has an invalid hash.

#sudo -u www-data php /var/www/nextcloud/occ integrity:check-core

  • INVALID_HASH:
    • core/js/mimetypelist.js:
      • expected: 23a3fa45757b26795f5cf8f94d9e5bce76fc916288a6458679311b312c167adcf4158ccb2c5c3db791fa0b87703b6c5863afb6c9d790b8cbac5ab3ae8c3418fb
      • current: 86c1f1b719b65bf02b1dca9b061ef310c8dfface25c9ccfa243c4090665fa6f305d8a4143d7410350af27b1d9e14968c7d999a965d1e110bc674d30ed5dee4e8

Is this the first time you’ve seen this error? (Y/N):Y

Steps to replicate it:

  1. sudo -u www-data php /var/www/nextcloud/occ integrity:check-core

Please download the v22.2.5Nextcloud archive file, extract the mentioned file and replace the one on your server. Afterwards the check should succeed.

Thanks. Worked.