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

Alexander Skwar alexanders.mailinglists+nospam at gmail.com
Fri Dec 23 08:42:20 UTC 2011


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
--
↯    Lifestream (Twitter, Blog, …) ↣ http://alexs77.soup.io/     ↯
↯ Chat (Jabber/Google Talk) ↣ a.skwar at gmail.com , AIM: alexws77  ↯



More information about the Owncloud mailing list