Webdav not working, keep getting the error: script '/var/www/html/remote.php' not found or unable to stat

9.1.x

#1

Hi there,

Since i upgraded from Owncloud 9.0.10 to 9.1.6 i cant get webdav to work on windows.

When i check the apache2 error log i see.

script '/var/www/html/remote.php' not found or unable to stat <- this is correct because there is no owncloud installation here.

I dont have any rewrite rules on my apache2 setup so i am baffled as to where this error suddenly comes from.

Steps to reproduce

Upgrade from 9.0.10 to 9.1.6
Call for the webdav URL in windows exlorer with map drive -> https:///remote.php/webdav'
Check apache2 error log for -> script '/var/www/html/remote.php' not found or unable to stat
Expected behaviour

Show the files

Actual behaviour

Gives error upon connecting to webdav drive

Server configuration

Operating system:
Ubuntu Server16.04.3

Web server:

Apache/2.4.18 (Ubuntu)

Database:

Ver 14.14 Distrib 5.7.19

PHP version:

PHP 7.0.22-0ubuntu0.16.04.1

ownCloud version: (see ownCloud admin page)

Owncloud 9.1.6

Updated from an older ownCloud or fresh install:

Upgraded from 9.0.10.

Where did you install ownCloud from:

Ubuntu Repository

Signing status (ownCloud 9.0 and above):


#2

Have you tried this?

https://doc.owncloud.com/server/10.0/admin_manual/installation/source_installation.html#configure-the-apache-web-server

or open the /etc/apache2/sites-enabled/000-default.conf

and check the DocumentRoot