# NexcloudPi crashes a couple of times week, Your data directory is invalid

**URL:** <https://help.nextcloud.com/t/nexcloudpi-crashes-a-couple-of-times-week-your-data-directory-is-invalid/161631>\
**Category:** 📦 Appliances (Docker, Snappy, VM, NCP, AIO)\
**Tags:** nc25, ncp\
**Created:** [May 7, 2023, 3:09pm UTC](https://help.nextcloud.com/t/nexcloudpi-crashes-a-couple-of-times-week-your-data-directory-is-invalid/161631 "2023-05-07T15:09:37Z")\
**Posts on this page:** 1\
**Showing post:** 24

<div class="post-metadata">

**Author:** ![OliverV](https://help.nextcloud.com/user_avatar/help.nextcloud.com/oliverv/32/5741_2.png) [@OliverV](https://help.nextcloud.com/u/OliverV)\
**Post date:** [May 20, 2023, 9:01am UTC](https://help.nextcloud.com/t/nexcloudpi-crashes-a-couple-of-times-week-your-data-directory-is-invalid/161631/24 "2023-05-20T09:01:36Z")

</div>

You should disable automount if you decide to use uuid, can follow [Mounting an external drive using UUID and fstab | Linux admin junior](https://help.nextcloud.com/t/mounting-an-external-drive-using-uuid-and-fstab-linux-admin-junior/97757) instructions.

It is more important however to find out why automount is failing, rather then changing the method of mounting the drive. Have you tried checking the connections and changing the cable?

Automount should work fine, unless you want more control over drive mounting or need to add more then one drive.

---

_[View the full topic](https://help.nextcloud.com/t/nexcloudpi-crashes-a-couple-of-times-week-your-data-directory-is-invalid/161631)._
