Software⏱️ 3 min read📅 2026-06-11

How to Fix: Error: "/sbin/mount.davfs: mounting failed; the server does not support WebDAV"

Error fixing WebDAV mounting on Debian 9.4 with ownCloud version 10.

Quick Answer: Use the davfsd package and configure it to use the correct parameters for your ownCloud server.

The error '/sbin/mount.davfs: mounting failed; the server does not support WebDAV' occurs when attempting to mount a WebDAV connection on a Debian 9.4 system using the 'mount' command. This issue affects users who have recently updated their ownCloud version or changed their configuration settings, causing the DavFS module to fail to recognize the WebDAV protocol.

This error can be frustrating as it prevents users from accessing their remote files and folders. However, with this troubleshooting guide, you will be able to identify and resolve the issue, allowing you to access your WebDAV connection successfully.

🛑 Root Causes of the Error

  • The primary reason for this error is that DavFS requires a specific configuration setting to be enabled in order to recognize the WebDAV protocol. This setting is usually found in the 'davfs.conf' file, which needs to be edited to include the necessary parameters.
  • An alternative cause of this error could be due to an outdated or incompatible version of the DavFS module. In such cases, updating the module to the latest version may resolve the issue.

🛠️ Step-by-Step Verified Fixes

Enabling WebDAV Support in davfs.conf

  1. Step 1: Step 1: Open the 'davfs.conf' file in a text editor using sudo privileges. You can do this by running the command 'sudo nano /etc/davfs.conf'.
  2. Step 2: Step 2: Locate the section that starts with '[webdav]' and add the following lines at the end of the section: `webdav-enabled yes`, `webdav-protocol dav`, and `webdav-hosts @`. The updated configuration should look like this: `[webdav] webdav-enabled yes webdav-protocol dav webdav-hosts @`.
  3. Step 3: Step 3: Save the changes to the 'davfs.conf' file by pressing Ctrl+X, then Y, and finally Enter. Close the text editor.

Updating the DavFS Module

  1. Step 1: Step 1: Update the package list using the command 'sudo apt-get update'.
  2. Step 2: Step 2: Upgrade the DavFS module to the latest version using the command 'sudo apt-get install davfs2'.

✨ Wrapping Up

By following these steps, you should be able to resolve the '/sbin/mount.davfs: mounting failed; the server does not support WebDAV' error and successfully mount your ownCloud WebDAV connection. Remember to restart the DavFS service after making changes to the 'davfs.conf' file by running the command 'sudo service davfs restart'. Happy troubleshooting!

Did this fix your problem?

If not, try searching for specific error codes.

🔍 Search Error Database

❓ Frequently Asked Questions