Folder is visible but shows error: This directory is unavailable, please check the logs or contact the administrator

Support intro

Sorry to hear you’re facing problems :slightly_frowning_face: is for home/non-enterprise users. If you’re running a business, paid support can be accessed via where we can ensure your business keeps running smoothly.

In order to help you as quickly as possible, before clicking Create Topic please provide as much of the below as you can. Feel free to use a pastebin service for logs, otherwise either indent short log examples with four spaces:


Or for longer, use three backticks above and below the code snippet:


Some or all of the below information will be requested if it isn’t supplied; for fastest response please provide as much as you can :heart:

Nextcloud version (eg, 15.0.10): 15.0.10
Operating system and version (eg, Ubuntu 18.10): Kubuntu 18.10
Apache or nginx version (eg, Apache 2.4.25):
PHP version (eg, 7.1):

The issue you are facing: One folder got deleted on my computer due to some unkwoen reasons to me. I loggedin NC using browser and found all its contents in ‘Deleted Files’ I restored all sub folders except one. That folder was visible to me and is still visible to me, but when I open it, it shows error ‘This directory is unavailable, please check the logs or contact the administrator’. When I try to restore it, it vanishes and nothing happens in original location. On refresh ‘deleted files’, same folder appears again but with same response. Nextcloud is installed in Bodhi Linux 5.0.0 on LAN server.

Is this the first time you’ve seen this error? (Y/N): Y

Steps to replicate it:

The output of your Nextcloud log in Admin > Logging:

Fatal	webdav	Exception: Directory does not exists

    /snap/nextcloud/15119/htdocs/apps/files_trashbin/lib/Trash/LegacyTrashBackend.php - line 78:

    OCA\Files_Trashbin\Helper::getTrashFiles("/Babulilm.d1564203164", "asimrasheed")

    /snap/nextcloud/15119/htdocs/apps/files_trashbin/lib/Trash/TrashManager.php - line 61:

    OCA\Files_Trashbin\Trash\LegacyTrashBackend->listTrashFolder(OCA\Files_Tr ... {})

    /snap/nextcloud/15119/htdocs/apps/files_trashbin/lib/Sabre/AbstractTrashFolder.php - line 33:

    OCA\Files_Trashbin\Trash\TrashManager->listTrashFolder(OCA\Files_Tr ... {})

    /snap/nextcloud/15119/htdocs/3rdparty/sabre/dav/lib/DAV/Tree.php - line 195:


    /snap/nextcloud/15119/htdocs/3rdparty/sabre/dav/lib/DAV/Server.php - line 899:

    Sabre\DAV\Tree->getChildren("trashbin/as ... 4")

    /snap/nextcloud/15119/htdocs/3rdparty/sabre/dav/lib/DAV/Server.php - line 978:

    Sabre\DAV\Server->generatePathNodes(Sabre\DAV\PropFind {}, [ Sabre\DAV\ ... }])

    /snap/nextcloud/15119/htdocs/3rdparty/sabre/dav/lib/DAV/Server.php - line 1666:

    Sabre\DAV\Server->getPropertiesIteratorForPath("trashbin/as ... 4", [ "{http://n ... "], 1)

    /snap/nextcloud/15119/htdocs/3rdparty/sabre/dav/lib/DAV/CorePlugin.php - line 355:

    Sabre\DAV\Server->generateMultiStatus(Generator {}, false)


    Sabre\DAV\CorePlugin->httpPropFind(Sabre\HTTP\R ... "}, Sabre\HTTP\Response {})

    /snap/nextcloud/15119/htdocs/3rdparty/sabre/event/lib/EventEmitterTrait.php - line 105:

    call_user_func_array([ Sabre\DAV\ ... "], [ Sabre\HTTP ... }])

    /snap/nextcloud/15119/htdocs/3rdparty/sabre/dav/lib/DAV/Server.php - line 479:

    Sabre\Event\EventEmitter->emit("method:PROPFIND", [ Sabre\HTTP ... }])

    /snap/nextcloud/15119/htdocs/3rdparty/sabre/dav/lib/DAV/Server.php - line 254:

    Sabre\DAV\Server->invokeMethod(Sabre\HTTP\R ... "}, Sabre\HTTP\Response {})

    /snap/nextcloud/15119/htdocs/apps/dav/lib/Server.php - line 301:


    /snap/nextcloud/15119/htdocs/apps/dav/appinfo/v2/remote.php - line 35:


    /snap/nextcloud/15119/htdocs/remote.php - line 163:

    require_once("/snap/nextc ... p")

The output of your config.php file in `/path/to/nextcloud` (make sure you remove any identifiable information!):


The output of your Apache/nginx/system log in `/var/log/____`: