Nextcloud dav connection error

Nextcloud version: 22.2.0
Operating system and version: docker on Linux 5.4.0-80-generic x86_64
Apache: embedded one
PHP version: 8.0.12

The issue you are facing: cannot connect to dav server

Is this the first time you’ve seen this error? (N): I reinstalled nextcloud docker image several times with no success.

Steps to replicate it:

  1. install from docker, create user admin and password
  2. correctly access nextcloud from web interface
  3. insert “dav://192.168.1.13:8080/remote.php/dav/files/admin/” in nautilus to connect to dav server
  4. Error is returned

no interesting logs are shown except some:

	OCP\Files\NotPermittedException: Could not create folder

    /var/www/html/lib/private/Files/AppData/AppData.php - line 156:

    OC\Files\Node\Folder->newFolder("0")

    /var/www/html/apps/theming/lib/ImageManager.php - line 156:

    OC\Files\AppData\AppData->newFolder("0")

    /var/www/html/apps/theming/lib/ImageManager.php - line 171:

    OCA\Theming\ImageManager->getCacheFolder()

    /var/www/html/apps/theming/lib/Controller/IconController.php - line 90:

    OCA\Theming\ImageManager->getCachedImage("icon-core-f ... g")

    /var/www/html/lib/private/AppFramework/Http/Dispatcher.php - line 217:

    OCA\Theming\Controller\IconController->getThemedIcon("core", "filetypes/folder.svg")

    /var/www/html/lib/private/AppFramework/Http/Dispatcher.php - line 126:

    OC\AppFramework\Http\Dispatcher->executeController(OCA\Theming\ ... {}, "getThemedIcon")

    /var/www/html/lib/private/AppFramework/App.php - line 156:

    OC\AppFramework\Http\Dispatcher->dispatch(OCA\Theming\ ... {}, "getThemedIcon")

    /var/www/html/lib/private/Route/Router.php - line 301:

    OC\AppFramework\App::main("OCA\\Themin ... r", "getThemedIcon", OC\AppFramew ... {}, { app: "core ... "})

    /var/www/html/lib/base.php - line 1000:

    OC\Route\Router->match("/apps/themi ... g")

    /var/www/html/index.php - line 36:

    OC::handleRequest()

and

Could not detect any host in https:///data/htaccesstest.txt