Fix the “WebDAV Interface Is Broken” Error in ownCloud

If ownCloud loads in a browser but its admin page says the “WebDAV interface is broken,” file uploads, desktop sync, and the Files app may also fail. The warning is a symptom, not a diagnosis: the DAV endpoint may be unreachable, rewritten incorrectly, blocked by a proxy or security rule, or inaccessible when ownCloud calls its own public URL.

This guide applies to ownCloud Classic Server installations. ownCloud Infinite Scale has a different architecture and deployment model, so do not apply Classic Server Apache settings to an Infinite Scale deployment. The official pages linked below cover ownCloud Server 10.15 and 10.16, plus Classic Server 11.0; the checks use documented WebDAV routes and Apache requirements, while the exact admin warning can vary by release.

Illustration note: The interface and terminal images below are schematic examples. Hostnames, status lines, and displayed values are placeholders, not a captured installation or a claim that a test was run.

What does the WebDAV warning mean?

WebDAV is the HTTP-based interface ownCloud uses to list and manage files for sync clients and related file operations. A browser login only confirms that the web interface responds. It does not confirm that a WebDAV request reaches ownCloud with its path, method, authentication headers, and HTTPS connection intact.

Start by identifying whether the failure is external or only in ownCloud’s self-check. A sync client error and a failed authenticated WebDAV request point toward the DAV route or authentication. If clients work but the admin warning remains, test whether the server itself can resolve and reach the public hostname, including its TLS certificate.

Step 1: Record the exact URL and test WebDAV directly

Use the same hostname and installation path that users enter in a browser. For a root-domain installation, the current Classic Server DAV route commonly follows this form:

https://cloud.example.com/remote.php/dav/files/USERNAME/

If ownCloud is installed below a path, include that path before /remote.php, for example https://example.com/owncloud/remote.php/dav/files/USERNAME/. Use your own account name and URL. Do not test an invented hostname or assume that every installation uses the same subdirectory.

From a client machine, send an authenticated PROPFIND request. With cURL, passing only the username prompts for the password instead of placing it in the command:

curl -i --user USERNAME -X PROPFIND \
  -H 'Depth: 0' \
  'https://cloud.example.com/remote.php/dav/files/USERNAME/'

A valid authenticated WebDAV response commonly uses HTTP 207 Multi-Status. A 401 may simply mean the credentials were not accepted; a 404 often points to the wrong route or a proxy path rewrite; a 403 suggests an access rule, WAF, or server policy; and a 301 or 302 can indicate a redirect that the client or self-check does not follow as expected. Read the response headers and server logs before changing configuration. Redact usernames, cookies, tokens, and public IPs before sharing command output.

Schematic ownCloud-style admin overview with a WebDAV warning alongside other setup checks
A schematic admin overview showing a WebDAV warning; the displayed status values are examples.
Schematic terminal response to a PROPFIND request showing HTTP 207 Multi-Status and a DAV XML response
An example of the kind of 207 Multi-Status response an authenticated PROPFIND check may return.

Step 2: Check whether the server can reach its own public URL

Some setup checks make a request from the ownCloud server back to its configured public address. Run basic DNS and HTTPS checks from that server, not only from your laptop:

getent hosts cloud.example.com
curl -I https://cloud.example.com/status.php

The hostname should resolve to an address reachable from the server, and the HTTPS request should complete without a certificate-name, trust-chain, or connection error. If DNS points the server back through a firewall that does not support NAT reflection (also called hairpin NAT), an external client may work while the internal self-check fails. Split DNS, an internal route to the reverse proxy, or a provider-side network adjustment may be appropriate; make the narrowest change that matches your network design.

A trusted-domain entry is a host allowlist for incoming ownCloud requests. Add only hostnames users actually use, following the documented configuration procedure. Do not add arbitrary internal addresses as a guess. The overwrite.cli.url setting controls the URL used by command-line/background contexts in some configurations; it is not a substitute for fixing DNS, routing, or TLS. Confirm what the warning actually says before changing either setting.

Schematic Apache configuration editor with an ownCloud directory rule and AllowOverride All
An example Apache configuration view highlighting the directory override setting; verify the actual path and directives for your installation.

Step 3: Verify Apache rewrite and directory settings

For Apache installations, ownCloud’s manual configuration guide calls for mod_rewrite, AllowOverride All for the ownCloud directory when relying on the shipped .htaccess, and a DAV-related Apache setting that avoids having Apache’s own DAV module take over the application route. Compare your virtual host and directory block with the official guide rather than pasting a whole sample over a customized site.

On Debian or Ubuntu, inspect the loaded rewrite module and Apache configuration syntax:

sudo apachectl -M | grep rewrite
sudo apachectl -t

If rewrite is absent, enable it with sudo a2enmod rewrite, then validate the configuration again and reload Apache only after the syntax check passes. Confirm that the <Directory> path matches the actual ownCloud web root and that overrides are not disabled higher in the configuration. Avoid manually replacing ownCloud’s generated .htaccess with a generic rewrite recipe; custom rules can break application routes or be lost during upgrades.

Step 4: Check reverse proxies, WAF rules, and authentication headers

If the endpoint works when called directly against the web server but fails through the public URL, inspect the reverse proxy or load balancer. Make sure it preserves the complete /remote.php/dav/ path, forwards the expected Host and HTTPS information, and allows WebDAV methods such as PROPFIND, OPTIONS, PUT, and MOVE where required. A proxy that strips an installation prefix or sends DAV requests to a different backend can make the web UI appear healthy while file operations fail.

Review proxy, Apache/Nginx, and ownCloud logs at the time of a failed request. A web application firewall or ModSecurity rule can reject a method or request body. Identify the exact rule ID and create a narrow exception for the affected ownCloud route or request, then retest. Do not turn off the WAF globally just to clear a warning. If DAV authentication fails only behind a FastCGI/PHP handler, verify that the authorization header is passed to PHP; the ownCloud configuration notes document this class of issue.

Step 5: Validate TLS and redirects

WebDAV clients depend on valid HTTPS just as browsers do. Check that the certificate is valid for the hostname, includes the needed intermediate certificates, and is trusted by the server environment that runs ownCloud’s self-check. A browser may hide or separately trust a certificate problem that cURL or PHP reports. Do not disable certificate verification as a fix.

Check for redirect loops, unexpected HTTP-to-HTTPS redirects, or a redirect from the DAV route to a login page or generic homepage. A redirect may be normal for a browser’s base URL, but the DAV request should ultimately reach the application endpoint with its method and Authorization header preserved. If a proxy terminates TLS, confirm that ownCloud receives the correct forwarded protocol and host according to the proxy’s documented configuration.

Schematic terminal output showing a hostname lookup and a successful TLS certificate verification
An example DNS and certificate check from the server that must connect back to the public hostname.

Verify the fix from both sides

After each targeted change, repeat the same checks rather than changing several layers at once:

  • From a client, authenticate to the documented DAV URL and confirm the response is an expected WebDAV response, typically 207 Multi-Status for PROPFIND.
  • From the ownCloud host, confirm the public hostname resolves and HTTPS reaches the instance without a TLS validation error.
  • Check the ownCloud admin overview again and inspect the logs for new DAV, proxy, or authentication errors.
  • Test a small file upload, rename, and download in the web interface or a supported sync client.

If client requests work but the warning remains, focus on the server’s own DNS, routing, certificate trust, and configured public URL. If both the self-check and clients fail, focus first on the endpoint path, rewrite rules, proxy routing, request methods, and authentication forwarding. When the server is managed by a hosting provider, send support the timestamp, sanitized HTTP status, requested path, and matching log entry; do not send passwords or secret-bearing configuration.

For version-specific directives, compare your deployment with the ownCloud Server 10.15 Apache installation guide, the ownCloud Classic WebDAV access documentation, and the ownCloud configuration notes on WebDAV authentication. Follow the manual for your installed release and deployment type.

Leave a Comment

7 Best WSUS Tools for Update Management and Troubleshooting

7 Best WSUS Tools for Update Management and Troubleshooting

Compare seven tools that support or complement WSUS, from Microsoft’s native console and diagnostics to third-party patch publishing and remote deployment.

Best Windows System Monitoring Tools: 6 Picks for Server Visibility

Best Windows System Monitoring Tools: 6 Picks for Server Visibility

Compare six Windows system monitoring tools for server health, application visibility, and alerting, with current notes on deployment and licensing.

7 Wake-on-LAN Tools: What’s Still Available From the 2021 List

7 Wake-on-LAN Tools: What’s Still Available From the 2021 List

Compare seven Wake-on-LAN tools by features and availability, including free utilities, network-admin suites, and 2021 picks that have since been retired.

9 Best Ping Tools for Testing Latency and Scanning a Network

9 Best Ping Tools for Testing Latency and Scanning a Network

Compare nine ping tools for quick reachability checks, subnet discovery, TCP tests, and latency monitoring, with guidance on which one fits your network task.

Best TFTP Servers for Windows, Linux, and macOS

Best TFTP Servers for Windows, Linux, and macOS

Compare the best TFTP servers for Windows, Linux, and macOS, including SolarWinds, Tftpd64, tftpd-hpa, atftpd, haneWIN, and dnsmasq.

5 Best Microsoft Access Alternatives for Desktop and Web Databases

5 Best Microsoft Access Alternatives for Desktop and Web Databases

Compare five Microsoft Access alternatives for desktop, SQLite, no-code, and browser-based database work, with strengths, limits, and best-fit use cases.

Open-Source vs. Closed-Source Monitoring Tools Compared

Open-Source vs. Closed-Source Monitoring Tools Compared

Compare open-source and closed-source monitoring tools by cost, support, customization, security, and current options including Zabbix, Nagios, PRTG, and more.

Ingress vs. Egress: What’s the Difference in Networking?

Ingress vs. Egress: What’s the Difference in Networking?

Understand how ingress and egress describe incoming and outgoing traffic, why direction depends on the network boundary, and how to monitor bandwidth and spot risky data transfers.

6 Best Free Syslog Servers to Try for Centralized Logging

6 Best Free Syslog Servers to Try for Centralized Logging

Compare six free syslog servers and collectors for Windows and Linux, including GUI tools, open-source options, search, alerting, and secure transport.

What Is IIS? Microsoft’s Windows Web Server and Alternatives

What Is IIS? Microsoft’s Windows Web Server and Alternatives

See what Microsoft IIS does, how its request pipeline and application pools work, and when Apache, NGINX, or Caddy may fit your web server needs better.