-
-
Notifications
You must be signed in to change notification settings - Fork 4.7k
Description
Steps to reproduce
- Configure SMB/CIFS root directory as External storage (e.g. in my case it would be D:\ as DiskD)
- Go to "All files", it doesn't appear there, only in "External storage" subfolder.
- Go to "All files" -> "External storage" try to open mounted CIFS root directory -> you'll be moved to "All files"
Expected behaviour
Mounted External storage SMB/CIFS expected to appear in the "All files" folder and have to be accessible.
Actual behaviour
Mounted External storage SMB/CIFS appear in "All files"->"External storage" and doesn't accessible - you'll be moved to the root of "All files".
But if I mount any subfolder of this root SMB/CIFS - it will be mounted without any issues. E.g. if I mount D:\_Video\ as DiskD_Video it will appear in "All files" and will be accessible.
Screenshots:
https://snag.gy/Q0zfPj.jpg
https://snag.gy/Y0lMH6.jpg
https://snag.gy/wLG7M3.jpg
Server configuration
Windows 8.1 Pro - Nextcloud VM - Ubuntu Server 16.04.1: Pre-installed Nextcloud (PHP 7) from https://cloud.techandme.se/index.php/s/lTjoMr5smSYHIiM/download?path=%2F&files=Nextcloud_Community_VM_PRODUCTION.rar
Client configuration
Browser: Firefox 47, Chrome 54, IE 11
Operating system: Windows, Android
Logs
Nextcloud log (data/nextcloud.log)
Nextcloud log
{"reqId":"3001zwteH3spgvF3+If9","remoteAddr":"192.168.0.82","app":"OC\\Files\\Cache\\Scanner","message":"!!! Path '' is not accessible or present !!!","level":0,"time":"2016-11-01T16:13:05+00:00","method":"PROPFIND","url":"\/nextcloud\/remote.php\/webdav\/","user":"ncadmin"}
{"reqId":"3001zwteH3spgvF3+If9","remoteAddr":"192.168.0.82","app":"OC\\Files\\Cache\\Scanner","message":"!!! Path '' is not accessible or present !!!","level":0,"time":"2016-11-01T16:13:05+00:00","method":"PROPFIND","url":"\/nextcloud\/remote.php\/webdav\/","user":"ncadmin"}
{"reqId":"61otO5QIJ7DG51MzG2Vw","remoteAddr":"192.168.0.82","app":"OC\\Files\\Cache\\Scanner","message":"!!! Path '' is not accessible or present !!!","level":0,"time":"2016-11-01T16:13:21+00:00","method":"PROPFIND","url":"\/nextcloud\/remote.php\/webdav\/DiskD","user":"ncadmin"}
{"reqId":"61otO5QIJ7DG51MzG2Vw","remoteAddr":"192.168.0.82","app":"webdav","message":"Exception: {\"Message\":\"HTTP\\\/1.1 404 File with name DiskD could not be located\",\"Exception\":\"Sabre\\\\DAV\\\\Exception\\\\NotFound\",\"Code\":0,\"Trace\":\"#0 \\\/var\\\/www\\\/nextcloud\\\/3rdparty\\\/sabre\\\/dav\\\/lib\\\/DAV\\\/Server.php(903): OCA\\\\DAV\\\\Connector\\\\Sabre\\\\ObjectTree->getNodeForPath('DiskD')\\n#1 \\\/var\\\/www\\\/nextcloud\\\/3rdparty\\\/sabre\\\/dav\\\/lib\\\/DAV\\\/CorePlugin.php(334): Sabre\\\\DAV\\\\Server->getPropertiesForPath('DiskD', Array, 1)\\n#2 [internal function]: Sabre\\\\DAV\\\\CorePlugin->httpPropFind(Object(Sabre\\\\HTTP\\\\Request), Object(Sabre\\\\HTTP\\\\Response))\\n#3 \\\/var\\\/www\\\/nextcloud\\\/3rdparty\\\/sabre\\\/event\\\/lib\\\/EventEmitterTrait.php(105): call_user_func_array(Array, Array)\\n#4 \\\/var\\\/www\\\/nextcloud\\\/3rdparty\\\/sabre\\\/dav\\\/lib\\\/DAV\\\/Server.php(459): Sabre\\\\Event\\\\EventEmitter->emit('method:PROPFIND', Array)\\n#5 \\\/var\\\/www\\\/nextcloud\\\/3rdparty\\\/sabre\\\/dav\\\/lib\\\/DAV\\\/Server.php(248): Sabre\\\\DAV\\\\Server->invokeMethod(Object(Sabre\\\\HTTP\\\\Request), Object(Sabre\\\\HTTP\\\\Response))\\n#6 \\\/var\\\/www\\\/nextcloud\\\/apps\\\/dav\\\/appinfo\\\/v1\\\/webdav.php(60): Sabre\\\\DAV\\\\Server->exec()\\n#7 \\\/var\\\/www\\\/nextcloud\\\/remote.php(165): require_once('\\\/var\\\/www\\\/nextcl...')\\n#8 {main}\",\"File\":\"\\\/var\\\/www\\\/nextcloud\\\/apps\\\/dav\\\/lib\\\/Connector\\\/Sabre\\\/ObjectTree.php\",\"Line\":173,\"User\":\"ncadmin\"}","level":0,"time":"2016-11-01T16:13:21+00:00","method":"PROPFIND","url":"\/nextcloud\/remote.php\/webdav\/DiskD","user":"ncadmin"}
{"reqId":"jNotof9STpft6B5nVLmc","remoteAddr":"192.168.0.82","app":"OC\\Files\\Cache\\Scanner","message":"!!! Path '' is not accessible or present !!!","level":0,"time":"2016-11-01T16:13:21+00:00","method":"PROPFIND","url":"\/nextcloud\/remote.php\/webdav\/","user":"ncadmin"}
{"reqId":"jNotof9STpft6B5nVLmc","remoteAddr":"192.168.0.82","app":"OC\\Files\\Cache\\Scanner","message":"!!! Path '' is not accessible or present !!!","level":0,"time":"2016-11-01T16:13:21+00:00","method":"PROPFIND","url":"\/nextcloud\/remote.php\/webdav\/","user":"ncadmin"}
{"reqId":"CParj+JyB9UknEtF3xnD","remoteAddr":"192.168.0.82","app":"OC\\Files\\Cache\\Scanner","message":"!!! Path '' is not accessible or present !!!","level":0,"time":"2016-11-01T16:13:28+00:00","method":"PROPFIND","url":"\/nextcloud\/remote.php\/webdav","user":"ncadmin"}