# Integrity Check failed -\>\> .htaccess file invalid

**URL:** <https://help.nextcloud.com/t/integrity-check-failed-htaccess-file-invalid/163774>\
**Category:** ℹ️ Support\
**Created:** [June 9, 2023, 4:31pm UTC](https://help.nextcloud.com/t/integrity-check-failed-htaccess-file-invalid/163774 "2023-06-09T16:31:15Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![BlueBee](https://help.nextcloud.com/letter_avatar/bluebee/32/6_22734026db12803ebb3e059622ac3534.png) [@BlueBee](https://help.nextcloud.com/u/BlueBee)\
**Post date:** [June 9, 2023, 5:17pm UTC](https://help.nextcloud.com/t/integrity-check-failed-htaccess-file-invalid/163774/2 "2023-06-09T17:17:59Z")

</div>

I have found the solution for the issues in my Nextclous instance. The solution comes froma topic from Akhenaton in July 2016 ([Failed integrity check after manual upgrade - #6 by Akhenaton](https://help.nextcloud.com/t/failed-integrity-check-after-manual-upgrade/1382/6))

1. Add the folling line in the /config/config.php file:  
 → ‘integrity.check.disabled’ =\> true,
2. Now reload the page ‘Security & setup warnings’
3. When you see the yellow banner click on rescan
4. Log-out
5. Log back in as admin you will not the integrity failure anymore
6. Now delete the line that you put in your /config/config.php file to re-enable the integrity check

This did work for me. And I hope someone finds use in the topic…  
Regards and stay safe.

---

_[View the full topic](https://help.nextcloud.com/t/integrity-check-failed-htaccess-file-invalid/163774)._
