NC 15.0.7->16.0.0 Upgrade - File Integrity check failed

Nextcloud version (eg, 12.0.2): 16.0.0
Operating system and version (eg, Ubuntu 17.04):
Apache or nginx version (eg, Apache 2.4.25):
PHP version (eg, 7.1):

The issue you are facing: File integrity check fails after upgrade to 16.0.0

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.

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

Steps to replicate it:

  1. Upgrade from NC 15.0.7 to 16.0.0 (via assistant)
  2. Click on Preferences
  3. Click on Overview

The output of your Nextcloud log in Admin > Logging:


Results
=======
- files_rightclick
	- EXTRA_FILE
		- README.md

Raw output
==========
Array
(
    [files_rightclick] => Array
        (
            [EXTRA_FILE] => Array
                (
                    [README.md] => Array
                        (
                            [expected] => 
                            [current] => cf73849388838de5037624e53303618579b164ec69fd55834ce4c5332ae33f778839e36298cbcc8ede90620927e076dbb8883479754e4c09b0491b15bf7653f3
                        )

                )

        )

)

The output of your config.php file in /path/to/nextcloud (make sure you remove any identifiable information!):

PASTE HERE

The output of your Apache/nginx/system log in /var/log/____:

PASTE HERE

there should be no README.md in your nextcloud folder.

just move outside your installation folder or delete it.

1 Like

The maintainer of the right-click app has probaly taken the README.md file out of his package. And while it had been included before, it integrity check is now complaining.
I had the same issue during the update, but nothing to worry about. Just remove the file
/path/to/nextcloud/apps/files_rightclick/README.md

and hit retry on the web updater.

2 Likes

Thanks, done! Works!

Even after deleting Readme.md file, I am still getting the same error. Any other solution? @Schmu

Did you perform a re-scan, after you deleted the file? Please do if not already done and provide a new output of the integrity check.

I have already done re-scan so many times after deleting the file.

Yes okay, but what is the scan complaining about now? Could you post an up to date scan result?
You can also add an output of ls -al of the directory in question.

Some files have not passed the integrity check. Further information on how to resolve this issue can be found in the documentation. (List of invalid files… / Rescan…)

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
		- ocs/.rnd
		- .rnd

Raw output
==========
Array
(
    [core] => Array
        (
            [EXTRA_FILE] => Array
                (
                    [ocs/.rnd] => Array
                        (
                            [expected] => 
                            [current] => ae8d523f60742ebd8d4c9788259e30bd7331e213c874e7ca058dac1e0d3ffaba0ed9eb20d184e00a4ca3fd8ec473e8b73389933ee8a835f4fa4757fc59418688
                        )

                    [.rnd] => Array
                        (
                            [expected] => 
                            [current] => 69affe975207adf123d5de7ec7bb98e7478d65dace66e83509a8074a9c7eca23a597189d2d784780985281811448f4be9073c71959cca23f48005b844696becf
                        )

                )

        )

)

You see, totally different files and no more complaining about the README.md.

In case it is too difficult to figure out: these files should also not be there and need to be deleted.

cd /path/to/nextcloud
rm .rnd ocs/.rnd

@Schmu Thank you so much problem solved. All checks passed.

Thanks, @Schmu, brut this problem is present since a lot of time.
remove it each time you upgrade is not a permanent solution.
The reference to the file is there :

$nextcloud_home/3rdparty/phpseclib/phpseclib/phpseclib/openssl.cnf

Maybe there is a way to add an ignorefile to the updater ?