[Owncloud] WebDAV copied files have 0 bytes - sometimes...

Alexander Skwar a.skwar at gmail.com
Mon Jan 2 10:05:02 UTC 2012


Hi.

I don't think it is apple related. I get this error when I mount it on
Linux (ie. Linux is a client here). It only happens when locking is enabled
in davfs2; ie. When I set use_locks 0, which disables the locking stuff, it
works just fine.

But this locking stuff is too much low level sabre (or what the library is
called).

-- 
Alexander

Sent from my Android mobile — pleese exuse crestive speeling… ;)
Am 02.01.2012 10:11 schrieb "cosch" <cosch at torfbruecke.net>:

> Hi,
>
> On 12/23/2011 09:42 AM, Alexander Skwar wrote:
> > neon/0.29.3"
> > my.ip.ad.ress - user [23/Dec/2011:08:30:17 +0000] "HEAD
> > /files/webdav.php/Test/a.tar HTTP/1.1" 200 412 "-" "davfs2/1.4.6
> > neon/0.29.3"
> > my.ip.ad.ress - user [23/Dec/2011:08:30:27 +0000] "HEAD
> > /files/webdav.php/Test/a.tar HTTP/1.1" 200 412 "-" "davfs2/1.4.6
> > neon/0.29.3"
> > my.ip.ad.ress - user [23/Dec/2011:08:30:27 +0000] "PUT
> > /files/webdav.php/Test/a.tar HTTP/1.1" 412 740 "-" "davfs2/1.4.6
> > neon/0.29.3"
> > my.ip.ad.ress - user [23/Dec/2011:08:30:27 +0000] "UNLOCK
> > /files/webdav.php/Test/a.tar HTTP/1.1" 409 761 "-" "davfs2/1.4.6
> > neon/0.29.3"
> >
> >
> > Interestingly, the PUT request had a status code of 412. Why's that?
>
> i am see the same behavior using OC master on lighttpd and OS X Lion,
> while Dolphin on Ubuntu 11.10 just works fine.
>
> Here is the lighttpd log:
> -------------------
> from error.log:
> 2012-01-01 23:43:43: (connections.c.1044) oversized request-header ->
> sending Status 414
> -------------------
> from access.log:
> 38399-my.ip.addr. cloud.torfbruecke.net - [01/Jan/2012:23:43:42 +0100]
> "PROPFIND /files/webdav.php/ HTTP/1.1" 207 482 "-" "WebDAVFS/1.9.0
> (01908000) Darwin/11.2.0 (x86_64)"
> 38400-my.ip.addr. cloud.torfbruecke.net - [01/Jan/2012:23:43:42 +0100]
> "PROPFIND /files/webdav.php/._CIMG0031.jpg HTTP/1.1" 404 308 "-"
> "WebDAVFS/1.9.0 (01908000) Darwin/11.2.0 (x86_64)"
> 38401-my.ip.addr. cloud.torfbruecke.net - [01/Jan/2012:23:43:42 +0100]
> "PUT /files/webdav.php/CIMG0031.jpg HTTP/1.1" 412 339 "-"
> "WebDAVFS/1.9.0 (01908000) Darwin/11.2.0 (x86_64)"
> 38402:80.237.196.42 cloud.torfbruecke.net - [01/Jan/2012:23:43:43 +0100]
> "" 414 367 "-" "-"
> -------------------
>
> It also shows the 412 error for PUT request and then the 414, with
> oversized request header.
> I guess the 414 is a follow up error and the root cause is the 412
> (Precondition failed).
> This makes me think apples webdavfs is sending some http header in the
> request which is problematic.
>
> Does anyone have ideas about that?
>
> best,
> /cosch
>
> _______________________________________________
> Owncloud mailing list
> Owncloud at kde.org
> https://mail.kde.org/mailman/listinfo/owncloud
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/owncloud/attachments/20120102/5d14acff/attachment.html>


More information about the Owncloud mailing list