Getting "unknown error" after >200mb video instantupload finishes

See below for details, any thought on how to debug further ? I'm not sure where to go from here.


Steps to reproduce
1. Record a video
2. Wait for upload to complete to 100% via WIFI

Expected behaviour
The file is uploaded and goes to the "UPLOADED" section of the android app

Actual behaviour
File didn't get uploaded, and there is an "unknown error" in the android app. The file goes to the "FAILED" section of the app. This happens ~9 time out of 10.Once in a while, the upload works (see screenshot). Works fine for pictures. Nothing relevent in /var/log/apache/error.log

Mobile client configuration
Android 6.0.1
Client version:2.1.2

Server configuration
Operating system:ubuntu 16.04.1
Web server:apache 2.4.18
Database: mysql Ver 14.14 Distrib 5.7.16
PHP version:PHP 7.0.8-0ubuntu0.16.04.3
ownCloud version (see ownCloud admin page): 9.0.4
Updated from an older ownCloud or fresh install: updated
ownCloud log (data/owncloud.log):
Exception: {"Message":"HTTP\/1.1 404 File with name Photos\/20161203_101440 (2).mp4 could not be located","Exception":"Sabre\DAV\Exception\NotFound","Code":0,"Trace":"#0 \/var\/www\/owncloud\/3rdparty\/sabre\/dav\/lib\/DAV\/CorePlugin.php(79): OCA\DAV\Connector\Sabre\ObjectTree->getNodeForPath('Photos\/20161203...', 0)\n#1 [internal function]: Sabre\DAV\CorePlugin->httpGet(Object(Sabre\HTTP\Request), Object(Sabre\HTTP\Response))\n#2 \/var\/www\/owncloud\/3rdparty\/sabre\/event\/lib\/EventEmitterTrait.php(105): call_user_func_array(Array, Array)\n#3 \/var\/www\/owncloud\/3rdparty\/sabre\/dav\/lib\/DAV\/Server.php(459): Sabre\Event\EventEmitter->emit('method:GET', Array)\n#4 \/var\/www\/owncloud\/3rdparty\/sabre\/dav\/lib\/DAV\/CorePlugin.php(251): Sabre\DAV\Server->invokeMethod(Object(Sabre\HTTP\Request), Object(Sabre\HTTP\Response), false)\n#5 [internal function]: Sabre\DAV\CorePlugin->httpHead(Object(Sabre\HTTP\Request), Object(Sabre\HTTP\Response))\n#6 \/var\/www\/owncloud\/3rdparty\/sabre\/event\/lib\/EventEmitterTrait.php(105): call_user_func_array(Array, Array)\n#7 \/var\/www\/owncloud\/3rdparty\/sabre\/dav\/lib\/DAV\/Server.php(459): Sabre\Event\EventEmitter->emit('method:HEAD', Array)\n#8 \/var\/www\/owncloud\/3rdparty\/sabre\/dav\/lib\/DAV\/Server.php(248): Sabre\DAV\Server->invokeMethod(Object(Sabre\HTTP\Request), Object(Sabre\HTTP\Response))\n#9 \/var\/www\/owncloud\/apps\/dav\/appinfo\/v1\/webdav.php(55): Sabre\DAV\Server->exec()\n#10 \/var\/www\/owncloud\/remote.php(138): require_once('\/var\/www\/ownclo...')\n#11 {main}","File":"\/var\/www\/owncloud\/apps\/dav\/lib\/connector\/sabre\/objecttree.php","Line":168,"User":"admin"}

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

Hi, @terroirman. How long does it take from the 100% of the file is uploaded until the error is shown? Is it immediate, or is there a long time to wait?

Thanks for the quick answer. I saw something weird on my lan I wanted to rule out before answering (which as been resolved, and error still there in owncloud).

Its not immediate, it takes about 15 seconds between "100% complete" and "unknown error".

@terroiman, sorry for coming back so late.

Is this still a problem for you?

Could you upgrade your server to version 9.0.6 (last stable in branch 9.0.x) ?

Did you update the Android app to version 2.2.0?