After upgrade to v25 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, 20.0.5): 25.0.0
Operating system and version (eg, Ubuntu 20.04): Raspbian 10 Docker
Apache or nginx version (eg, Apache 2.4.25): included
PHP version (eg, 7.4): included
I am using the nextcloud:latest image from docker hub.

The issue you are facing:
I get the message This directory is unavailable, please check the logs or contact the administrator when opening the files tab. I also can not see any files.
Used space is correctly shown in the bottom left and occ files:scan --all returns a number that seems reasonable.

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

Steps to replicate it:

Honestly… no idea. I just upgraded from Version 24.x to 25.0.0

The output of your Nextcloud log in Admin > Logging:

[webdav] Error: TypeError: OCA\DAV\Connector\Sabre\FilesPlugin::OCA\DAV\Connector\Sabre\{closure}(): Return value must be of type ?int, float returned at <<closure>>

 0. /var/www/html/3rdparty/sabre/dav/lib/DAV/PropFind.php line 95
    OCA\DAV\Connector\Sabre\FilesPlugin->OCA\DAV\Connector\Sabre\{closure}("*** sensitive parameters replaced ***")
 1. /var/www/html/apps/dav/lib/Connector/Sabre/FilesPlugin.php line 356
    Sabre\DAV\PropFind->handle("{}size", Closure {})
 2. /var/www/html/3rdparty/sabre/event/lib/WildcardEmitterTrait.php line 89
    OCA\DAV\Connector\Sabre\FilesPlugin->handleGetProperties(Sabre\DAV\PropFind {}, OCA\DAV\Files\FilesHome {})
 3. /var/www/html/3rdparty/sabre/dav/lib/DAV/Server.php line 1052
    Sabre\DAV\Server->emit("propFind", [Sabre\DAV\PropF ... }])
 4. /var/www/html/3rdparty/sabre/dav/lib/DAV/Server.php line 984
    Sabre\DAV\Server->getPropertiesByNode(Sabre\DAV\PropFind {}, OCA\DAV\Files\FilesHome {})
 5. /var/www/html/3rdparty/sabre/dav/lib/DAV/Server.php line 1662
    Sabre\DAV\Server->getPropertiesIteratorForPath("files/david", ["{DAV:}getlastm ... "], 1)
 6. /var/www/html/3rdparty/sabre/dav/lib/DAV/Server.php line 1647
    Sabre\DAV\Server->writeMultiStatus(Sabre\Xml\Writer ... ]}, Generator {}, false)
 7. /var/www/html/3rdparty/sabre/dav/lib/DAV/CorePlugin.php line 346
    Sabre\DAV\Server->generateMultiStatus(Generator {}, false)
 8. /var/www/html/3rdparty/sabre/event/lib/WildcardEmitterTrait.php line 89
    Sabre\DAV\CorePlugin->httpPropFind(Sabre\HTTP\Request {}, Sabre\HTTP\Response {})
 9. /var/www/html/3rdparty/sabre/dav/lib/DAV/Server.php line 472
    Sabre\DAV\Server->emit("method:PROPFIND", [Sabre\HTTP\Requ ... }])
10. /var/www/html/3rdparty/sabre/dav/lib/DAV/Server.php line 253
    Sabre\DAV\Server->invokeMethod(Sabre\HTTP\Request {}, Sabre\HTTP\Response {})
11. /var/www/html/3rdparty/sabre/dav/lib/DAV/Server.php line 321
12. /var/www/html/apps/dav/lib/Server.php line 360
13. /var/www/html/apps/dav/appinfo/v2/remote.php line 35
14. /var/www/html/remote.php line 167
    require_once("/var/www/html/a ... p")

PROPFIND /remote.php/dav/files/david/
from by david at 2022-10-24T22:11:46+00:00

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

$CONFIG = array (
  'trusted_proxies' =>
  array (
    0 => '',
  'overwritehost' => '',
  'overwriteprotocol' => 'https',
  'htaccess.RewriteBase' => '/',
  'memcache.local' => '\\OC\\Memcache\\APCu',
  'apps_paths' =>
  array (
    0 =>
    array (
      'path' => '/var/www/html/apps',
      'url' => '/apps',
      'writable' => false,
    1 =>
    array (
      'path' => '/var/www/html/custom_apps',
      'url' => '/custom_apps',
      'writable' => true,
  'instanceid' => 'ocuc8455g6x2',
  'passwordsalt' => 'SEzHnVTqv7Im55SqUFPUEW/n81kmOr',
  'secret' => 'vtdTbEe7snNxG+Sizde+2VSEN++RoVMxqaQ6hM9n2Sou7xn+',
  'trusted_domains' =>
  array (
    0 => '',
  'datadirectory' => '/var/www/html/data',
  'dbtype' => 'mysql',
  'version' => '',
  'overwrite.cli.url' => '',
  'dbname' => 'nextcloud',
  'dbhost' => 'mariaDB:3306',
  'dbport' => '',
  'dbtableprefix' => 'oc_',
  'mysql.utf8mb4' => true,
  'dbuser' => 'oc_david',
  'dbpassword' => 'TbLrleZ2MeVgJPq6WOoSCU3fiG0TDb',
  'installed' => true,
  'check_data_directory_permissions' => false,
  'maintenance' => false,
  'theme' => '',
  'loglevel' => 0,
  'app_install_overwrite' =>
  array (
    0 => 'unsplash',

Errors in admin panel: (This is a sharex image hoster)

Edit: I am also geting this warning in the admin overview which leads me to assume that there might be a problem with file permissions. I have no idea however on how I would fix these (as I can’t chown to a user that lives inside a docker container from my host machine).

Which docker image are you using?

i’m using the image that is tagged as official on docker hub. Docker Hub
I’d be willing to migrate to the nextloud-aio but have not found a migration guide from the old image.

After taking a closer look at the nextcloud aio container I would much prefer to stay with my current setup. (However if that is not possible, I guess I will have to accept it)
The aio container seems to be quite intrusive and touches a lot of things I would rather do myself.
This is a little bit to much voodoo magic for my likings.

This issue is definitely the same like e.g. No file structure displayed after updating to 25.0.0rc2. There you will find a solution to your problem.