Some files have not passed the integrity check. List of invalid files… Rescan… For more details see the documentation ↗

Some files have not passed the integrity check. List of invalid files… Rescan… For more details see the documentation :arrow_upper_right:.

Nextcloud version (eg, 29.0.5): **[Nextcloud Hub 8 29.0.7
Operating system and version (eg, Ubuntu 24.04): Ubuntu 24.04
Apache or nginx version (eg, Apache 2.4.25): Apache
PHP version (eg, 8.3):

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
		- lib/private/Repair/RepairMimeTypes.php
	- EXTRA_FILE
		- core/img/filetypes/dxf.svg
		- lib/private/Repair/RepairMimeTypes.php.rej

Raw output
==========
Array
(
    [core] => Array
        (
            [INVALID_HASH] => Array
                (
                    [core/js/mimetypelist.js] => Array
                        (
                            [expected] => a57779b4957bedf9bac2a5791b27957ca3e2bfe7b91fd641bb0cc56801588e0778610a26141a1393d83d77bc04be67ae625c70a7ad4afb2a7f14cb64c66ee31b
                            [current] => 95fee64a0010c8de22cc5bc74bef79cf59a89b463054041351b23c83b42a24e57cdd7b7467a04ed0fa14afba60e766d3d1bc9b548632212037d0e6ea72954c67
                        )

                    [lib/private/Repair/RepairMimeTypes.php] => Array
                        (
                            [expected] => 1e88dcb09eeb47ad50485ff0eeb6483ee36607c14c409595a690ecf12f7b30ae9309b801a732187596eb717e2fd55f77c0588e8e3696e4878787329a7b922412
                            [current] => cbe37950a516bdaa081a318a5ea934c424c4fcd16d8690efdfa68a09241c553cdb41f3994a451dd20d69d15a6525f988e3fcb3668e8fb50f6f9afd60bc0aa9d1
                        )

                )

            [EXTRA_FILE] => Array
                (
                    [core/img/filetypes/dxf.svg] => Array
                        (

What should I do? Thank you!

Use the nc-integrity-fix script.


Much and good luck,
ernolf

1 Like

Thank you, it worked. It solved my yellow alarm, but the red alarm still exists, only with some changes.

  • EXTRA_FILE
    - core/img/filetypes/dgn.svg

Can I delete this file? I dare not do so

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
	- EXTRA_FILE
		- core/img/filetypes/dgn.svg

Raw output
==========
Array
(
    [core] => Array
        (
            [EXTRA_FILE] => Array
                (
                    [core/img/filetypes/dgn.svg] => Array
                        (
                            [expected] => 
                            [current] => 2e4ae9859c70005b895073cdd94cebc48ba89afd50d17ad3e76ab20a7e1ab90e0d6b6e7c85fbfd5b95e442620ea5b36805ff074843bd6d88550dc3b05aa5d559
                        )

                )

        )

)

You shiould remove that file…

Then you can simply move the file to a backup place or create a backup of it and then run the script again and answer “Yes” when it asks you to delete it.


ernolf

This topic was automatically closed 8 days after the last reply. New replies are no longer allowed.