Clear install NC12 - error "Some files have not passed the integrity check"

Hi all )

There is a problem with installing a new server.
config - clear Ubuntu 17.04 + Apache2
I chose different packages, versions 12,0,3; 12.0.2; 13,0,0beta1

After installing any of the versions, when you enter the admin panel, the error “Some files have not passed the integrity check”

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


  • core
      • .htaccess
      • .user.ini

Raw output

[core] => Array
[.htaccess] => Array
[expected] => da8e0075f23227b107fc705aa1b20378107d3a1c195d96ed13e5f4f25c38d6c660aab75be183ae5799a4ff7eae0ea739a14c944430ee8bb9e9a824235aa136eb
[current] => cf83e1357eefb8bdf1542850d66d8007d620e4050b5715dc83f4a921d36ce9ce47d0d13c5d85f2b0ff8318d2877eec2f63b931bd47417a81a538327af927da3e


        [FILE_MISSING] => Array
                [.user.ini] => Array
                        [expected] => 467d4f028c447895716a2b7859ed6e569f8ee34b87b51d73dab2e6a9ca4fbe63172c7be3e365ae864a60408286afcce852dd38ee544b61685ed4ee5e021fecb0
                        [current] => 





How to solve this problem?

Two weeks ago I installed a home server, there were no such errors…

Yes, I forgot to clarify.
On the home server is version 12,0,3 installed without problems.

I tried to copy the core / signature.json file from my server to a new one, as advised in one of the solutions, but the problem remained

the configuration of virtual servers is exactly the same, the disk image from which the system was installed was one

On Linux, file names that start wit a dot (“.”) are equivalent to hidden files. If you type “ls” or “ls -l” for a short or long listing of files, you will not see any files that start with a dot. If you type “ls -a” hidden files will be shown as well. I guess this is nothing new. At least it may help you to locate any files that start with a dot (“.”).

There have been reports nextcloud overwrites .user.ini and .htaccess at times:

You could download nextcloud fresh and extract in a different directory and copy the missing files across.

Alterntatively, here is a trick to update the file scan:
(do this only if you are sure of your “.htaccess” file integrity)

Edit your “config.php” and include the following line:
‘integrity.check.disabled’ => true,

Now reload the page and when you see the yellow banner click on ‘rescan’.
Log-out and next time you log-in as admin you will not see the banner.
You can now delete the line you put in your config.php to re-enable the integrity check, and you will not see the banner anymore.

Many thanks for the help)

I kind of understood what the problem was.

I’m a fool)

I put the home server according to the instructions, where the archive is unpacked immediately to the folder (/ var / www / …) And now I found another instruction, and on it - the archive is first unpacked in the home folder, and only then transferred to the necessary folder / var / www / …)

during the transfer lost hidden files -. htaccess and .user.ini

so you need to unpack the archive directly into the root directory, where you will live further NC ))