Open MeiRos opened 6 years ago
Hi, try new version in TestFlight. thanks
@marinofaggiana Email sent to the TestFlight's address.
Is that known problem with older apps that some pics (or files) may not be uploaded?
I filed a similar report in #770 with more detail on how to reproduce, by forcing upload failures with an nginx proxy, setting the server back to normal and then retrying the iOS app (er, well, it doesn't retry).
Expected behaviour
All pics should uploaded automatically. If upload fails, then should try again later.
Actual behaviour
First shot (05.07.2018-18.15-9249.jpg) of a 7 shots in a minute was still not uploaded after a day. Shot times: 18:15.11, .37, .44, .45, and .49 After those, few pics more were taken quite soon.
Steps to reproduce
Take 7 pics in a minute and see if all is uploaded or not
iOS version
11.3.1
App version
2.21.3.1
Server configuration
Operating system: Centos 7 Web server: nginx/1.15.0 Database: 10.1.34-MariaDB PHP version: PHP 7.2.6 Nextcloud version: (see Nextcloud admin page) 13.0.4
Logs time UTC +0 iPhone time UTC +3
{"reqId":"AeaqBqlJqC4SMihl5n4f","level":4,"time":"2018-07-05T20:00:20+00:00","remoteAddr":"11.111.111.111","user":"username","app":"webdav","method":"PUT","url":"\/remote.php\/webdav\/Puhelimesta\/05.07.2018-18.15-9249.jpg","message":"Exception: {\"Exception\":\"OCA\\\\DAV\\\\Connector\\\\Sabre\\\\Exception\\\\FileLocked\",\"Message\":\"\\\"Puhelimesta\\\" is locked\",\"Code\":0,\"Trace\":\"#0 \\\/home\\\/nginx\\\/domains\\\/domain.name\\\/public\\\/3rdparty\\\/sabre\\\/dav\\\/lib\\\/DAV\\\/Server.php(1096): OCA\\\\DAV\\\\Connector\\\\Sabre\\\\Directory->createFile('05.07.2018-18.1...', Resource id #20)\\n#1 \\\/home\\\/nginx\\\/domains\\\/domain.name\\\/public\\\/3rdparty\\\/sabre\\\/dav\\\/lib\\\/DAV\\\/CorePlugin.php(529): Sabre\\\\DAV\\\\Server->createFile('Puhelimesta\\\/05....', Resource id #20, NULL)\\n#2 [internal function]: Sabre\\\\DAV\\\\CorePlugin->httpPut(Object(Sabre\\\\HTTP\\\\Request), Object(Sabre\\\\HTTP\\\\Response))\\n#3 \\\/home\\\/nginx\\\/domains\\\/domain.name\\\/public\\\/3rdparty\\\/sabre\\\/event\\\/lib\\\/EventEmitterTrait.php(105): call_user_func_array(Array, Array)\\n#4 \\\/home\\\/nginx\\\/domains\\\/domain.name\\\/public\\\/3rdparty\\\/sabre\\\/dav\\\/lib\\\/DAV\\\/Server.php(479): Sabre\\\\Event\\\\EventEmitter->emit('method:PUT', Array)\\n#5 \\\/home\\\/nginx\\\/domains\\\/domain.name\\\/public\\\/3rdparty\\\/sabre\\\/dav\\\/lib\\\/DAV\\\/Server.php(254): Sabre\\\\DAV\\\\Server->invokeMethod(Object(Sabre\\\\HTTP\\\\Request), Object(Sabre\\\\HTTP\\\\Response))\\n#6 \\\/home\\\/nginx\\\/domains\\\/domain.name\\\/public\\\/apps\\\/dav\\\/appinfo\\\/v1\\\/webdav.php(80): Sabre\\\\DAV\\\\Server->exec()\\n#7 \\\/home\\\/nginx\\\/domains\\\/domain.name\\\/public\\\/remote.php(164): require_once('\\\/home\\\/nginx\\\/dom...')\\n#8 {main}\",\"File\":\"\\\/home\\\/nginx\\\/domains\\\/domain.name\\\/public\\\/apps\\\/dav\\\/lib\\\/Connector\\\/Sabre\\\/Directory.php\",\"Line\":168}","userAgent":"Mozilla\/5.0 (iOS) Nextcloud-iOS\/2.21.3","version":"13.0.4.0"}
Similar messages have appeared 2 times before, but those pics were uploaded to the Nextcloud. This account and iOS app have been in use about 2 months. This was (hopefully) first time pic didn't upload.
11.111.111.111 is wifi connection 2.2.2.2 slow mobile connection and other pics, which are not shown in the log above, was uploaded with it. (See log above, file with http code 204 was already uploaded. See below)
The not uploaded file have first http code 499 with mobile connection. Later it have http code 423 with wifi connection.