Integrity Check / EXTRA_FILE after upgrade (twofactor_totp and bruteforcesettings)

Nextcloud version 25.0,7
Operating system and version OpenSUSE Leap 15.4
Apache or nginx version 2.4.51
PHP version 7.4.33

After upgrading, for several nextcloud versions in a row, usually file integrity warnings are disappearing., after a while, or after some rescans.

Whyever not for twofactor_totp and bruteforcesettings (anymore),

list of files shows:

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
=======
- twofactor_totp
	- EXTRA_FILE
		- stylelint.config.js
		- .php-cs-fixer.dist.php
		- README.md
		- l10n/.gitkeep
		- vendor/composer/platform_check.php
		- vendor/composer/installed.php
		- vendor/composer/InstalledVersions.php
		- psalm.xml
- bruteforcesettings
	- EXTRA_FILE
		- .php-cs-fixer.dist.php
		- l10n/.gitkeep

Raw output
==========
Array
(
    [twofactor_totp] => Array
        (
            [EXTRA_FILE] => Array
                (
                    [stylelint.config.js] => Array
                        (
                            [expected] => 
                            [current] => 1b0c21fcb497dd0396b318d813e149aec91c335fedbfd0193bdad0fb76e9d23070aa60f57b3f990f8ff0103447524bccafe06708d24f995f3aae37f3e337e753
                        )

                    [.php-cs-fixer.dist.php] => Array
                        (
                            [expected] => 
                            [current] => caedd21caff482beb978d287aa07d98f4c473d5c8c9f0c0f72f28e914c39179de076f33132bebb78e8bad04c876a98a0f1d59f1625954174d06973f1c5dbf1cc
                        )

                    [README.md] => Array
                        (
                            [expected] => 
                            [current] => 6bda42572c3d4df7ce31e38993369a6db493583e4f0018bf7658db561460ada1963169bd5c5341df4e4950e6f6ee6e9e617f3f4975fb01b8ff6ed930c4579aef
                        )

                    [l10n/.gitkeep] => Array
                        (
                            [expected] => 
                            [current] => cf83e1357eefb8bdf1542850d66d8007d620e4050b5715dc83f4a921d36ce9ce47d0d13c5d85f2b0ff8318d2877eec2f63b931bd47417a81a538327af927da3e
                        )

                    [vendor/composer/platform_check.php] => Array
                        (
                            [expected] => 
                            [current] => 3a6ee48b1b0fc814c7662ccca2cdd03481c52213f02ba32940dc33d717de0a421f9aade8a4bb75a93c0e91f7a523a139448b9f66bae26da8177c206c6a50e695
                        )

                    [vendor/composer/installed.php] => Array
                        (
                            [expected] => 
                            [current] => b189c3d15de7bfec2745fa59ba6932648aa09c59f192019f9ce6cab7510277c6fc8ac8bdce2824c22934a40fc9a54b6c8575fbde66cf8e3a9c4f3b2817a4b909
                        )

                    [vendor/composer/InstalledVersions.php] => Array
                        (
                            [expected] => 
                            [current] => 86ebb1216b59b01b7cd1f3b2e66311cd6295b58fab91a9a82603f903c6d2f716d7697a82d625372538f809e9e45f7dbd257a00e2b95d23c3785e4eeb3a6ebb60
                        )

                    [psalm.xml] => Array
                        (
                            [expected] => 
                            [current] => c75fd811f2833da21c54f2081b402648ecc399833af4dc594d50a5f9c882f9ec36e926a54ed691891856fef72f0d16d5871236ccc8b580d434403565aedec834
                        )

                )

        )

    [bruteforcesettings] => Array
        (
            [EXTRA_FILE] => Array
                (
                    [.php-cs-fixer.dist.php] => Array
                        (
                            [expected] => 
                            [current] => a768a02ed4d9c9dfc8686d94cb3d921c851afb5598d9dd0b3b2abf9097e25a0276fc5eb53b1ec4fd1ff79583b24ed5fc09ad379e17068fd74bf2a2522c388248
                        )

                    [l10n/.gitkeep] => Array
                        (
                            [expected] => 
                            [current] => cf83e1357eefb8bdf1542850d66d8007d620e4050b5715dc83f4a921d36ce9ce47d0d13c5d85f2b0ff8318d2877eec2f63b931bd47417a81a538327af927da3e
                        )

                )

        )

)

Any hints why, how to “fix”?

Given both of those apps are shipped with >=NC25, and those are EXTRA_FILES errors… I suspect you have some remnants around from when they weren’t shipped. That or an unusual install approach along the way at some point brought those files in.

I would move them somewhere out of the way and retest.

Thanks!

tar-ed all EXTRA_FILES into an archive and deleted them afterwards.

Can still login via 2FA as admin, was a little bit nervous, but everything fine :smiley:

1 Like