-
Notifications
You must be signed in to change notification settings - Fork 2.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
0 byte files on Webdav #968
Comments
As far as I remember NetDrive uses 'extremely aggressive caching', and more or less assumes it's the only client modifying a webdav share. Any changes on the server were for me pretty much ignored until a next connect. If you are actually seeing a client uploading a file, and then see a real 0-byte file on the server (in the web interface or otherwise) that would be a better starting point. Question is then if you can isolate the HTTP request that triggers it (using charles HTTP proxy) and upload it somewhere; based on that I will at the very least be able to tell if this is an owncloud issue, or something else. |
@treynolen: Can you reproduce that with a different client? |
Was just able to do it with BitKinex. Additional information: I mentioned that "another user can download the file..." I'm not sure it was clear that this is working in the Shared folder for the other user. |
Hi, Is there any update on howto resolve this - the only work around i can see is that you need to rename the file after uploading it.. extremely annoying... |
This problem still exists on OS X 10.8.4 and OC 5.0.10 |
Hello, Same problem here, running OS-X 10.8.5, owncloud is the latest version 5.0.12 running in Apache version 2.2.22 with fastcgi on Ubuntu 12.04.2LTS The "zero bytes available" effectively prevents any file upload via the webdav mount in the Finder. |
Works fine with OS X 10.9 and ownCloud 6. Please reopen if the problem still exists |
Will test. If this is now finally fixed, that would be awesome. __
|
Where’s the best / current location to download OwnCloud 6? On Oct 22, 2013, at 8:01 AM, Frank Karlitschek notifications@github.com wrote:
|
here we go ... Thanks |
I can confirm, with beta 1 of OC 6, this problem is indeed gone - you can now upload files via webDAV mounted folders, and they will complete. BUT:
1- The slow upload has to do with apache’s lack of support for chunked transfers. The same experiment under an nginx server results in regular speed uploads. 2- There is a fix that was already suggested and provided in one of the threads (#2589), that might be worth reviewing and potentially integrating into 6. Without this issue addressed, OC remains a dirty client (and incomplete client) on the Mac OS. FYI. On Oct 22, 2013, at 8:01 AM, Frank Karlitschek notifications@github.com wrote:
|
I can confirm this actually is still an issue in OC 6.0. I have 115 0 byte files as of an hour ago. I just did a clean reinstall of OC after having the same problem in December. The reinstall meticulously followed the OC install for Apache/mysql on Centos 6.5. I've had it running for 21 days..and 115 files with no content. I only use webDav for our staff, not the OC sync clients, nor the web interface. Fresh CentOS 6.5 running ONLY: Unfortunately I will be moving away from OC as this is a recurring issue and I'm losing data. I would expect this type of issue with core functionality in a beta or RC, not in version 6.0. It's sad as I quite liked the finished product. Nice software! I wanted to post to let the dev folks know this is a live issue, and definitely restricted to webDav, at least for me. Happy to answer any questions and provide info for as long as the OC server is active, which should be another week or so. |
On Jan 26, 2014, at 6:53 PM, VanCanuck notifications@github.com wrote:
FWIW, I have been able to work around it by using OC on an nginx install, instead of Apache, as the issue on Mac OS X and webdav is that OS X uses chunked transfers, which Apache doesn’t support without modifications.
This was the previous issue of left-behind files from a Mac client:
|
Does OSX use chunk xfer even for small files? this may indeed be a crass platform issue as some of the files I noted are in areas used by OSX clients. All of oour files are <250kb. Thanks for the info re nginx. Was going to use that for my next setup. However, OC is still painfully slow....again, an issue I wouldn't expect at the level I'm experiencing. Thanks for the reply, hope it keeps working for you! |
On Jan 26, 2014, at 7:32 PM, VanCanuck notifications@github.com wrote:
|
this is also an issue web davfs2 FUSE-based clients, as described here: http://forum.owncloud.org/viewtopic.php?f=8&t=1815 |
Reviving this - the performance issue is back under nginx 1.10.0 (w/php7 and Redis cache) -- so, nginx might no longer be the simple solution to fix this, albeit I'm still investigating variables. |
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
I had entered an issue earlier (#443) I believe about 0 byte files when using webdav. I was told that there was a caching issue with Netdrive. However, I'm still seeing some issues even when using Cyberduck. I think the issue is triggering the problem with Netdrive. When I upload a file using Cyberduck through Webdav (SSL), the file shows up as 0 bytes. However, another user can download the file and the file is intact. So, it seems that there is an issue where the correct size is not reported. The files I upload ALSO show up in the web interface as 0 bytes, but can be downloaded correctly from there as well. I think Netdrive may be looking at that 0 bytes and just not download the file correctly. I don't get any entries in the owncloud.log, and the apache logs don't report any errors either.
Server - Ubuntu 12.04.1 running OC 4.5.4 on MySQL.
The text was updated successfully, but these errors were encountered: