Nextcloud version (eg, 18.0.2): Docker image nextcloud:20.0.1
Operating system and version (eg, Ubuntu 20.04): ubuntu 18.04
Apache or nginx version (eg, Apache 2.4.25):
PHP version (eg, 7.1):
The issue you are facing: on the settings page under security and setup warnings it shows “some files have not passed the integrity check” list of invalid files show wrong hash value for version.php.
Is this the first time you’ve seen this error? (Y/N): YES
Steps to replicate it:
- Docker-compose down the nextcloud container
- Change image from 19.0.1 to 20.0.1
- Docker-compose up
The output from list of invalid files link.
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
- version.php
Raw output
==========
Array
(
[core] => Array
(
[INVALID_HASH] => Array
(
[version.php] => Array
(
[expected] => 8a4630978f202378217231edf0b5babca3cfa87fd5f303c440f592384978a5ca281bd946027667fbd32ad540b2d6b3aad01e17b53dbf83dc84be268e3776775f
[current] => a4c741133942ab8f1fee7b8a603ac6bcd143e782446de79955cc8a24c332a25fde0f761fde620061791c05fcfca03f2e7e2871dd35c12cee20579d2e7935013b
)
)
)
)
Version.php
root@971c69fef0c2:/var/www/html# cat version.php
<?php
$OC_Version = array(20,0,1,1);
$OC_VersionString = '20.0.1';
$OC_Edition = '';
$OC_Channel = 'stable';
$OC_VersionCanBeUpgradedFrom = array (
'nextcloud' =>
array (
'19.0' => true,
'20.0' => true,
),
'owncloud' =>
array (
),
);
$OC_Build = '2020-10-24T08:39:55+00:00 89d88b3ea5b4049355e3c49d121f82e5e62bfc44';
$vendor = 'nextcloud';