SunboX
November 22, 2016, 11:22am
1
Hi,
my girldfriend has a iPhone SE with latest iOS and latest Nextcloud App 2.14. ALl worked fine until I upgraded the Nextcloud Server last days from v9 to v10.0.1. Now if she tries to manually upload a file (image), the app closes (crashes) just after seleting the file from the file picker. Background upload seems still working.
Iām using the Windows Mobile Client to upload files, that works fine. Also the Webinterface works without problems. So I think this is a iOS Client related Bug.
Could you please take a look?
greetings,
AndrƩ
ios
November 22, 2016, 4:31pm
3
Mmmm very strange ā¦ logs on Nextcloud server with error ?
SunboX
November 23, 2016, 9:46am
4
jep, you are right. This is the exception Iām getting in the server log:
Debug
webdav
Exception: {"Message":"HTTP\/1.1 404 File with name Noah2\/2016-11-22 18-10-09 3916.jpg could not be located","Exception":"Sabre\\DAV\\Exception\\NotFound","Code":0,"Trace":"#0 \/share3\/www\/3rdparty\/sabre\/dav\/lib\/DAV\/Server.php(903): OCA\\DAV\\Connector\\Sabre\\ObjectTree->getNodeForPath('Noah2\/2016-11-2...')\n#1 \/share3\/www\/3rdparty\/sabre\/dav\/lib\/DAV\/CorePlugin.php(334): Sabre\\DAV\\Server->getPropertiesForPath('Noah2\/2016-11-2...', Array, 0)\n#2 [internal function]: Sabre\\DAV\\CorePlugin->httpPropFind(Object(Sabre\\HTTP\\Request), Object(Sabre\\HTTP\\Response))\n#3 \/share3\/www\/3rdparty\/sabre\/event\/lib\/EventEmitterTrait.php(105): call_user_func_array(Array, Array)\n#4 \/share3\/www\/3rdparty\/sabre\/dav\/lib\/DAV\/Server.php(459): Sabre\\Event\\EventEmitter->emit('method:PROPFIND', Array)\n#5 \/share3\/www\/3rdparty\/sabre\/dav\/lib\/DAV\/Server.php(248): Sabre\\DAV\\Server->invokeMethod(Object(Sabre\\HTTP\\Request), Object(Sabre\\HTTP\\Response))\n#6 \/share3\/www\/apps\/dav\/appinfo\/v1\/webdav.php(60): Sabre\\DAV\\Server->exec()\n#7 \/share3\/www\/remote.php(165): require_once('\/share3\/www\/app...')\n#8 {main}","File":"\/share3\/www\/apps\/dav\/lib\/Connector\/Sabre\/ObjectTree.php","Line":173,"User":"userxxx"}
2016-11-23T09:42:15+00:00
userxxx
But the iOS app shouldnāt crash. Even if the server throws an exception.
ios
November 23, 2016, 4:45pm
5
No , isnāt normal !
Test with clear cache in Settings , if persist the problem Exit Nextcloud in Settings and then recreate account.
Send me report.
SunboX
November 23, 2016, 6:07pm
7
Exception: {āMessageā:āHTTP/1.1 404 File with name Noah2/2016-11-23 14-14-18 3923.jpg could not be locatedā,āExceptionā:āSabre\DAV\Exception\NotFoundā,āCodeā:0,āTraceā:"#0 /share3/www/3rdparty/sabre/dav/lib/DAV/Server.php(903): OCA\DAV\Connector\Sabre\ObjectTree->getNodeForPath(āNoah2/2016-11-2ā¦ā)\n#1 /share3/www/3rdparty/sabre/dav/lib/DAV/CorePlugin.php(334): Sabre\DAV\Server->getPropertiesForPath(āNoah2/2016-11-2ā¦ā, Array, 0)\n#2 [internal function]: Sabre\DAV\CorePlugin->httpPropFind(Object(Sabre\HTTP\Request), Object(Sabre\HTTP\Response))\n#3 /share3/www/3rdparty/sabre/event/lib/EventEmitterTrait.php(105): call_user_func_array(Array, Array)\n#4 /share3/www/3rdparty/sabre/dav/lib/DAV/Server.php(459): Sabre\Event\EventEmitter->emit(āmethod:PROPFINDā, Array)\n#5 /share3/www/3rdparty/sabre/dav/lib/DAV/Server.php(248): Sabre\DAV\Server->invokeMethod(Object(Sabre\HTTP\Request), Object(Sabre\HTTP\Response))\n#6 /share3/www/apps/dav/appinfo/v1/webdav.php(60): Sabre\DAV\Server->exec()\n#7 /share3/www/remote.php(165): require_once(ā/share3/www/appā¦ā)\n#8 {main}",āFileā:"/share3/www/apps/dav/lib/Connector/Sabre/ObjectTree.php",āLineā:173,āUserā:āuserxxxā}
2016-11-23T18:00:40+00:00
ios
November 25, 2016, 6:31pm
8
Problem : incorrect response of server
please wait for details
SunboX
December 2, 2016, 8:20pm
9
Any news about this? I send you a demo login to my server via email a week ago.
ios
December 3, 2016, 10:15pm
10
Sorry, no news, please open issue on github, the server respond incorrectly at call webdav readfile.
SunboX
December 3, 2016, 10:39pm
11
The Windows Client works great. Whatās wrong with the server response? How should it look like?
Hi,
I donāt think that there is a wrong response from the server here. What is the response and what do you expect it to be, @ios ?
Morris
ios
December 4, 2016, 2:58am
13
@MorrisJobke i except 404 file do not exists ā¦ but return 200 OK and no items, this is documentation driver ios owncloud, if items = 0 the app crash :
SunboX
December 11, 2016, 9:42am
14
OK, should I open a server issue for it? @MorrisJobke @ios
SunboX
December 29, 2016, 8:07am
16
1 Like