My usual use of Nextcloud is:
- auto upload photos/videos from camera on Android
- at the end of the month, use Solid Explorer to find all the missed files (usually about 10%) and select them all and upload them
Server version is 15.0.5. Android app version is 3.6.0RC3 but I’m not using it for this.
I can’t use Nextcloud’s app to do this, because it duplicates existing files instead of skipping them, and doesn’t really have a good enough search/select functionality. So I need a proper file manager.
The trouble is, when I upload most videos (which are usually 40MB or more), they get to exactly 100% and then fail. Solid Explorer doesn’t give me a lot of information about this. The only thing I can find in the logs is this:
[webdav] Debug: Sabre\DAV\Exception\NotFound: File with name Shared Photos/2019/02/VID_20190217_150748.mp4 could not be located at <<closure>>
0. /path/to/nc/3rdparty/sabre/dav/lib/DAV/CorePlugin.php line 81
getNodeForPath("Shared Photos/2 ... 4")
1. <<closure>>
httpGet(Sabre\HTTP\Reque ... "}, Sabre\HTTP\Response {})
2. /path/to/nc/3rdparty/sabre/event/lib/EventEmitterTrait.php line 105
call_user_func_array([Sabre\DAV\CorePlugin {},"httpGet"], [Sabre\HTTP\Requ ... }])
3. /path/to/nc/3rdparty/sabre/dav/lib/DAV/Server.php line 479
emit("method:GET", [Sabre\HTTP\Requ ... }])
4. /path/to/nc/3rdparty/sabre/dav/lib/DAV/CorePlugin.php line 253
invokeMethod(Sabre\HTTP\Reque ... "}, Sabre\HTTP\Response {}, false)
5. <<closure>>
httpHead(Sabre\HTTP\Reque ... "}, Sabre\HTTP\Response {})
6. /path/to/nc/3rdparty/sabre/event/lib/EventEmitterTrait.php line 105
call_user_func_array([Sabre\DAV\CorePlugin {},"httpHead"], [Sabre\HTTP\Requ ... }])
7. /path/to/nc/3rdparty/sabre/dav/lib/DAV/Server.php line 479
emit("method:HEAD", [Sabre\HTTP\Requ ... }])
8. /path/to/nc/3rdparty/sabre/dav/lib/DAV/Server.php line 254
invokeMethod(Sabre\HTTP\Reque ... "}, Sabre\HTTP\Response {})
9. /path/to/nc/apps/dav/appinfo/v1/webdav.php line 80
exec()
10. /path/to/nc/remote.php line 163
require_once("/path/to/ ... p")
HEAD /remote.php/webdav/Shared%20Photos/2019/02/VID_20190217_150748.mp4
from 27.33.9.230 by theuser at 2019-04-06T04:34:31+00:00
So my question is, how do I actually debug this? NC’s logs don’t show anything other than the above. Solid Explorer doesn’t say anything other than “SSL error”. It’s completely reproducible, it happens for the same set of files every time I try to upload them. It doesn’t happen if I upload them manually via the Nextcloud app, but that’s not practical because I don’t know which ones I need to upload until they fail in Solid Explorer. But SE can reliably upload smaller files easily. How do I get more info?
(I mean, ultimately what I want is any app or workflow that can take a folder of files or search results, and get them onto my NC server, no questions, no flakiness, just retry until they’re on the server. But I don’t think that exists yet.)