Failed integrity check : detected extra files don't exist

hello i’ve just manually upgraded from owncloud 9 to nextcloud 10

i have an alert concerning the integrity check i already have with owncloud since a previous upgrade (i don’t remember exactly which one, using the debian packages)

here is the full output.
as you can see every expected results are empty.
how could this happened and still happening after i changed every files ?
i guess it must be an error in the db…

thanks in advance

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
=======
- dav
	- EXTRA_FILE
		- lib/Migration/FixBirthdayCalendarComponent.php
- updatenotification
	- EXTRA_FILE
		- admin.php
- files_sharing
	- EXTRA_FILE
		- js/external.js
		- ajax/external.php
- activity
	- EXTRA_FILE
		- README.md
- federatedfilesharing
	- EXTRA_FILE
		- settings-admin.php
- files_external
	- EXTRA_FILE
		- 3rdparty/Dropbox/README.md
		- settings.php
- files_pdfviewer
	- EXTRA_FILE
		- README.md
- firstrunwizard
	- EXTRA_FILE
		- README.md
- gallery
	- EXTRA_FILE
		- .github/CONTRIBUTING.md
		- README.md
- user_ldap
	- EXTRA_FILE
		- settings.php
		- tests/data/sid.dat
		- lib/Command/UpdateGroup.php
- files_trashbin
	- EXTRA_FILE
		- lib/Command/ExpireTrash.php
- files_versions
	- EXTRA_FILE
		- lib/Command/ExpireVersions.php
- external
	- EXTRA_FILE
		- img/music.png
		- img/music.svg
- federation
	- EXTRA_FILE
		- settings/settings-admin.php
- files
	- EXTRA_FILE
		- admin.php
- files_texteditor
	- EXTRA_FILE
		- README.md
- encryption
	- EXTRA_FILE
		- settings/settings-admin.php
- user_external
	- EXTRA_FILE
		- README.md

Raw output
==========
Array
(
    [dav] => Array
        (
            [EXTRA_FILE] => Array
                (
                    [lib/Migration/FixBirthdayCalendarComponent.php] => Array
                        (
                            [expected] => 
                            [current] => 71cbdc9f969b70f8c288c129bfbe0115bbc03ff461d9274586c62199b8e2da7a28b72c9c14710a6fc1e896dd975e1fe7dd170b46b5bc6d70f6fc8ed96d00a83a
                        )

                )

        )

    [updatenotification] => Array
        (
            [EXTRA_FILE] => Array
                (
                    [admin.php] => Array
                        (
                            [expected] => 
                            [current] => 9ba0349bab264345c6e83bcfcededf9f3d842e14423649c38d90159f07b6deb2f254fac41e4a946e3a0eea1fca0f108fdd3e7aa654a2882f9027ce770633b7de
                        )

                )

        )

    [files_sharing] => Array
        (
            [EXTRA_FILE] => Array
                (
                    [js/external.js] => Array
                        (
                            [expected] => 
                            [current] => 6d322560905b3f16dc5346c4a530842750bd124dea47b0359745ff2ffd0f60c7a6dda41c66962369348aecaeeaad30488acb677e459e5ef566b36386e70c62f0
                        )

                    [ajax/external.php] => Array
                        (
                            [expected] => 
                            [current] => e34b2f8c8d4316054f6f8f3e57162f77f87a3fbf3af1101e4f3fdeb5e22333351cf0aeb77a248f89dbef1da9479ba4898fccf0f12df2b02e0a81a05a5f8d670d
                        )

                )

        )

    [activity] => Array
        (
            [EXTRA_FILE] => Array
                (
                    [README.md] => Array
                        (
                            [expected] => 
                            [current] => 463a11f5bbc29450152d6d791eb68c375826461e8bc5c97b025c4b68919ca29194a8c3a63187f151921d8f54adfe82973070c519359b884002bb4bc00c4fce24
                        )

                )

        )

    [federatedfilesharing] => Array
        (
            [EXTRA_FILE] => Array
                (
                    [settings-admin.php] => Array
                        (
                            [expected] => 
                            [current] => df84ee2a5b79795b17ec3687e81e7a86ccf0fe902897e5c359041c15889f9ed6e66ad16f29ef26d5f8463eb5c34a8015a43527d4a158822a1adfafe3acbbf123
                        )

                )

        )

    [files_external] => Array
        (
            [EXTRA_FILE] => Array
                (
                    [3rdparty/Dropbox/README.md] => Array
                        (
                            [expected] => 
                            [current] => a6a7835e7160a8d307ecacc1b38ff6d61cc1014f90a673eae53c458b7c518b63aa2635bbdf1c55909df2fdb8d39f29f4f714b38d1c8097c1bbad2e5f3108d643
                        )

                    [settings.php] => Array
                        (
                            [expected] => 
                            [current] => cabe8f842e94d2493a5219611e1e1a7c719b3a1a3ee277c300ecf68aa45a69a31de4a7de977578fa8a60b89760f04ceade59e90ed5ac84fea4dd31d3b0ceecc7
                        )

                )

        )

    [files_pdfviewer] => Array
        (
            [EXTRA_FILE] => Array
                (
                    [README.md] => Array
                        (
                            [expected] => 
                            [current] => 502098e7c60fbaa3652a18df3b1e7e9b7c0d837f45d9de81c06250ca3de8461b71276070465e4a064472969b468f806ebd2c2bcc1e1eb2cd81cce072a57c7b9f
                        )

                )

        )

    [firstrunwizard] => Array
        (
            [EXTRA_FILE] => Array
                (
                    [README.md] => Array
                        (
                            [expected] => 
                            [current] => 759bad0f02d5bdfcf55d4ee3e7a34280a15ec28ba2068f282032c40ae00b302d3123549dd6d9ccf6f890f9c845cb1d3c3c663130df1e7f23493e54b30a35bb93
                        )

                )

        )

    [gallery] => Array
        (
            [EXTRA_FILE] => Array
                (
                    [.github/CONTRIBUTING.md] => Array
                        (
                            [expected] => 
                            [current] => 19c87bcc731aea406018e9621d810c4e8b661d39689156ef026be0bd35c864ccba9c51fdae82589e63aa65e786652fe0052d8b6375f0cd4e3e176d1d926a31ab
                        )

                    [README.md] => Array
                        (
                            [expected] => 
                            [current] => 89a797db71aa22f0e39ba00620599c4eba87eddbbbb6ade23d43bf1038f4dbe1fd58931405248e1281c287bc48652aaa04eb4bf21611b2a86f800f1850aaea04
                        )

                )

        )

    [user_ldap] => Array
        (
            [EXTRA_FILE] => Array
                (
                    [settings.php] => Array
                        (
                            [expected] => 
                            [current] => 070d11710f3a52713e359f40ef35f9b7e03f658eff194fe321618da7cc5d99b47df8e77649863db0c82cfe4dff2b87da808cefe66aeb12714b9861ee156fa0b6
                        )

                    [tests/data/sid.dat] => Array
                        (
                            [expected] => 
                            [current] => e186993aca182c6030bc9a0307153f0380486bf37978e7db2965af5ed06e550f641518503542c8e605124e37f3ad7fc3d78075a82c4a1df8b91ffd772e69a0f4
                        )

                    [lib/Command/UpdateGroup.php] => Array
                        (
                            [expected] => 
                            [current] => 6a7873c5d8b679a4ec0292ff9e19915a9e91c2a0b925b483e68d59c7f41337328b12d4f82c95b299bbe86da123f02a7a948a80c7af56319da8076dc809c9718a
                        )

                )

        )

    [files_trashbin] => Array
        (
            [EXTRA_FILE] => Array
                (
                    [lib/Command/ExpireTrash.php] => Array
                        (
                            [expected] => 
                            [current] => 42efaf08e293061436ceea700f7d0ed30b1b1d886539c35d8cff52b2dd80d35a4e367d0059d0a5059971731450419c256ef3bce87a2f0d4b15f531267ba3a2b9
                        )

                )

        )

    [files_versions] => Array
        (
            [EXTRA_FILE] => Array
                (
                    [lib/Command/ExpireVersions.php] => Array
                        (
                            [expected] => 
                            [current] => f5820a2168ae68bd99525bf156347159bf5444fda63c5a568440da0ced869840f1607b9997b6f60b681d7836034c23e4d635e1da5843bc99c309fac53377c73a
                        )

                )

        )

    [external] => Array
        (
            [EXTRA_FILE] => Array
                (
                    [img/music.png] => Array
                        (
                            [expected] => 
                            [current] => 9d026a04e67acdd655af9d72622b145bfc10c720fc156f0561fd2d0640f10fd4dd86e776339a67c5db9fa1461245aad3bc0741ab830293f2855eed1038998314
                        )

                    [img/music.svg] => Array
                        (
                            [expected] => 
                            [current] => e3882d6d34052bb1bc370b1b5886b7d8fe545703ab909a032ec9983fcd15af8d962d5290ff1f54607b1e90da2ead81bb554199c17a684377577bc17b02be20a8
                        )

                )

        )

    [federation] => Array
        (
            [EXTRA_FILE] => Array
                (
                    [settings/settings-admin.php] => Array
                        (
                            [expected] => 
                            [current] => f72992095daa002e85c79f6cd93186ddb53530dd5cbe8674683515ac7d87ae4fcd7258f1769ea5fa4d4a19cf09ad85ba2048e8ddd43ba1a0e395b7379058c618
                        )

                )

        )

    [files] => Array
        (
            [EXTRA_FILE] => Array
                (
                    [admin.php] => Array
                        (
                            [expected] => 
                            [current] => c56a27581fb238248a1af08f5b9180205714d99886a7ed3fae7e095ddf81397d25093995a85047a6259b6ee18c59d6a8491c87b38ca318800c416173212fbfc4
                        )

                )

        )

    [files_texteditor] => Array
        (
            [EXTRA_FILE] => Array
                (
                    [README.md] => Array
                        (
                            [expected] => 
                            [current] => 807d6507baa9319cc23d7728380d7f67061976bb21f5512fc1ec9fb590f5ef32d4fe2abe3457ce832e3a2ec0d0f937f4cb19e4eecf879a12cb0ad05dd76a8333
                        )

                )

        )

    [encryption] => Array
        (
            [EXTRA_FILE] => Array
                (
                    [settings/settings-admin.php] => Array
                        (
                            [expected] => 
                            [current] => 24412e14f17248dbdd793b8809b9fbbeb294f775c0c1663336217b8a54e05a5a2b6cc4838283031f7b0faefb0394152f0066cffb9bfb7eac6d8d7e7eee20cd35
                        )

                )

        )

    [user_external] => Array
        (
            [EXTRA_FILE] => Array
                (
                    [README.md] => Array
                        (
                            [expected] => 
                            [current] => 88621eb153cfb602591112980cdd23aab268d866d403198b292e6ed83689335e2bc2f0592d967fc4e6e27f8450e6680ee994ef3fe0ac10aa83398ef19c759eff
                        )

                )

        )

)

For a manual upgrade, you normally delete all code (which would be everything except the data/-folder and the config/-folder) and then place the new code. If you just overwrite folders, you keep some of the old code files which don’t exist in the new version.

Extra-file errors should be very easy to fix, just delete the files and then run the test again (on the admin page).

1 Like

oh thanks, i hadn’t notice this “extra file” message, i was just focused on the empty expected hash.

now the issue is : none of these files seem to exist.

the thing i did exactly was to create a “nextcloud” directory next to the former “owncloud” one.
then i copied the data, config, and app directories to nextcloud, plus copied the database. (so i could keep a working copy of oc in case)

still the mentioned extra files don’t exist, neither in nextcloud nor in owncloud directories…

is there a cache in db of some sort ?

This file should be in:
apps/dav/lib/Migration/FixBirthdayCalendarComponent.php

1 Like

wo i hadn’t understood all those files where from the /apps directory. (the whole path could have been specified though)

“all tests passed” thanks a lot !