{"action":"created","issue":{"url":"https://api.github.com/repos/nextcloud/android/issues/2955","repository_url":"https://api.github.com/repos/nextcloud/android","labels_url":"https://api.github.com/repos/nextcloud/android/issues/2955/labels{/name}","comments_url":"https://api.github.com/repos/nextcloud/android/issues/2955/comments","events_url":"https://api.github.com/repos/nextcloud/android/issues/2955/events","html_url":"https://github.com/nextcloud/android/issues/2955","id":356583906,"node_id":"MDU6SXNzdWUzNTY1ODM5MDY=","number":2955,"title":"Upload not working in stable; working in dev","user":{"login":"lukebarone","id":6752278,"node_id":"MDQ6VXNlcjY3NTIyNzg=","avatar_url":"https://avatars3.githubusercontent.com/u/6752278?v=4","gravatar_id":"","url":"https://api.github.com/users/lukebarone","html_url":"https://github.com/lukebarone","followers_url":"https://api.github.com/users/lukebarone/followers","following_url":"https://api.github.com/users/lukebarone/following{/other_user}","gists_url":"https://api.github.com/users/lukebarone/gists{/gist_id}","starred_url":"https://api.github.com/users/lukebarone/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lukebarone/subscriptions","organizations_url":"https://api.github.com/users/lukebarone/orgs","repos_url":"https://api.github.com/users/lukebarone/repos","events_url":"https://api.github.com/users/lukebarone/events{/privacy}","received_events_url":"https://api.github.com/users/lukebarone/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-09-03T19:06:31Z","updated_at":"2018-09-03T19:08:38Z","closed_at":null,"author_association":"NONE","body":"### Actual behaviour\r\n- Nextcloud is installed on my server, behind Cloudflare. Starting around a month ago, photos stopped uploading. I cannot manually upload either.\r\n\r\n### Expected behaviour\r\n- Images should be uploaded\r\n \r\n### Steps to reproduce\r\n1. Take a picture while in Wi-Fi range\r\n2. Attempt to upload the picture\r\n3. Fail\r\n\r\n\r\n### Environment data\r\nAndroid version: 8.0.0\r\n\r\nDevice model: Asus Zenfone 3, Samsung Galaxy S8\r\n\r\nStock or customized system: Stock\r\n\r\nNextcloud app version: 3.2.3 (does not work) - 20180825 works\r\n\r\nNextcloud server version: 13.0.6\r\n\r\n### Logs\r\n#### Web server error log\r\n```\r\n1.2.3.4 - lukebarone [03/Sep/2018:12:07:21 -0700] \"GET /index.php/204 HTTP/1.1\" 204 1363 \"-\" \"Mozilla/5.0 (Android) ownCloud-android/3.2.3\"\r\n(above is repeated over and over again)\r\n```\r\n\r\n#### Nextcloud log (data/nextcloud.log)\r\n```\r\n{\"reqId\":\"OOsj6QxRQyY7LeSSTgnl\",\"level\":4,\"time\":\"2018-09-03T18:35:48+00:00\",\"remoteAddr\":\"50.69.245.24\",\"user\":\"EXAMPLE\",\"app\":\"webdav\",\"method\":\"PUT\",\"url\":\"\\/remote.php\\/webdav\\/Photos\\/18-08-08%2013-48-56%207492.jpg\",\"message\":\"Exception: {\\\"Exception\\\":\\\"Sabre\\\\\\\\DAV\\\\\\\\Exception\\\\\\\\BadRequest\\\",\\\"Message\\\":\\\"expected filesize 6383654 got 8192\\\",\\\"Code\\\":0,\\\"Trace\\\":\\\"#0 \\\\\\/var\\\\\\/www\\\\\\/cloud.lukebarone.ca\\\\\\/apps\\\\\\/dav\\\\\\/lib\\\\\\/Connector\\\\\\/Sabre\\\\\\/Directory.php(156): OCA\\\\\\\\DAV\\\\\\\\Connector\\\\\\\\Sabre\\\\\\\\File->put(Resource id #13)\\\\n#1 \\\\\\/var\\\\\\/www\\\\\\/cloud.EXAMPLE.ca\\\\\\/3rdparty\\\\\\/sabre\\\\\\/dav\\\\\\/lib\\\\\\/DAV\\\\\\/Server.php(1096): OCA\\\\\\\\DAV\\\\\\\\Connector\\\\\\\\Sabre\\\\\\\\Directory->createFile('18-08-08 13-48-...', Resource id #13)\\\\n#2 \\\\\\/var\\\\\\/www\\\\\\/cloud.EXAMPLE.ca\\\\\\/3rdparty\\\\\\/sabre\\\\\\/dav\\\\\\/lib\\\\\\/DAV\\\\\\/CorePlugin.php(529): Sabre\\\\\\\\DAV\\\\\\\\Server->createFile('Photos\\\\\\/18-08-08...', Resource id #13, NULL)\\\\n#3 [internal function]: Sabre\\\\\\\\DAV\\\\\\\\CorePlugin->httpPut(Object(Sabre\\\\\\\\HTTP\\\\\\\\Request), Object(Sabre\\\\\\\\HTTP\\\\\\\\Response))\\\\n#4 \\\\\\/var\\\\\\/www\\\\\\/cloud.EXAMPLE.ca\\\\\\/3rdparty\\\\\\/sabre\\\\\\/event\\\\\\/lib\\\\\\/EventEmitterTrait.php(105): call_user_func_array(Array, Array)\\\\n#5 \\\\\\/var\\\\\\/www\\\\\\/cloud.EXAMPLE.ca\\\\\\/3rdparty\\\\\\/sabre\\\\\\/dav\\\\\\/lib\\\\\\/DAV\\\\\\/Server.php(479): Sabre\\\\\\\\Event\\\\\\\\EventEmitter->emit('method:PUT', Array)\\\\n#6 \\\\\\/var\\\\\\/www\\\\\\/cloud.EXAMPLE.ca\\\\\\/3rdparty\\\\\\/sabre\\\\\\/dav\\\\\\/lib\\\\\\/DAV\\\\\\/Server.php(254): Sabre\\\\\\\\DAV\\\\\\\\Server->invokeMethod(Object(Sabre\\\\\\\\HTTP\\\\\\\\Request), Object(Sabre\\\\\\\\HTTP\\\\\\\\Response))\\\\n#7 \\\\\\/var\\\\\\/www\\\\\\/cloud.EXAMPLE.ca\\\\\\/apps\\\\\\/dav\\\\\\/appinfo\\\\\\/v1\\\\\\/webdav.php(80): Sabre\\\\\\\\DAV\\\\\\\\Server->exec()\\\\n#8 \\\\\\/var\\\\\\/www\\\\\\/cloud.EXAMPLE.ca\\\\\\/remote.php(164): require_once('\\\\\\/var\\\\\\/www\\\\\\/cloud....')\\\\n#9 {main}\\\",\\\"File\\\":\\\"\\\\\\/var\\\\\\/www\\\\\\/cloud.EXAMPLE.ca\\\\\\/apps\\\\\\/dav\\\\\\/lib\\\\\\/Connector\\\\\\/Sabre\\\\\\/File.php\\\",\\\"Line\\\":189}\",\"userAgent\":\"Mozilla\\/5.0 (iOS) Nextcloud-iOS\\/2.22.2\",\"version\":\"13.0.6.1\"}\r\n```\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/nextcloud/android/issues/comments/418179019","html_url":"https://github.com/nextcloud/android/issues/2955#issuecomment-418179019","issue_url":"https://api.github.com/repos/nextcloud/android/issues/2955","id":418179019,"node_id":"MDEyOklzc3VlQ29tbWVudDQxODE3OTAxOQ==","user":{"login":"nextcloud-android-bot","id":28524381,"node_id":"MDQ6VXNlcjI4NTI0Mzgx","avatar_url":"https://avatars2.githubusercontent.com/u/28524381?v=4","gravatar_id":"","url":"https://api.github.com/users/nextcloud-android-bot","html_url":"https://github.com/nextcloud-android-bot","followers_url":"https://api.github.com/users/nextcloud-android-bot/followers","following_url":"https://api.github.com/users/nextcloud-android-bot/following{/other_user}","gists_url":"https://api.github.com/users/nextcloud-android-bot/gists{/gist_id}","starred_url":"https://api.github.com/users/nextcloud-android-bot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nextcloud-android-bot/subscriptions","organizations_url":"https://api.github.com/users/nextcloud-android-bot/orgs","repos_url":"https://api.github.com/users/nextcloud-android-bot/repos","events_url":"https://api.github.com/users/nextcloud-android-bot/events{/privacy}","received_events_url":"https://api.github.com/users/nextcloud-android-bot/received_events","type":"User","site_admin":false},"created_at":"2018-09-03T19:08:38Z","updated_at":"2018-09-03T19:08:38Z","author_association":"COLLABORATOR","body":"[GitMate.io](https://gitmate.io) thinks possibly related issues are https://github.com/nextcloud/android/issues/1312 (DEV version: auto upload remove original file not working), https://github.com/nextcloud/android/issues/422 (Insta Upload stopped working properly), https://github.com/nextcloud/android/issues/2630 (Upload not working correctly), https://github.com/nextcloud/android/issues/1393 (Upload while charging not working ), and https://github.com/nextcloud/android/issues/294 (Instant Upload Doesn't Work (Nexus5X))."}}
{"actor":{"display_login":"nextcloud-android-bot"}}