# File is locked - how to unlock

**URL:** <https://help.nextcloud.com/t/file-is-locked-how-to-unlock/1883>\
**Category:** 📑 How to\
**Tags:** database\
**Created:** [July 24, 2016, 8:56am UTC](https://help.nextcloud.com/t/file-is-locked-how-to-unlock/1883 "2016-07-24T08:56:50Z")\
**Posts on this page:** 1\
**Showing post:** 40

<div class="post-metadata">

**Author:** ![wale](https://help.nextcloud.com/user_avatar/help.nextcloud.com/wale/32/9779_2.png) [@wale](https://help.nextcloud.com/u/wale)\
**Post date:** [July 1, 2018, 8:11am UTC](https://help.nextcloud.com/t/file-is-locked-how-to-unlock/1883/40 "2018-07-01T08:11:41Z")

</div>

Thank you! This worked for me. By the way, I’m running Nextcloud in an iocage jail on FreeNAS, so I changed www-data to www  
By the way, your config.php file has to be in ordinary mode (not maintenance mode).

 ![image](https://help.nextcloud.com/uploads/default/original/2X/7/743bc5c2d1b72fe3d0e8e139bd1197b4612ee770.png)

---

_[View the full topic](https://help.nextcloud.com/t/file-is-locked-how-to-unlock/1883)._
