OS: Ubuntu 18.04.1
Nextcloud version: 15.0.4
After I upgraded from 15.0 to 15.0.4, I had to update my .htaccess file from /var/www/html, the Newtcloud web path, to include some best practicies from Nextcloud (settings/admin/overview).
The thing is that after that I received this error in the Overview page:
" Some files have not passed the integrity check."
https://pastebin.com/LHPxNzuB
I tried:
- occ maintenance:update:htaccess
- /var/www/html/cron.php
- occ files:scan --all
- Nextcloud forum
- ‘integrity.check.disabled’ => true, in config.php (I don’t want to disable this security feature)
Nothing works, except if I put the original and untouched .htaccess file from the Nextcloud archive.
I saw the “Code signing”** page, but I don’t understand how can I do it on this file .htaccess.
Any thoughts/ideas/comments?
** https://docs.nextcloud.com/server/15/admin_manual/issues/code_signing.html