{"action":"closed","issue":{"url":"https://api.github.com/repos/nextcloud/server/issues/1707","repository_url":"https://api.github.com/repos/nextcloud/server","labels_url":"https://api.github.com/repos/nextcloud/server/issues/1707/labels{/name}","comments_url":"https://api.github.com/repos/nextcloud/server/issues/1707/comments","events_url":"https://api.github.com/repos/nextcloud/server/issues/1707/events","html_url":"https://github.com/nextcloud/server/issues/1707","id":182348094,"number":1707,"title":"[DAV] Download fails for big files: stream_copy_to_stream() throws an error","user":{"login":"derkostka","id":8389316,"avatar_url":"https://avatars.githubusercontent.com/u/8389316?v=3","gravatar_id":"","url":"https://api.github.com/users/derkostka","html_url":"https://github.com/derkostka","followers_url":"https://api.github.com/users/derkostka/followers","following_url":"https://api.github.com/users/derkostka/following{/other_user}","gists_url":"https://api.github.com/users/derkostka/gists{/gist_id}","starred_url":"https://api.github.com/users/derkostka/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/derkostka/subscriptions","organizations_url":"https://api.github.com/users/derkostka/orgs","repos_url":"https://api.github.com/users/derkostka/repos","events_url":"https://api.github.com/users/derkostka/events{/privacy}","received_events_url":"https://api.github.com/users/derkostka/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/nextcloud/server/labels/bug","name":"bug","color":"ee0701"},{"url":"https://api.github.com/repos/nextcloud/server/labels/needs%20info","name":"needs info","color":"006b75"}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/nextcloud/server/milestones/9","html_url":"https://github.com/nextcloud/server/milestones/Nextcloud%2010.0.2","labels_url":"https://api.github.com/repos/nextcloud/server/milestones/9/labels","id":2001418,"number":9,"title":"Nextcloud 10.0.2","description":null,"creator":{"login":"MorrisJobke","id":245432,"avatar_url":"https://avatars.githubusercontent.com/u/245432?v=3","gravatar_id":"","url":"https://api.github.com/users/MorrisJobke","html_url":"https://github.com/MorrisJobke","followers_url":"https://api.github.com/users/MorrisJobke/followers","following_url":"https://api.github.com/users/MorrisJobke/following{/other_user}","gists_url":"https://api.github.com/users/MorrisJobke/gists{/gist_id}","starred_url":"https://api.github.com/users/MorrisJobke/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MorrisJobke/subscriptions","organizations_url":"https://api.github.com/users/MorrisJobke/orgs","repos_url":"https://api.github.com/users/MorrisJobke/repos","events_url":"https://api.github.com/users/MorrisJobke/events{/privacy}","received_events_url":"https://api.github.com/users/MorrisJobke/received_events","type":"User","site_admin":false},"open_issues":26,"closed_issues":36,"state":"open","created_at":"2016-09-13T15:21:54Z","updated_at":"2016-10-19T09:01:20Z","due_on":null,"closed_at":null},"comments":10,"created_at":"2016-10-11T19:09:08Z","updated_at":"2016-10-19T09:01:20Z","closed_at":"2016-10-19T09:01:20Z","body":"### Steps to reproduce\r\n1. Try to download a big file on Nextcloud, PHP9, 32 Bit arm (> 2 GB)\r\n2. Check downloaded file and log\r\n3. File is empty, log shows the error immediately\r\n\r\n### Expected behaviour\r\nFile with size of 9 GB should be downloaded\r\n\r\n### Actual behaviour\r\n0 Byte file created, no error message but logged error\r\n\r\n### Server configuration\r\n**Operating system**: \r\nUbuntu 16.04\r\n\r\n**Web server:** \r\nApache\r\n\r\n**Database:** \r\nMySQL\r\n\r\n**PHP version:** \r\nPHP 9\r\n\r\n**Nextcloud version:** (see Nextcloud admin page)\r\nNextcloud 11 alpha\r\n\r\n**Updated from an older Nextcloud/ownCloud or fresh install:**\r\nUpdated from Owncloud 9 -> Nextcloud 10 -> Nexcloud 11 alpha\r\n**Where did you install Nextcloud from:**\r\nGit\r\n**Signing status:**\r\n**List of activated apps:**\r\n**The content of config/config.php:**\r\n**Are you using external storage, if yes which one:** local/smb/sftp/...\r\nlocal\r\n**Are you using encryption:** yes/no\r\nno\r\n**Are you using an external user-backend, if yes which one:** LDAP/ActiveDirectory/Webdav/...\r\nno\r\n### Client configuration\r\n**Browser:** Chrome\r\n\r\n**Operating system:** MacOS 10.12\r\n\r\n### Logs\r\n#### Nextcloud log (data/nextcloud.log)\r\n<details>\r\n<summary>Nextcloud log</summary>\r\n```\r\n{\"reqId\":\"He91ouATEMBQ7rkEw65e\",\"remoteAddr\":\"127.0.0.1\",\"app\":\"PHP\",\"message\":\"stream_copy_to_stream() expects parameter 3 to be integer, string given at \\/media\\/data\\/www\\/nextcloud\\/3rdparty\\/sabre\\/http\\/lib\\/Sapi.php#78\",\"level\":3,\"time\":\"October 11, 2016 20:58:34\",\"method\":\"GET\",\"url\":\"\\/remote.php\\/webdav\\/Media-Fernsehaufnahmen\\/arte_HD\\/arte_HD_Der_Tag_der_Kr%C3%A4hen20160615_135900.ts\",\"user\":\"name\",\"version\":\"9.2.0.4\"}\r\n{\"reqId\":\"DKWW6ajns8HKX8pETQS+\",\"remoteAddr\":\"127.0.0.1\",\"app\":\"PHP\",\"message\":\"stream_copy_to_stream() expects parameter 3 to be integer, string given at \\/media\\/data\\/www\\/nextcloud\\/3rdparty\\/sabre\\/http\\/lib\\/Sapi.php#78\",\"level\":3,\"time\":\"October 11, 2016 20:58:58\",\"method\":\"GET\",\"url\":\"\\/remote.php\\/webdav\\/Media-Fernsehaufnahmen\\/arte_HD\\/arte_HD_Die_wahre_Macht_des_Vatikan_(2_2)20160207_144900.ts\",\"user\":\"name\",\"version\":\"9.2.0.4\"}\r\n```\r\n</details>"}}
{"actor":{"display_login":"MorrisJobke"}}