DavLock Errors when saving from Word to WebDAV

Alles, was den Apache betrifft, kann hier besprochen werden.

DavLock Errors when saving from Word to WebDAV

Postby enigma969 » 28. July 2017 16:04

I setup WebDAV on Ubuntu using apache2 and the mods dav, dav_fs and dav_lock.

Connecting to WebDAV folders works fine, from both Windows and Linux clients. Even creating (writing) and modifying documents is possible.

Then only problem is when I try to save documents from Word. Word first creates the file on the server, but then following error appears:

There has been a network or file permission error. The network connection may be lost
https://support.microsoft.com/en-us/help/291156/you-receive-a-there-has-been-a-network-or-file-permission-error--the-n (Solutions there don't help)

Apache error.log:
Code: Select all
    Could not DELETE /pinakos/admin/66AEE86C.tmp due to a failed precondition (e.g. locks).  [423, #0]
    This resource is locked and an "If:" header was not supplied to allow access to the resource.  [423, #0]
    Could not MOVE /pinakos/admin/6A71E678.tmp due to a failed precondition on the source (e.g. locks).  [424, #0]
    An error occurred on another resource, preventing the requested operation on this resource.  [424, #0]
    Could not DELETE /pinakos/admin/6A71E678.tmp due to a failed precondition (e.g. locks).  [423, #0]
    This resource is locked and an "If:" header was not supplied to allow access to the resource.  [423, #0]


Virtual host (excerpt):

Code: Select all
 Alias /pinakos/admin /var/www/webdav/pinakos/admin
    <Directory /var/www/webdav/pinakos/admin>
      DAV On
      AuthType Digest
      AuthName "webdav"
      AuthUserFile /etc/apache2/users.password
      Require valid-user
    </Directory>
    <Location /pinakos/admin>
       Require user admin
    </Location>


www-data has rw permissions for /var/www as well for the DavLock file.
enigma969
 
Posts: 2
Joined: 17. May 2017 01:18
XAMPP version: 2.4.7
Operating System: Ubuntu

Return to Apache

Who is online

Users browsing this forum: No registered users and 9 guests