-
Notifications
You must be signed in to change notification settings - Fork 3.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
Instant upload sometimes creates corrupt files with 1.4.0 client and 5.0.6 server #166
Comments
Thanks for your so complete report. We'll have to check it. Probably it's related to those other issues, so let's keep it tracked here. |
Hi, @a-schild . Are you still suffering this problem in your environment? Did you try to update server and app? Thanks |
Same issue, but it does not only affect instant upload, but all uploads (or at least images, that's were I immediatley notice it). owncloud 5.0.9 and Android app 1.4.4 Almost 50% of all uploads are corrupt. Please let me know if I can provide any debug info. This is the Apache2 log of a corrupted upload:
Apache responds with 201 for all chunks, so it is understandable that the Android app reports a success. |
@pgschk , if that log is caught for a corrupted image, then the answer is yes, this probably is a problem in the server side with the composition of the full file. Files with size over 1MB are broken in pieces ant PUT into the server piece by piece. Then the server side puts all the chunks together. The access log you show there reveals that all the pieces where uploaded without problem, and that the information about the final file was then sucessfully got too (207 in the next PROPFIND). |
Yes, it's from a corrupted upload. Funny enough, when trying to capture this log I had to try 6-7 times to get a corrupted upload ;-) |
Should somebody at the owncloud/core take a look at this maybe? schiesbn maybe? |
Since I am pretty sure this does not affect all environments, here is the server spec: Ubuntu 12.04 AMD64 in a KVM virtual machine. It does not have any other job than owncloud. As far as I remember all software is installed from repositories and owncloud as .deb. I'll gladly provide test accounts and help debugging, just let me know. |
I´ve just confirmed that the issue is in Webdav, or at least I think so. Today when I copied a picture from my desktop in windows to my Webdav mount the picture was broken like the examples in #237 Therefor I think it has something to do with the server, and also maybe in a combination with the server. |
And if you upgraded the server from previous versions, instead of doing clean installations, probably it has something to do with the problem too. |
Same problem here. I have only image files that are affected by the problem. greeting from Switzerland |
@davivel I am 99% sure the server was installed with 5.0.8 and had the problem, so I upgraded to 5.0.9 to check if that helped. So I am not sure that upgrading is part of the problem. |
It has been the same thing on oC 5.0.6 - 5.0.7 - 5.0.8 - 5.0.9 - 5.0.10. I always upgrade, and never do clean installations. I run my server on Ubuntu Server 12.04 and WebDAV through Windows 7. |
@enoch85 , oC 5.0.6 was not a clean installation? Sorry, but I do not understand what you mean with "my server on Ubunto Server... ** and WebDAV through Windows 7 **" |
@davivel No, I upgraded from oC 5.0.5 that was a clean installation. |
And the problem was also in oC 5.0.5? |
I don't know as I didn't use the Android app in oC 5.0.5. |
Has there been any progress to this issue? :) Thanks! |
Not yet, sorry :( |
Hi, We have detected that this issues is solved with the owncloud server 6, can you update your server version and re-test it? THX! |
Hey, I just updated to 6.0Aplha1 and snapped a couple of pictures. All reached the server just fine (using Android App 1.4.4). I'll keep taking a couple throughout the day and will report back. Thank you! |
Now with Andoid App 1.4.5, so far no broken pictures, I think you might be right about this being solved |
@a-schild. Thanks in advance. |
Hi everybody here. Could somebody else check if the problem is fixed with a recent OC server? (>= 5.0.13). Thanks in advance. |
I did not see the issue since upgrading to version 6.0Aplha1, so I consider it fixed. :) |
I have not seen it. I have 6.0a. MVH Daniel Skickat från Google Nexus 5 |
Since the 1.4 and 1.5.0/1.5.1 clients had problems with large file collections I had disabled it in the last months. |
I haven´t experienced this with client 1.5.5 and 6.0.2 server. I think the problem is solved. Please correct me if i´m wrong. |
Looks also OK for me with 1.5.5 client and 6.0 server |
Close this one then? |
Yeeeees. Thanks a lot! |
Improve feedback when uploading virus files
I did take 5 photos, the first 3 are uploaded incomplete on the server, the last 2 pictures are ok.
Here the correct files:
21.05.2013 13:18 3'185'208 DSC_0438.jpg
21.05.2013 13:18 3'359'122 DSC_0439.jpg
21.05.2013 13:18 2'039'503 DSC_0440.jpg
21.05.2013 13:19 2'142'841 DSC_0441.jpg
21.05.2013 13:19 2'090'055 DSC_0442.jpg
Here the files uploaded via instant upload from android:
21.05.2013 13:23 113'208 DSC_0438.jpg
21.05.2013 13:24 1'311'122 DSC_0439.jpg
21.05.2013 13:25 1'015'503 DSC_0440.jpg
21.05.2013 13:25 2'142'841 DSC_0441.jpg
21.05.2013 13:26 2'090'055 DSC_0442.jpg
What's strange is the fact that this are not incomplete uploads, but realy corrupted (+incomplete?) uploads
Attached the correct (left side) header of DSC_0439.jpg and the corrupt (right side) upload of it
When I comprae the file byte per byte, then I see that the corrupt upload of DSC_0438 starts with the bytes which are shown at offset 0x2EE000 in the correct file.
In file DSC_0439 they start at 0x1F4000
In file DSC_0440 they start at 0xFA000
Not sure if it's related to issues #42 or/and #91
The text was updated successfully, but these errors were encountered: