Can't instant upload from iOS app 3.5.1 to oc8.2.7

outdated_version
help

#1

Please help us by providing the following info.

Steps to reproduce
1. Turn on instant upload
2. Take a picture with live photo enabled

Expected behaviour
Tell us what should happen
File should upload

Actual behaviour
Tell us what happens instead
File sits waiting for server connection

Mobile client configuration
Client OS (iOS, Android, ...): iOS
Client version: 3.5.1

Server configuration
Operating system: Linux
Web server: apache
Database: MySQL
PHP version: 5.5
ownCloud version (see ownCloud admin page): 8.2.7
Updated from an older ownCloud or fresh install: updated
ownCloud log (data/owncloud.log):
{"reqId":"WDJSPEtir1UADSLbhVIAAAHC","remoteAddr":"100.15.51.59","app":"webdav","message":"Exception: {\"Message\":\"HTTP\\/1.1 400 expected filesize 1657769 got 1040384\",\"Exception\":\"Sabre\\DAV\\Exception\\BadRequest\",\"Code\":0,\"Trace\":\"#0 \\/home\\/primordi\\/public_html\\/cloud\\/lib\\/private\\/connector\\/sabre\\/directory.php(115): OC\\Connector\\Sabre\\File->put(Resource id #286)\n#1 \\/home\\/primordi\\/public_html\\/cloud\\/3rdparty\\/sabre\\/dav\\/lib\\/DAV\\/Server.php(1053): OC\\Connector\\Sabre\\Directory->createFile('Photo-2016-11-2...', Resource id #286)\n#2 \\/home\\/primordi\\/public_html\\/cloud\\/3rdparty\\/sabre\\/dav\\/lib\\/DAV\\/CorePlugin.php(513): Sabre\\DAV\\Server->createFile('Photo-2016-11-2...', Resource id #286, NULL)\n#3 [internal function]: Sabre\\DAV\\CorePlugin->httpPut(Object(Sabre\\HTTP\\Request), Object(Sabre\\HTTP\\Response))\n#4 \\/home\\/primordi\\/public_html\\/cloud\\/3rdparty\\/sabre\\/event\\/lib\\/EventEmitterTrait.php(105): call_user_func_array(Array, Array)\n#5 \\/home\\/primordi\\/public_html\\/cloud\\/3rdparty\\/sabre\\/dav\\/lib\\/DAV\\/Server.php(469): Sabre\\Event\\EventEmitter->emit('method:PUT', Array)\n#6 \\/home\\/primordi\\/public_html\\/cloud\\/3rdparty\\/sabre\\/dav\\/lib\\/DAV\\/Server.php(254): Sabre\\DAV\\Server->invokeMethod(Object(Sabre\\HTTP\\Request), Object(Sabre\\HTTP\\Response))\n#7 \\/home\\/primordi\\/public_html\\/cloud\\/apps\\/files\\/appinfo\\/remote.php(56): Sabre\\DAV\\Server->exec()\n#8 \\/home\\/primordi\\/public_html\\/cloud\\/remote.php(137): require_once('\\/home\\/primordi\\/...')\n#9 {main}\",\"File\":\"\\/home\\/primordi\\/public_html\\/cloud\\/lib\\/private\\/connector\\/sabre\\/file.php\",\"Line\":147}","level":4,"time":"2016-11-21T01:47:41+00:00","method":"PUT","url":"\/cloud\/remote.php\/webdav\/Photo-2016-11-20-19-33-42_0051.JPG"}
{"reqId":"WDJSPUtir1UADW@3aAkAAACD","remoteAddr":"100.15.51.59","app":"webdav","message":"Exception: {\"Message\":\"HTTP\\/1.1 400 expected filesize 1712196 got 1040384\",\"Exception\":\"Sabre\\DAV\\Exception\\BadRequest\",\"Code\":0,\"Trace\":\"#0 \\/home\\/primordi\\/public_html\\/cloud\\/lib\\/private\\/connector\\/sabre\\/directory.php(115): OC\\Connector\\Sabre\\File->put(Resource id #286)\n#1 \\/home\\/primordi\\/public_html\\/cloud\\/3rdparty\\/sabre\\/dav\\/lib\\/DAV\\/Server.php(1053): OC\\Connector\\Sabre\\Directory->createFile('Photo-2016-11-2...', Resource id #286)\n#2 \\/home\\/primordi\\/public_html\\/cloud\\/3rdparty\\/sabre\\/dav\\/lib\\/DAV\\/CorePlugin.php(513): Sabre\\DAV\\Server->createFile('Photo-2016-11-2...', Resource id #286, NULL)\n#3 [internal function]: Sabre\\DAV\\CorePlugin->httpPut(Object(Sabre\\HTTP\\Request), Object(Sabre\\HTTP\\Response))\n#4 \\/home\\/primordi\\/public_html\\/cloud\\/3rdparty\\/sabre\\/event\\/lib\\/EventEmitterTrait.php(105): call_user_func_array(Array, Array)\n#5 \\/home\\/primordi\\/public_html\\/cloud\\/3rdparty\\/sabre\\/dav\\/lib\\/DAV\\/Server.php(469): Sabre\\Event\\EventEmitter->emit('method:PUT', Array)\n#6 \\/home\\/primordi\\/public_html\\/cloud\\/3rdparty\\/sabre\\/dav\\/lib\\/DAV\\/Server.php(254): Sabre\\DAV\\Server->invokeMethod(Object(Sabre\\HTTP\\Request), Object(Sabre\\HTTP\\Response))\n#7 \\/home\\/primordi\\/public_html\\/cloud\\/apps\\/files\\/appinfo\\/remote.php(56): Sabre\\DAV\\Server->exec()\n#8 \\/home\\/primordi\\/public_html\\/cloud\\/remote.php(137): require_once('\\/home\\/primordi\\/...')\n#9 {main}\",\"File\":\"\\/home\\/primordi\\/public_html\\/cloud\\/lib\\/private\\/connector\\/sabre\\/file.php\",\"Line\":147}","level":4,"time":"2016-11-21T01:47:42+00:00","method":"PUT","url":"\/cloud\/remote.php\/webdav\/Photo-2016-11-20-19-58-48_0052.JPG"}
{"reqId":"WDJSPktir1UADTnmaisAAAEE","remoteAddr":"100.15.51.59","app":"webdav","message":"Exception: {\"Message\":\"HTTP\\/1.1 400 expected filesize 1467786 got 1040384\",\"Exception\":\"Sabre\\DAV\\Exception\\BadRequest\",\"Code\":0,\"Trace\":\"#0 \\/home\\/primordi\\/public_html\\/cloud\\/lib\\/private\\/connector\\/sabre\\/directory.php(115): OC\\Connector\\Sabre\\File->put(Resource id #286)\n#1 \\/home\\/primordi\\/public_html\\/cloud\\/3rdparty\\/sabre\\/dav\\/lib\\/DAV\\/Server.php(1053): OC\\Connector\\Sabre\\Directory->createFile('Photo-2016-11-2...', Resource id #286)\n#2 \\/home\\/primordi\\/public_html\\/cloud\\/3rdparty\\/sabre\\/dav\\/lib\\/DAV\\/CorePlugin.php(513): Sabre\\DAV\\Server->createFile('Photos\\/iphone7\\/...', Resource id #286, NULL)\n#3 [internal function]: Sabre\\DAV\\CorePlugin->httpPut(Object(Sabre\\HTTP\\Request), Object(Sabre\\HTTP\\Response))\n#4 \\/home\\/primordi\\/public_html\\/cloud\\/3rdparty\\/sabre\\/event\\/lib\\/EventEmitterTrait.php(105): call_user_func_array(Array, Array)\n#5 \\/home\\/primordi\\/public_html\\/cloud\\/3rdparty\\/sabre\\/dav\\/lib\\/DAV\\/Server.php(469): Sabre\\Event\\EventEmitter->emit('method:PUT', Array)\n#6 \\/home\\/primordi\\/public_html\\/cloud\\/3rdparty\\/sabre\\/dav\\/lib\\/DAV\\/Server.php(254): Sabre\\DAV\\Server->invokeMethod(Object(Sabre\\HTTP\\Request), Object(Sabre\\HTTP\\Response))\n#7 \\/home\\/primordi\\/public_html\\/cloud\\/apps\\/files\\/appinfo\\/remote.php(56): Sabre\\DAV\\Server->exec()\n#8 \\/home\\/primordi\\/public_html\\/cloud\\/remote.php(137): require_once('\\/home\\/primordi\\/...')\n#9 {main}\",\"File\":\"\\/home\\/primordi\\/public_html\\/cloud\\/lib\\/private\\/connector\\/sabre\\/file.php\",\"Line\":147}","level":4,"time":"2016-11-21T01:47:43+00:00","method":"PUT","url":"\/cloud\/remote.php\/webdav\/Photos\/iphone7\/Photo-2016-11-20-20-44-10_A15B3586-5A5D-4DA8-A854-428CDC31513E.JPG"}
{"reqId":"WDJSP0tir1UADW@3aAwAAACG","remoteAddr":"100.15.51.59","app":"webdav","message":"Exception: {\"Message\":\"HTTP\\/1.1 400 expected filesize 1480636 got 1040384\",\"Exception\":\"Sabre\\DAV\\Exception\\BadRequest\",\"Code\":0,\"Trace\":\"#0 \\/home\\/primordi\\/public_html\\/cloud\\/lib\\/private\\/connector\\/sabre\\/directory.php(115): OC\\Connector\\Sabre\\File->put(Resource id #286)\n#1 \\/home\\/primordi\\/public_html\\/cloud\\/3rdparty\\/sabre\\/dav\\/lib\\/DAV\\/Server.php(1053): OC\\Connector\\Sabre\\Directory->createFile('Photo-2016-11-2...', Resource id #286)\n#2 \\/home\\/primordi\\/public_html\\/cloud\\/3rdparty\\/sabre\\/dav\\/lib\\/DAV\\/CorePlugin.php(513): Sabre\\DAV\\Server->createFile('Photos\\/iphone7\\/...', Resource id #286, NULL)\n#3 [internal function]: Sabre\\DAV\\CorePlugin->httpPut(Object(Sabre\\HTTP\\Request), Object(Sabre\\HTTP\\Response))\n#4 \\/home\\/primordi\\/public_html\\/cloud\\/3rdparty\\/sabre\\/event\\/lib\\/EventEmitterTrait.php(105): call_user_func_array(Array, Array)\n#5 \\/home\\/primordi\\/public_html\\/cloud\\/3rdparty\\/sabre\\/dav\\/lib\\/DAV\\/Server.php(469): Sabre\\Event\\EventEmitter->emit('method:PUT', Array)\n#6 \\/home\\/primordi\\/public_html\\/cloud\\/3rdparty\\/sabre\\/dav\\/lib\\/DAV\\/Server.php(254): Sabre\\DAV\\Server->invokeMethod(Object(Sabre\\HTTP\\Request), Object(Sabre\\HTTP\\Response))\n#7 \\/home\\/primordi\\/public_html\\/cloud\\/apps\\/files\\/appinfo\\/remote.php(56): Sabre\\DAV\\Server->exec()\n#8 \\/home\\/primordi\\/public_html\\/cloud\\/remote.php(137): require_once('\\/home\\/primordi\\/...')\n#9 {main}\",\"File\":\"\\/home\\/primordi\\/public_html\\/cloud\\/lib\\/private\\/connector\\/sabre\\/file.php\",\"Line\":147}","level":4,"time":"2016-11-21T01:47:44+00:00","method":"PUT","url":"\/cloud\/remote.php\/webdav\/Photos\/iphone7\/Photo-2016-11-20-20-44-10_9A7AA4C6-ED5A-4B05-BA20-9ACA7430DB87.JPG"}
{"reqId":"WDJSQEtir1UADSLbhVwAAAHN","remoteAddr":"100.15.51.59","app":"webdav","message":"Exception: {\"Message\":\"HTTP\\/1.1 400 expected filesize 1733214 got 1040384\",\"Exception\":\"Sabre\\DAV\\Exception\\BadRequest\",\"Code\":0,\"Trace\":\"#0 \\/home\\/primordi\\/public_html\\/cloud\\/lib\\/private\\/connector\\/sabre\\/directory.php(115): OC\\Connector\\Sabre\\File->put(Resource id #286)\n#1 \\/home\\/primordi\\/public_html\\/cloud\\/3rdparty\\/sabre\\/dav\\/lib\\/DAV\\/Server.php(1053): OC\\Connector\\Sabre\\Directory->createFile('Photo-2016-11-2...', Resource id #286)\n#2 \\/home\\/primordi\\/public_html\\/cloud\\/3rdparty\\/sabre\\/dav\\/lib\\/DAV\\/CorePlugin.php(513): Sabre\\DAV\\Server->createFile('Photos\\/iphone7\\/...', Resource id #286, NULL)\n#3 [internal function]: Sabre\\DAV\\CorePlugin->httpPut(Object(Sabre\\HTTP\\Request), Object(Sabre\\HTTP\\Response))\n#4 \\/home\\/primordi\\/public_html\\/cloud\\/3rdparty\\/sabre\\/event\\/lib\\/EventEmitterTrait.php(105): call_user_func_array(Array, Array)\n#5 \\/home\\/primordi\\/public_html\\/cloud\\/3rdparty\\/sabre\\/dav\\/lib\\/DAV\\/Server.php(469): Sabre\\Event\\EventEmitter->emit('method:PUT', Array)\n#6 \\/home\\/primordi\\/public_html\\/cloud\\/3rdparty\\/sabre\\/dav\\/lib\\/DAV\\/Server.php(254): Sabre\\DAV\\Server->invokeMethod(Object(Sabre\\HTTP\\Request), Object(Sabre\\HTTP\\Response))\n#7 \\/home\\/primordi\\/public_html\\/cloud\\/apps\\/files\\/appinfo\\/remote.php(56): Sabre\\DAV\\Server->exec()\n#8 \\/home\\/primordi\\/public_html\\/cloud\\/remote.php(137): require_once('\\/home\\/primordi\\/...')\n#9 {main}\",\"File\":\"\\/home\\/primordi\\/public_html\\/cloud\\/lib\\/private\\/connector\\/sabre\\/file.php\",\"Line\":147}","level":4,"time":"2016-11-21T01:47:45+00:00","method":"PUT","url":"\/cloud\/remote.php\/webdav\/Photos\/iphone7\/Photo-2016-11-20-20-44-10_2AFF139E-1B34-4115-8AFF-DD6BD04A8E54.JPG"}
{"reqId":"WDJSRUtir1UADSLbhX8AAAHI","remoteAddr":"100.15.51.59","app":"webdav","message":"Exception: {\"Message\":\"HTTP\\/1.1 400 expected filesize 1746901 got 1040384\",\"Exception\":\"Sabre\\DAV\\Exception\\BadRequest\",\"Code\":0,\"Trace\":\"#0 \\/home\\/primordi\\/public_html\\/cloud\\/lib\\/private\\/connector\\/sabre\\/directory.php(115): OC\\Connector\\Sabre\\File->put(Resource id #286)\n#1 \\/home\\/primordi\\/public_html\\/cloud\\/3rdparty\\/sabre\\/dav\\/lib\\/DAV\\/Server.php(1053): OC\\Connector\\Sabre\\Directory->createFile('Photo-2016-11-1...', Resource id #286)\n#2 \\/home\\/primordi\\/public_html\\/cloud\\/3rdparty\\/sabre\\/dav\\/lib\\/DAV\\/CorePlugin.php(513): Sabre\\DAV\\Server->createFile('Photo-2016-11-1...', Resource id #286, NULL)\n#3 [internal function]: Sabre\\DAV\\CorePlugin->httpPut(Object(Sabre\\HTTP\\Request), Object(Sabre\\HTTP\\Response))\n#4 \\/home\\/primordi\\/public_html\\/cloud\\/3rdparty\\/sabre\\/event\\/lib\\/EventEmitterTrait.php(105): call_user_func_array(Array, Array)\n#5 \\/home\\/primordi\\/public_html\\/cloud\\/3rdparty\\/sabre\\/dav\\/lib\\/DAV\\/Server.php(469): Sabre\\Event\\EventEmitter->emit('method:PUT', Array)\n#6 \\/home\\/primordi\\/public_html\\/cloud\\/3rdparty\\/sabre\\/dav\\/lib\\/DAV\\/Server.php(254): Sabre\\DAV\\Server->invokeMethod(Object(Sabre\\HTTP\\Request), Object(Sabre\\HTTP\\Response))\n#7 \\/home\\/primordi\\/public_html\\/cloud\\/apps\\/files\\/appinfo\\/remote.php(56): Sabre\\DAV\\Server->exec()\n#8 \\/home\\/primordi\\/public_html\\/cloud\\/remote.php(137): require_once('\\/home\\/primordi\\/...')\n#9 {main}\",\"File\":\"\\/home\\/primordi\\/public_html\\/cloud\\/lib\\/private\\/connector\\/sabre\\/file.php\",\"Line\":147}","level":4,"time":"2016-11-21T01:47:50+00:00","method":"PUT","url":"\/cloud\/remote.php\/webdav\/Photo-2016-11-19-09-40-02_0009.JPG"}
{"reqId":"WDJSRktir1UADTnmalsAAAEH","remoteAddr":"100.15.51.59","app":"webdav","message":"Exception: {\"Message\":\"HTTP\\/1.1 400 expected filesize 1608162 got 1040384\",\"Exception\":\"Sabre\\DAV\\Exception\\BadRequest\",\"Code\":0,\"Trace\":\"#0 \\/home\\/primordi\\/public_html\\/cloud\\/lib\\/private\\/connector\\/sabre\\/directory.php(115): OC\\Connector\\Sabre\\File->put(Resource id #286)\n#1 \\/home\\/primordi\\/public_html\\/cloud\\/3rdparty\\/sabre\\/dav\\/lib\\/DAV\\/Server.php(1053): OC\\Connector\\Sabre\\Directory->createFile('Photo-2016-11-1...', Resource id #286)\n#2 \\/home\\/primordi\\/public_html\\/cloud\\/3rdparty\\/sabre\\/dav\\/lib\\/DAV\\/CorePlugin.php(513): Sabre\\DAV\\Server->createFile('Photo-2016-11-1...', Resource id #286, NULL)\n#3 [internal function]: Sabre\\DAV\\CorePlugin->httpPut(Object(Sabre\\HTTP\\Request), Object(Sabre\\HTTP\\Response))\n#4 \\/home\\/primordi\\/public_html\\/cloud\\/3rdparty\\/sabre\\/event\\/lib\\/EventEmitterTrait.php(105): call_user_func_array(Array, Array)\n#5 \\/home\\/primordi\\/public_html\\/cloud\\/3rdparty\\/sabre\\/dav\\/lib\\/DAV\\/Server.php(469): Sabre\\Event\\EventEmitter->emit('method:PUT', Array)\n#6 \\/home\\/primordi\\/public_html\\/cloud\\/3rdparty\\/sabre\\/dav\\/lib\\/DAV\\/Server.php(254): Sabre\\DAV\\Server->invokeMethod(Object(Sabre\\HTTP\\Request), Object(Sabre\\HTTP\\Response))\n#7 \\/home\\/primordi\\/public_html\\/cloud\\/apps\\/files\\/appinfo\\/remote.php(56): Sabre\\DAV\\Server->exec()\n#8 \\/home\\/primordi\\/public_html\\/cloud\\/remote.php(137): require_once('\\/home\\/primordi\\/...')\n#9 {main}\",\"File\":\"\\/home\\/primordi\\/public_html\\/cloud\\/lib\\/private\\/connector\\/sabre\\/file.php\",\"Line\":147}","level":4,"time":"2016-11-21T01:47:52+00:00","method":"PUT","url":"\/cloud\/remote.php\/webdav\/Photo-2016-11-19-09-40-08_0010.JPG"}
{"reqId":"WDJSSUtir1UADXEVeg4AAAGO","remoteAddr":"100.15.51.59","app":"webdav","message":"Exception: {\"Message\":\"HTTP\\/1.1 400 expected filesize 1115915 got 1040384\",\"Exception\":\"Sabre\\DAV\\Exception\\BadRequest\",\"Code\":0,\"Trace\":\"#0 \\/home\\/primordi\\/public_html\\/cloud\\/lib\\/private\\/connector\\/sabre\\/directory.php(115): OC\\Connector\\Sabre\\File->put(Resource id #286)\n#1 \\/home\\/primordi\\/public_html\\/cloud\\/3rdparty\\/sabre\\/dav\\/lib\\/DAV\\/Server.php(1053): OC\\Connector\\Sabre\\Directory->createFile('Photo-2016-11-1...', Resource id #286)\n#2 \\/home\\/primordi\\/public_html\\/cloud\\/3rdparty\\/sabre\\/dav\\/lib\\/DAV\\/CorePlugin.php(513): Sabre\\DAV\\Server->createFile('Photo-2016-11-1...', Resource id #286, NULL)\n#3 [internal function]: Sabre\\DAV\\CorePlugin->httpPut(Object(Sabre\\HTTP\\Request), Object(Sabre\\HTTP\\Response))\n#4 \\/home\\/primordi\\/public_html\\/cloud\\/3rdparty\\/sabre\\/event\\/lib\\/EventEmitterTrait.php(105): call_user_func_array(Array, Array)\n#5 \\/home\\/primordi\\/public_html\\/cloud\\/3rdparty\\/sabre\\/dav\\/lib\\/DAV\\/Server.php(469): Sabre\\Event\\EventEmitter->emit('method:PUT', Array)\n#6 \\/home\\/primordi\\/public_html\\/cloud\\/3rdparty\\/sabre\\/dav\\/lib\\/DAV\\/Server.php(254): Sabre\\DAV\\Server->invokeMethod(Object(Sabre\\HTTP\\Request), Object(Sabre\\HTTP\\Response))\n#7 \\/home\\/primordi\\/public_html\\/cloud\\/apps\\/files\\/appinfo\\/remote.php(56): Sabre\\DAV\\Server->exec()\n#8 \\/home\\/primordi\\/public_html\\/cloud\\/remote.php(137): require_once('\\/home\\/primordi\\/...')\n#9 {main}\",\"File\":\"\\/home\\/primordi\\/public_html\\/cloud\\/lib\\/private\\/connector\\/sabre\\/file.php\",\"Line\":147}","level":4,"time":"2016-11-21T01:47:54+00:00","method":"PUT","url":"\/cloud\/remote.php\/webdav\/Photo-2016-11-19-12-36-22_0028.JPG"}
{"reqId":"WDJdd0tir1UAAhP4FDgAAACD","remoteAddr":"100.15.51.59","app":"webdav","message":"Exception: {\"Message\":\"HTTP\\/1.1 404 File with name InstantUpload\

Special configurations (external storage, external authentication, reverse proxy, server-side-encryption):None


#2

Hi,

this is an oudated version of ownCloud. Please always use the latest available version (at least 8.2.9, recommended 9.0.6 or 9.1.2) before reporting issues with outdated versions.


#3

Its showing as the latest version for both Stable and Production in the admin panel.


#4

Hi,

that doesn't matter. Please don't rely on the update notification within ownCloud and the Updater App (both are broken and delayed since ages). Instead manually check https://owncloud.org/changelog/ from time to time and do the manual updates/upgrades.


#5

Gotcha. So is the updater a third party app? if so I guess I need to figure out how to remove it. I've never upgraded owncloud manually. Sorry to bother you.


#6

Hi,

the updater app as well as the update notification itself are shipped with ownCloud. So no, in this case they are no 3rdparty apps. But such delays are known and users like us are mostly not get notified about that.

No need to worry :slight_smile:. We just get tons of support requests in here for outdated versions and problems which are quite often already fixed in newer versions. The root cause is mostly the delay mentioned above. There are various requests like:

but there is currently no sign of getting this fixed.


#7

@estoltz Seems like a bug on iOS OC app, instant uploads should be uploaded. We can not reproduce it here.
Please if you still have the issue open a ticket with all the information and steps to reproduce it here https://github.com/owncloud/ios/issues
Thanks!


#8

So I built a clean install of the 9.1.3 version and it seems that the problem is still occurring. It acts like its uploading but then it says "Waiting for Server Connection"

I'll open a ticket with the ios app team. Thanks for the help everyone.


#9

and the App is now at 3.5.2 and still showing this for anyone else that wanders over here.