{"action":"created","issue":{"url":"https://api.github.com/repos/owncloud/core/issues/15603","labels_url":"https://api.github.com/repos/owncloud/core/issues/15603/labels{/name}","comments_url":"https://api.github.com/repos/owncloud/core/issues/15603/comments","events_url":"https://api.github.com/repos/owncloud/core/issues/15603/events","html_url":"https://github.com/owncloud/core/issues/15603","id":68348295,"number":15603,"title":"Files get corrupted when downloading from owncloud (public link)","user":{"login":"tilllt","id":1854364,"avatar_url":"https://avatars.githubusercontent.com/u/1854364?v=3","gravatar_id":"","url":"https://api.github.com/users/tilllt","html_url":"https://github.com/tilllt","followers_url":"https://api.github.com/users/tilllt/followers","following_url":"https://api.github.com/users/tilllt/following{/other_user}","gists_url":"https://api.github.com/users/tilllt/gists{/gist_id}","starred_url":"https://api.github.com/users/tilllt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tilllt/subscriptions","organizations_url":"https://api.github.com/users/tilllt/orgs","repos_url":"https://api.github.com/users/tilllt/repos","events_url":"https://api.github.com/users/tilllt/events{/privacy}","received_events_url":"https://api.github.com/users/tilllt/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/owncloud/core/labels/bug","name":"bug","color":"fc2929"},{"url":"https://api.github.com/repos/owncloud/core/labels/nginx","name":"nginx","color":"5319e7"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":14,"created_at":"2015-04-14T11:46:09Z","updated_at":"2015-04-15T17:24:44Z","closed_at":null,"body":"System: \r\ndebian wheezy / Linux one 3.2.0-4-amd64 #1 SMP Debian 3.2.65-1+deb7u2 x86_64 GNU/Linux\r\nPHP 5.5.23-1~dotdeb.2 (cli) (built: Mar 26 2015 02:24:24)\r\nnginx version: nginx/1.6.3\r\nOwncloud 7.0.5\r\n\r\nProblem: \r\nI have a 2.58GB file i prepared for a client to download. I zipped the content into one archive on my Mac. Then i put it on an SMB Volume on my debian server. Owncloud has access to that directory as a local External Storage.\r\n\r\nAfter the client downloaded the file from a public link i sent him via OC, he complained that he couldnt unzip the file since it was corrupted. I started looking into it more systematically and apparently there is a problem.\r\n\r\nThese are the MD5 hashes:\r\n\r\nThe original zip file on my mac:\r\n60877b5b1fa036bcaa63a2b1c7b9a73c\r\n\r\nAs calculated from the debian box for the file copied to the SMB folder:\r\n60877b5b1fa036bcaa63a2b1c7b9a73c\r\n\r\nA direct download of the file from nginx\r\n60877b5b1fa036bcaa63a2b1c7b9a73c\r\n\r\nAnd the file after being downloaded from the owncloud link i sent to the client:\r\n904d5b2594b9e64ed6a63addc89559f8\r\n\r\nObviously this could also be a general PHP problem, in any case it is a showstopper for the majority of users that use Owncloud for file exchange purposes.\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/owncloud/core/issues/comments/93492439","html_url":"https://github.com/owncloud/core/issues/15603#issuecomment-93492439","issue_url":"https://api.github.com/repos/owncloud/core/issues/15603","id":93492439,"user":{"login":"josh4trunks","id":1018807,"avatar_url":"https://avatars.githubusercontent.com/u/1018807?v=3","gravatar_id":"","url":"https://api.github.com/users/josh4trunks","html_url":"https://github.com/josh4trunks","followers_url":"https://api.github.com/users/josh4trunks/followers","following_url":"https://api.github.com/users/josh4trunks/following{/other_user}","gists_url":"https://api.github.com/users/josh4trunks/gists{/gist_id}","starred_url":"https://api.github.com/users/josh4trunks/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/josh4trunks/subscriptions","organizations_url":"https://api.github.com/users/josh4trunks/orgs","repos_url":"https://api.github.com/users/josh4trunks/repos","events_url":"https://api.github.com/users/josh4trunks/events{/privacy}","received_events_url":"https://api.github.com/users/josh4trunks/received_events","type":"User","site_admin":false},"created_at":"2015-04-15T17:24:44Z","updated_at":"2015-04-15T17:24:44Z","body":"since @tilllts didn't configure x-sendfile it is obviously unrelated. but, setting it up actually might solve the issue in this case because owncloud/php won't be processing the file.\r\n\r\nIm guessing it's a PHP memory limit."}}