Some files have not passed the integrity check. Nextcloud 29.0.0 Docker

Nextcloud version (eg, 20.0.5): 29.0.0
Nextcloud Docker Container are being used

The issue you are facing:
Since I upgraded from the latest 28 version to 29.0.0 I get this error:

Some files have not passed the integrity check. List of invalid files… Rescan Weitere Informationen findest du in der Dokumentation :arrow_upper_right:.

How can I fix this?
Any help or hints are appreciated thank you.

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

Steps to replicate it:

  1. Upgrade from latest 28 to 29.0.0

List of invalid files:

Technical information
=====================
The following list covers which files have failed the integrity check. Please read
the previous linked documentation to learn more about the errors and how to fix
them.

Results
=======
- core
	- INVALID_HASH
		- core/js/mimetypelist.js
	- EXTRA_FILE
		- core/img/filetypes/3dm.svg
		- core/img/filetypes/igs.svg
		- core/img/filetypes/fcstd.svg
		- core/img/filetypes/ply.svg
		- core/img/filetypes/obj.svg
		- core/img/filetypes/off.svg
		- core/img/filetypes/step.svg
		- core/img/filetypes/wrl.svg
		- core/img/filetypes/gltf.svg
		- core/img/filetypes/stl.svg
		- core/img/filetypes/brep.svg
		- core/img/filetypes/3mf.svg
		- core/img/filetypes/3ds.svg
		- core/img/filetypes/glb.svg
		- core/img/filetypes/fbx.svg
		- core/img/filetypes/mtl.svg
		- core/img/filetypes/ifc.svg
		- core/img/filetypes/dae.svg
		- core/img/filetypes/bim.svg

Raw output
==========
Array
(
    [core] => Array
        (
            [INVALID_HASH] => Array
                (
                    [core/js/mimetypelist.js] => Array
                        (
                            [expected] => 5b121122c0bec0580402c04605700056ee06eb553a4692bfc085ad3fc17aa49af43ca7795e98cbd22383020bfa9809bf3cc824b1673595f461479afb602bcec4
                            [current] => 8e5a5d3ad6d00cf4e32620ff1b15bcd6c47986dafd76b7e6bbcdea208412389095a25571feb7f09cbc4069afb0e4ff265f1237e23a6cb2b01f54adeaa53e637b
                        )

                )

            [EXTRA_FILE] => Array
                (
                    [core/img/filetypes/3dm.svg] => Array
                        (
                            [expected] => 
                            [current] => 6f67fc6fc65178fc7a433c28b7979ff7d86daf186aed7d786321ee0bf757a3cb7694b2bfee9c770b243274583d64b6c0e98281aea827ca082d945cba5a99786a
                        )

                    [core/img/filetypes/igs.svg] => Array
                        (
                            [expected] => 
                            [current] => 62811854feedca70914ec769df3e50be0691ba06ece143e5bb82a48eda0bcfd371ea59b1da05cce3a65368cd54d88b699e68601fbf4c62de1794706888f2b46e
                        )

                    [core/img/filetypes/fcstd.svg] => Array
                        (
                            [expected] => 
                            [current] => 9cc09dd1b558b2e670c4529bee1b54e8070d95ffbdbb95e2f86e1580a7a4dcbec84041740da58f42de3daccf224c6d47a74648fe70702dae0bca98e0047843a4
                        )

                    [core/img/filetypes/ply.svg] => Array
                        (
                            [expected] => 
                            [current] => 1a96ccfcb244240b84cd7b9f013719e47802bf724d4a2105946d3bcfccc9d2ce49aa6d3b19a22a20d2f714137f318036faacc34ef86127470a5207ece3c3f28f
                        )

                    [core/img/filetypes/obj.svg] => Array
                        (
                            [expected] => 
                            [current] => fdf2a7a0d03ad7c4a5ca741f9d8a5bbe26e298acd2d40a4d17b7faa1dbac811e41b40ed62fd2ef75ffe5c794d042c7752b33625e2200ba4a5f9f99ac694976d7
                        )

                    [core/img/filetypes/off.svg] => Array
                        (
                            [expected] => 
                            [current] => e97363a4b84c76454db55807517b675c7dd2cb2db8b20f365b55c2b765713f32d38417d902c9b27df079e7353e6556ed6274f37bb5fa96e0f2d3d047be338d0f
                        )

                    [core/img/filetypes/step.svg] => Array
                        (
                            [expected] => 
                            [current] => 135a2bf067c2ea29c4c664f8373df10d59fe9b7b7df3337519942ce67febdb99fb66d3ef602ae84724e38eb43a7574adb7fca4829d0608557d5977765edb606b
                        )

                    [core/img/filetypes/wrl.svg] => Array
                        (
                            [expected] => 
                            [current] => 2bbc7a1f742f46307c6d09df10013252782b7b28a5807e907fc2922adbd94a820b2c02fce8762cfebed0d53f21a14ec81c14933516e0b71316570777be2269e1
                        )

                    [core/img/filetypes/gltf.svg] => Array
                        (
                            [expected] => 
                            [current] => 79f6ab05ac3c3b1b1fcba07ab76d6b7aea3b49cfbb8a01701836f0a91e56217366111b3008998ddc79bcef8aea77830f2c9ca6fa2db78fbffe4b3d8648762dcb
                        )

                    [core/img/filetypes/stl.svg] => Array
                        (
                            [expected] => 
                            [current] => 6ad713d7f4ea0548d5cc34af1ac7e6e15518286abb0e3822bf5ec440802ac719c34112d2ec2e5aacd5a99ee1b15910b3c29efb0c95dad683457c52ec5422f459
                        )

                    [core/img/filetypes/brep.svg] => Array
                        (
                            [expected] => 
                            [current] => bb949514375abc470dbd7813b006de031f3455034a574979d0ec6b4a7211ddc3014f1867a60b62d46efeadbadcee0de35e59d5e078c5a05dd3aebf095a8668b2
                        )

                    [core/img/filetypes/3mf.svg] => Array
                        (
                            [expected] => 
                            [current] => bf87b6e8ff30605a50aaa6d6aeec47149d4ad94c4e23bf6bf14d5d737adab1df5f0c1a76dc4b01d0a8ca1e0522f19cc382f3a70c907a6634962b68a2a1db1ee5
                        )

                    [core/img/filetypes/3ds.svg] => Array
                        (
                            [expected] => 
                            [current] => 7bcb3ed089a22ebf427ff9d70ac2897b0e87275a5b07d474173f555c309c1514a5643e48b73d13719684ff393a9ef939744bda869be0e3de4d8a154204eda199
                        )

                    [core/img/filetypes/glb.svg] => Array
                        (
                            [expected] => 
                            [current] => c2b86e36db81b475843fadb739076ec891ddc22acdc13a1aecc07dd8d95f9087b941844be4fc75ea288a3d50459018f9883cdb199a69fd82318047213c2bc450
                        )

                    [core/img/filetypes/fbx.svg] => Array
                        (
                            [expected] => 
                            [current] => 340cec2b708d4ace6f448eb0cb372abc68c3c58c2879ff8245a1aba56e1f5eac0a4f6b2f1efb0a9057f908b051cd4350b68352a7d2c02ed95aabc2a3cbdcfd14
                        )

                    [core/img/filetypes/mtl.svg] => Array
                        (
                            [expected] => 
                            [current] => 2ff4058b67594f2e98d1d951f26adf06ccd1cda8b8c410d89c3e01149ea04af12966a0a707d8e98e7de6f64150c6b1bbc3b29b267469f523e18fec5523dd2daf
                        )

                    [core/img/filetypes/ifc.svg] => Array
                        (
                            [expected] => 
                            [current] => 9637a8ed2e39da747ced1cbe24f9a3c2e39e52a3313c1d3f2390cfb70562ef26fd2c1e7cc66efbd3fb3724e321c24d05dd3c812fe5c6444c78fea22692b51111
                        )

                    [core/img/filetypes/dae.svg] => Array
                        (
                            [expected] => 
                            [current] => 0eff57fe089a3a80ff1ab65d160492504b8d4a05e445ec1da0f8a25da9ecaecabe2e42c012e9f4b918090a11245393714eb1bf99c9d9a75578e0f76858c3a475
                        )

                    [core/img/filetypes/bim.svg] => Array
                        (
                            [expected] => 
                            [current] => 78a36c3c4ea6ba23bd89c49a8327e9cac84e34e4598c494a4009c54ffd4329b7100795855dca502f8326231c1aa4d181060f4220152090ba4569dcfbacde05fa
                        )

                )

        )

)


Do you have CADviewer and / or 3D Model Viewer installed?

  • Download the Nextcloud version that you have installed.
  • Unzip the downloaded file, it will unzip the file with the name nextcloud

IMPORTANT: put your nextcloud into maintenance mode. Stop you webserver (apache2)

  • Copy the file nextcloud/core/js/mimetypelist.js (from the unzipped folder). Place the file in the nextcloud directory of your webserver (usually: /var/www/nextcloud/core/js). you just overwrite the already existing file.
  • You can safely delete the files:
    - core/img/filetypes/3dm.svg
    - core/img/filetypes/igs.svg
    - core/img/filetypes/fcstd.svg
    - core/img/filetypes/ply.svg
    - core/img/filetypes/obj.svg
    - core/img/filetypes/off.svg
    - core/img/filetypes/step.svg
    - core/img/filetypes/wrl.svg
    - core/img/filetypes/gltf.svg
    - core/img/filetypes/stl.svg
    - core/img/filetypes/brep.svg
    - core/img/filetypes/3mf.svg
    - core/img/filetypes/3ds.svg
    - core/img/filetypes/glb.svg
    - core/img/filetypes/fbx.svg
    - core/img/filetypes/mtl.svg
    - core/img/filetypes/ifc.svg
    - core/img/filetypes/dae.svg
    - core/img/filetypes/bim.svg
  • Restart the webserver and disable the maintenance mode of your nextcloud instance
  • Perform a rescan of the file integrity on the Administrator page ‘Security & Setup Warnings’

My experience is that you need to repeat the process two or three times, because every rescan you will find new ‘EXTRA_FILE’ items.

Yes 3D Model viewer is installed.

Do I have to put nextcloud into maintancemode or can I just stop the nextcloud containers and do it then and start backup once done?

Also Iam not to sure where and what to download?

Which of these:
https://download.nextcloud.com/server/releases/

If you are now running v29, then download this version through this link:
https://download.nextcloud.com/server/releases/nextcloud-29.0.0.zip

Or go to the Nextcloud site: Nextcloud server changelog

you have to put the NC instance in maintenance mode first, then just stop the apache server before copying and replacing the required file.

I’m also having this issue.

Surely the answer isn’t to start manually injecting files into the running container?

The files that are supposedly incorrect are in the container and are not being supplied through volume mapping. This is implies that the container image that NC is shipping contains incorrect files. Surely this is something that NC should be fixing?

Those files (or those versions of them, in the case of core/js/mimetypelist.js) are not coming from the image (at least the ones mentioned in the original post in this thread - I don’t know your situation unless you provide further specifics).

And the mentioned files are, technically, located on the mapped volume for the container for /var/www/html so they, in fact, are local files.

They’re being created (or modified in the case of core/js/mimetypelist.js) as a result something involving the noted apps (and DrawIO) and the mime types integration. It comes up regularly with those apps, but I haven’t had an opportunity myself to get to the bottom of it.

1 Like