# This directory is unavailable, please check the logs or contact the administrator - for one user only?

**URL:** <https://help.nextcloud.com/t/this-directory-is-unavailable-please-check-the-logs-or-contact-the-administrator-for-one-user-only/80598>\
**Category:** ℹ️ Support\
**Tags:** nc17, ldap, nc18-nextcloud-hub\
**Created:** [May 6, 2020, 7:36am UTC](https://help.nextcloud.com/t/this-directory-is-unavailable-please-check-the-logs-or-contact-the-administrator-for-one-user-only/80598 "2020-05-06T07:36:55Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![mvv\_vmd](https://help.nextcloud.com/user_avatar/help.nextcloud.com/mvv_vmd/32/72761_2.png) [@mvv\_vmd](https://help.nextcloud.com/u/mvv_vmd)\
**Post date:** [May 6, 2020, 7:51am UTC](https://help.nextcloud.com/t/this-directory-is-unavailable-please-check-the-logs-or-contact-the-administrator-for-one-user-only/80598/2 "2020-05-06T07:51:19Z")

</div>

We have had unavailable shares from deleted ldap users hang in the database, this is resolved by deleting old ldap users manually and if needed deleting invalid shares from the database.

I would first upgrade to 18.0.4, it could be a fixed bug.

To see if it is the same issue we have try the following on your server.

```
sudo -u www-data php occ ldap:show-remnants
sudo -u www-data php occ user:delete uidhere

```

In the database

`select * from oc_share where uid_owner="deleteduseruidhere"`

And delete any entry that shows up, be careful 😉

---

_[View the full topic](https://help.nextcloud.com/t/this-directory-is-unavailable-please-check-the-logs-or-contact-the-administrator-for-one-user-only/80598)._
