Some files have not passed the integrity check. More information----

After I migrated from owncloud to nextcloud this error appeared(see title) at the top of the screen and won’t go away. Nextcloud is completly functional but the banner gets in the way and i would like to get rid of it. Here is the list of files it said failed the integrity check. Does anyone know how to fix this?

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
      • .htaccess
      • .user.ini

Raw output

Array
(
[core] => Array
(
[INVALID_HASH] => Array
(
[.htaccess] => Array
(
[expected] => 4a97aae4d05df89a28bf2e63fe2a31cdf2afe74d3c9f622afb581d6b0f1f4e001639c7c3a31d7aaa793c00d5f355e0bfaad62ec45507245de441cfc552115cd7
[current] => 730bf328f1b827c0a3a171f6a5c8db3ef92f81b1d76a7e69732f24d8af3f4d59752ffdc47987cc370d31d356f9ca010a57fc223aa30028119642cc416e56800b
)

                [.user.ini] => Array
                    (
                        [expected] => 0a557e3cdca4c2e3675deed761d79d109011dcdebbd9c7f6429f1d3476938ec95729543d7384651d1d0c48e26c5024cc5f517445920915a704ea748bdb903c5f
                        [current] => cf83e1357eefb8bdf1542850d66d8007d620e4050b5715dc83f4a921d36ce9ce47d0d13c5d85f2b0ff8318d2877eec2f63b931bd47417a81a538327af927da3e
                    )

            )

    )

)

Make sure that you copied the .htaccess and .user.ini as well (often hidden files are omitted). You’ll find the current version in the archives on https://nextcloud.com/changelog

Ok, so i have to copy the files for the Newcloud or from my backup?

You mean the .htaccess? It’s the best to use the new version (everything from backup only in the case you want to revert to the pre-upgrade situation).

I guess many people are having this issue and they will fix it with the next release