.htaccess not working & Integrity problem

Hi All,

I have installed the nextcloud on my ubuntu 16.04 server.
But i get following two problems:

Integrity problem
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] => ab5f4c44ba2f9c66f2ed25c3ad3d84660b2808cca11ffa8fe2778a648a054d8ada495a0bf4715dc873aac1efe8dfd92a72f9a24441d8f5240834e639325fd892
[current] => 8497ca3dea97ba4a27f0a587acc476a4d1e4ea89c143c5f5b7ed887bf9ae662a2e6c3cdc41fa1f7928b55e33de1442066de75a2c0f16d773e5bd8629b9ea5986

                [.user.ini] => Array
                        [expected] => 0a557e3cdca4c2e3675deed761d79d109011dcdebbd9c7f6429f1d3476938ec95729543d7384651d1d0c48e26c5024cc5f517445920915a704ea748bdb903c5f
                        [current] => 04827e9f032ac471ee226c5a2aa7b80ae5de86d1a06df8145cf85a2a24217b1bc83698889c7101d1c893834fbbc153a04510a242c5e57d5d5119549df50ed4a4


And .htaccess-not working error.

How can i solve the problems? I tried to copy .htaccess from the original zip file, but no chance…


Did you click the ‘rescan’ link after replacing the files?

Yes, i clicked, but still the same warning.

Could somebody please help me? I still have the problem…


For the integrity check issue, make sure you have the correct files in place and click the rescan link. You can also check integrity with the occ command. For example,

./occ integrity:check-core

I moved the data directory to another location out of the www directory. so i solved the htaccess.

But integrity problem… it did not solved…

You can get the original .htaccess and .user.ini from the archive of the version your are using from https://nextcloud/changelog.