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

Advrk Aplmkt avkaplmkt at gmail.com
Tue Dec 27 14:50:32 UTC 2011


I'm having the same problem copying files onto ownCloud via WebDAV on Mac OS X 10.6.8. They all end up as 0 byte files. Any ideas on how to fix this? Thanks.

Alexander Skwar <alexanders.mailinglists+nospam at gmail.com> 於 2011/12/23 3:42 寫道:
> Hello.
> 
> A few days ago, I installed Owncloud from Git on my server. I then
> mounted it with WebDAV on a Linux system.
> 
> I noticed, that sometimes, when I copy files on this WebDAV mount,
> the created files are only 0 byte. In the Apache log
> <http://pastebin.com/bQw8gge1>, there's:
> 
> my.ip.ad.ress - user [23/Dec/2011:08:30:17 +0000] "PROPFIND
> /files/webdav.php/Test/ HTTP/1.1" 207 4320 "-" "davfs2/1.4.6
> neon/0.29.3"
> my.ip.ad.ress - user [23/Dec/2011:08:30:17 +0000] "LOCK
> /files/webdav.php/Test/a.tar HTTP/1.1" 201 1056 "-" "davfs2/1.4.6
> 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?
> 
> In the /etc/fstab, I've got <http://pastebin.com/am1HPQTX>:
> 
> http://my.server/files/webdav.php /mnt/oc davfs user,rw,noauto 0 0
> 
> i can download files just fine.
> 
> The "a.tar" that I tried to upload is only 210k "big". Max upload size
> in PHP is set to 2MB.
> 
> Any idea, what's going wrong there?
> 
> Additionally, where might I find logs? I've set log level to "DEBUG", but
> when I go to the "log" in the Web UI, there's NOTHING at all regarding
> this problem.
> 
> Thanks,
> 
> Alexander



More information about the Owncloud mailing list