Error after Onlyoffice upgrade

I could reproduce, I guess the integrity check fails because the onlyoffice app changed a file in Nextcloud. It’s not a big problem and can be ignored.

The recommended way is just replacing the file Nextcloud complains about, see wiki or Nextcloud docs.

Get the right nextcloud-x.x.x.zip, should be 22.2.3:

wget https://download.nextcloud.com/server/releases/nextcloud-22.2.3.zip

Backup the file:

cp /usr/share/nextcloud/core/js/mimetypelist.js ~

Maybe you need to install unzip:

yum install unzip

Unzip the file to the Nextcloud path:

unzip -j nextcloud-22.2.3.zip nextcloud/core/js/mimetypelist.js -d /usr/share/nextcloud/core/js

Clean up:

rm nextcloud-22.2.3.zip

I found that reinstalling Nextcloud removes the warning too as it restores all files to the original ones but I had issues with onlyoffice afterwards so I DO NOT recommend it in this case…

1 Like