OC 10.1.0 on Ubuntu 18.04

Testing the Ubuntu 18.04 server fresh install, this happened with an upgrade too

smbclient is not quite working as i should.

In Ubuntu 16.04 I can see folders when I mount a cifs share
In Ubuntu 18.04 I can’t see folders or files once I click the mount point

php-smbclient:
Installed: 0.8.0~rc1-2build1
Candidate: 0.8.0~rc1-2build1
Version table:
*** 0.8.0~rc1-2build1 500
500 http://au.archive.ubuntu.com/ubuntu xenial-updates/universe amd64 Packages
100 /var/lib/dpkg/status
0.8.0~rc1-2 500
500 http://au.archive.ubuntu.com/ubuntu xenial/universe amd64 Packages

php-smbclient:
Installed: 0.8.0-3build2
Candidate: 0.8.0-3build2
Version table:
*** 0.8.0-3build2 500
500 http://archive.ubuntu.com/ubuntu bionic/universe amd64 Packages
100 /var/lib/dpkg/status

Update:

It works if I use my domain admin account on the share, while my normal user can’t see any folders

In Ubuntu 16.04 my normal user can see all the folders

Any suggestions?

It might be a “problem” / “fixed bug” in the native smbclient library. You should be able to set the domain in the mount point configuration.

The domain field is already set, the mount point shows up as green but I can’t see any folders.
Same domain account on 16.04, same share sees the folders correctly

Check (and submit) the logs then. I expect errors showing there.

I’ve set the log to 0 and I ended up clicking on the SMB share from the web interface:

{"reqId":"dPoBVCfVdGunkSiKd8o6","level":0,"time":"2019-02-11T14:57:43+11:00","remoteAddr":"192.168.158.24","user":"pikmin","app":"OC\\User\\Session::validateToken","method":"GET","url":"\/ocs\/v2.php\/apps\/notifications\/api\/v1\/notifications?format=json","message":"token 719a4cd10140ab59c230f3081d42fec6ef6401ba12e623ba3472d2c530fda1d1dd97b933e596d8fd49771de791c5b85db1a066a212c95431a60d78ac1531fe3f with token id 6 found, validating"}
{"reqId":"dPoBVCfVdGunkSiKd8o6","level":0,"time":"2019-02-11T14:57:43+11:00","remoteAddr":"192.168.158.24","user":"pikmin","app":"OC\\Authentication\\Token\\DefaultTokenProvider::updateTokenActivity","method":"GET","url":"\/ocs\/v2.php\/apps\/notifications\/api\/v1\/notifications?format=json","message":"updating activity of token 6 to 1549857463"}
{"reqId":"dPoBVCfVdGunkSiKd8o6","level":0,"time":"2019-02-11T14:57:43+11:00","remoteAddr":"192.168.158.24","user":"pikmin","app":"OC\\User\\Session::validateToken","method":"GET","url":"\/ocs\/v2.php\/apps\/notifications\/api\/v1\/notifications?format=json","message":"token 719a4cd10140ab59c230f3081d42fec6ef6401ba12e623ba3472d2c530fda1d1dd97b933e596d8fd49771de791c5b85db1a066a212c95431a60d78ac1531fe3f with token id 6 found, validating"}
{"reqId":"mDHXP0GdU32cgIIc2v5a","level":0,"time":"2019-02-11T14:57:53+11:00","remoteAddr":"192.168.158.24","user":"pikmin","app":"OC\\User\\Session::validateToken","method":"PROPFIND","url":"\/remote.php\/dav\/files\/pikmin\/SMB","message":"token 719a4cd10140ab59c230f3081d42fec6ef6401ba12e623ba3472d2c530fda1d1dd97b933e596d8fd49771de791c5b85db1a066a212c95431a60d78ac1531fe3f with token id 6 found, validating"}
{"reqId":"ePfFkyYH8jSvRpfhJth6","level":0,"time":"2019-02-11T14:57:53+11:00","remoteAddr":"192.168.158.24","user":"pikmin","app":"OC\\User\\Session::validateToken","method":"GET","url":"\/index.php\/avatar\/pikmin\/28","message":"token 719a4cd10140ab59c230f3081d42fec6ef6401ba12e623ba3472d2c530fda1d1dd97b933e596d8fd49771de791c5b85db1a066a212c95431a60d78ac1531fe3f with token id 6 found, validating"}
{"reqId":"ePfFkyYH8jSvRpfhJth6","level":0,"time":"2019-02-11T14:57:53+11:00","remoteAddr":"192.168.158.24","user":"pikmin","app":"OC\\User\\Session::validateToken","method":"GET","url":"\/index.php\/avatar\/pikmin\/28","message":"token 719a4cd10140ab59c230f3081d42fec6ef6401ba12e623ba3472d2c530fda1d1dd97b933e596d8fd49771de791c5b85db1a066a212c95431a60d78ac1531fe3f with token id 6 found, validating"}
{"reqId":"ePfFkyYH8jSvRpfhJth6","level":0,"time":"2019-02-11T14:57:53+11:00","remoteAddr":"192.168.158.24","user":"pikmin","app":"OC\\User\\Session::validateToken","method":"GET","url":"\/index.php\/avatar\/pikmin\/28","message":"token 719a4cd10140ab59c230f3081d42fec6ef6401ba12e623ba3472d2c530fda1d1dd97b933e596d8fd49771de791c5b85db1a066a212c95431a60d78ac1531fe3f with token id 6 found, validating"}
{"reqId":"E6wSGQ369gQQHLXlnvEt","level":0,"time":"2019-02-11T14:57:53+11:00","remoteAddr":"192.168.158.24","user":"pikmin","app":"OC\\User\\Session::validateToken","method":"GET","url":"\/index.php\/apps\/files\/ajax\/getstoragestats.php?dir=%2FSMB","message":"token 719a4cd10140ab59c230f3081d42fec6ef6401ba12e623ba3472d2c530fda1d1dd97b933e596d8fd49771de791c5b85db1a066a212c95431a60d78ac1531fe3f with token id 6 found, validating"}
{"reqId":"E6wSGQ369gQQHLXlnvEt","level":0,"time":"2019-02-11T14:57:53+11:00","remoteAddr":"192.168.158.24","user":"pikmin","app":"OC\\User\\Session::validateToken","method":"GET","url":"\/index.php\/apps\/files\/ajax\/getstoragestats.php?dir=%2FSMB","message":"token 719a4cd10140ab59c230f3081d42fec6ef6401ba12e623ba3472d2c530fda1d1dd97b933e596d8fd49771de791c5b85db1a066a212c95431a60d78ac1531fe3f with token id 6 found, validating"}
{"reqId":"E6wSGQ369gQQHLXlnvEt","level":0,"time":"2019-02-11T14:57:53+11:00","remoteAddr":"192.168.158.24","user":"pikmin","app":"OC\\User\\Session::validateToken","method":"GET","url":"\/index.php\/apps\/files\/ajax\/getstoragestats.php?dir=%2FSMB","message":"token 719a4cd10140ab59c230f3081d42fec6ef6401ba12e623ba3472d2c530fda1d1dd97b933e596d8fd49771de791c5b85db1a066a212c95431a60d78ac1531fe3f with token id 6 found, validating"}
{"reqId":"8IOnS8y2278wfSQZCE9h","level":0,"time":"2019-02-11T14:58:13+11:00","remoteAddr":"192.168.158.24","user":"pikmin","app":"OC\\User\\Session::validateToken","method":"GET","url":"\/ocs\/v2.php\/apps\/notifications\/api\/v1\/notifications?format=json","message":"token 719a4cd10140ab59c230f3081d42fec6ef6401ba12e623ba3472d2c530fda1d1dd97b933e596d8fd49771de791c5b85db1a066a212c95431a60d78ac1531fe3f with token id 6 found, validating"}
{"reqId":"8IOnS8y2278wfSQZCE9h","level":0,"time":"2019-02-11T14:58:13+11:00","remoteAddr":"192.168.158.24","user":"pikmin","app":"OC\\User\\Session::validateToken","method":"GET","url":"\/ocs\/v2.php\/apps\/notifications\/api\/v1\/notifications?format=json","message":"token 719a4cd10140ab59c230f3081d42fec6ef6401ba12e623ba3472d2c530fda1d1dd97b933e596d8fd49771de791c5b85db1a066a212c95431a60d78ac1531fe3f with token id 6 found, validating"}

Nothing useful in those logs…

Try setting the 'smb.logging.enable' => true in the config.php file, and reproduce the issue. You might want to filter the logs by app.
Those logs will be quite verbose, so you might want to disable them afterwards.

Thanks, here it is

{"reqId":"o0Qu8vLopj1vnrHYcxcm","level":0,"time":"2019-02-12T08:37:40+11:00","remoteAddr":"192.168.158.24","user":"pikmin","app":"smb","method":"GET","url":"\/index.php\/apps\/files_external\/userstorages\/4?testOnly=false","message":"enter: __construct({\"domain\":\"olimar\",\"host\":\"spfps\",\"password\":\"***removed***\",\"root\":\"\",\"share\":\"Staff Share\",\"user\":\"olimar\\\\domainuser\"})"}
{"reqId":"o0Qu8vLopj1vnrHYcxcm","level":0,"time":"2019-02-12T08:37:40+11:00","remoteAddr":"192.168.158.24","user":"pikmin","app":"smb","method":"GET","url":"\/index.php\/apps\/files_external\/userstorages\/4?testOnly=false","message":"using Icewind\\SMB\\Native\\NativeShare for the connection"}
{"reqId":"o0Qu8vLopj1vnrHYcxcm","level":0,"time":"2019-02-12T08:37:40+11:00","remoteAddr":"192.168.158.24","user":"pikmin","app":"smb","method":"GET","url":"\/index.php\/apps\/files_external\/userstorages\/4?testOnly=false","message":"leave: __construct, getId:smb::olimar\\domainuser@spfps\/\/Staff Share\/\/"}
{"reqId":"o0Qu8vLopj1vnrHYcxcm","level":0,"time":"2019-02-12T08:37:40+11:00","remoteAddr":"192.168.158.24","user":"pikmin","app":"smb","method":"GET","url":"\/index.php\/apps\/files_external\/userstorages\/4?testOnly=false","message":"enter: __construct({\"domain\":\"olimar\",\"host\":\"spfps\",\"password\":\"***removed***\",\"root\":\"\",\"share\":\"Staff Share\",\"user\":\"olimar\\\\domainuser\"})"}
{"reqId":"o0Qu8vLopj1vnrHYcxcm","level":0,"time":"2019-02-12T08:37:40+11:00","remoteAddr":"192.168.158.24","user":"pikmin","app":"smb","method":"GET","url":"\/index.php\/apps\/files_external\/userstorages\/4?testOnly=false","message":"using Icewind\\SMB\\Native\\NativeShare for the connection"}
{"reqId":"o0Qu8vLopj1vnrHYcxcm","level":0,"time":"2019-02-12T08:37:40+11:00","remoteAddr":"192.168.158.24","user":"pikmin","app":"smb","method":"GET","url":"\/index.php\/apps\/files_external\/userstorages\/4?testOnly=false","message":"leave: __construct, getId:smb::olimar\\domainuser@spfps\/\/Staff Share\/\/"}
{"reqId":"o0Qu8vLopj1vnrHYcxcm","level":0,"time":"2019-02-12T08:37:40+11:00","remoteAddr":"192.168.158.24","user":"pikmin","app":"smb","method":"GET","url":"\/index.php\/apps\/files_external\/userstorages\/4?testOnly=false","message":"enter: test()"}
{"reqId":"o0Qu8vLopj1vnrHYcxcm","level":0,"time":"2019-02-12T08:37:40+11:00","remoteAddr":"192.168.158.24","user":"pikmin","app":"smb","method":"GET","url":"\/index.php\/apps\/files_external\/userstorages\/4?testOnly=false","message":"enter: stat()"}
{"reqId":"o0Qu8vLopj1vnrHYcxcm","level":0,"time":"2019-02-12T08:37:40+11:00","remoteAddr":"192.168.158.24","user":"pikmin","app":"smb","method":"GET","url":"\/index.php\/apps\/files_external\/userstorages\/4?testOnly=false","message":"enter: getFileInfo()"}
{"reqId":"o0Qu8vLopj1vnrHYcxcm","level":0,"time":"2019-02-12T08:37:40+11:00","remoteAddr":"192.168.158.24","user":"pikmin","app":"smb","method":"GET","url":"\/index.php\/apps\/files_external\/userstorages\/4?testOnly=false","message":"enter: buildPath()"}
{"reqId":"o0Qu8vLopj1vnrHYcxcm","level":0,"time":"2019-02-12T08:37:40+11:00","remoteAddr":"192.168.158.24","user":"pikmin","app":"smb","method":"GET","url":"\/index.php\/apps\/files_external\/userstorages\/4?testOnly=false","message":"leave: buildPath, return '\/'"}
{"reqId":"o0Qu8vLopj1vnrHYcxcm","level":0,"time":"2019-02-12T08:37:40+11:00","remoteAddr":"192.168.158.24","user":"pikmin","app":"smb","method":"GET","url":"\/index.php\/apps\/files_external\/userstorages\/4?testOnly=false","message":"stat fetching '\/'"}
{"reqId":"o0Qu8vLopj1vnrHYcxcm","level":0,"time":"2019-02-12T08:37:40+11:00","remoteAddr":"192.168.158.24","user":"pikmin","app":"smb","method":"GET","url":"\/index.php\/apps\/files_external\/userstorages\/4?testOnly=false","message":"enter: isRootDir(\/)"}
{"reqId":"o0Qu8vLopj1vnrHYcxcm","level":0,"time":"2019-02-12T08:37:40+11:00","remoteAddr":"192.168.158.24","user":"pikmin","app":"smb","method":"GET","url":"\/index.php\/apps\/files_external\/userstorages\/4?testOnly=false","message":"leave: isRootDir, return true"}
{"reqId":"o0Qu8vLopj1vnrHYcxcm","level":0,"time":"2019-02-12T08:37:40+11:00","remoteAddr":"192.168.158.24","user":"pikmin","app":"smb","method":"GET","url":"\/index.php\/apps\/files_external\/userstorages\/4?testOnly=false","message":"leave: getFileInfo, return {}"}
{"reqId":"o0Qu8vLopj1vnrHYcxcm","level":0,"time":"2019-02-12T08:37:40+11:00","remoteAddr":"192.168.158.24","user":"pikmin","app":"smb","method":"GET","url":"\/index.php\/apps\/files_external\/userstorages\/4?testOnly=false","message":"leave: stat, return {\"size\":4096,\"mtime\":1526938648,\"type\":\"dir\"}"}
{"reqId":"o0Qu8vLopj1vnrHYcxcm","level":0,"time":"2019-02-12T08:37:40+11:00","remoteAddr":"192.168.158.24","user":"pikmin","app":"smb","method":"GET","url":"\/index.php\/apps\/files_external\/userstorages\/4?testOnly=false","message":"leave: test, return true"}

Here’s just one more after I clicked on the SMB share in the web interface

{"reqId":"XhZCom0xv2n3FewQ0RLF","level":0,"time":"2019-02-12T08:49:33+11:00","remoteAddr":"192.168.158.24","user":"pikmin","app":"OC\\User\\Session::validateToken","method":"GET","url":"\/index.php\/avatar\/pikmin\/28","message":"token 337451cc0e00099ca77c419256d4f84fbb7f187de4584c28b7abfe126e4ff0a962bdf6d0deefc922f9711f99caa05e9a4a2cf611adba9839479b0e30817f354d with token id 2 found, validating"}
{"reqId":"XhZCom0xv2n3FewQ0RLF","level":0,"time":"2019-02-12T08:49:33+11:00","remoteAddr":"192.168.158.24","user":"pikmin","app":"OC\\User\\Session::validateToken","method":"GET","url":"\/index.php\/avatar\/pikmin\/28","message":"token 337451cc0e00099ca77c419256d4f84fbb7f187de4584c28b7abfe126e4ff0a962bdf6d0deefc922f9711f99caa05e9a4a2cf611adba9839479b0e30817f354d with token id 2 found, validating"}
{"reqId":"XhZCom0xv2n3FewQ0RLF","level":0,"time":"2019-02-12T08:49:33+11:00","remoteAddr":"192.168.158.24","user":"pikmin","app":"OC\\User\\Session::validateToken","method":"GET","url":"\/index.php\/avatar\/pikmin\/28","message":"token 337451cc0e00099ca77c419256d4f84fbb7f187de4584c28b7abfe126e4ff0a962bdf6d0deefc922f9711f99caa05e9a4a2cf611adba9839479b0e30817f354d with token id 2 found, validating"}
{"reqId":"XhZCom0xv2n3FewQ0RLF","level":0,"time":"2019-02-12T08:49:33+11:00","remoteAddr":"192.168.158.24","user":"pikmin","app":"smb","method":"GET","url":"\/index.php\/avatar\/pikmin\/28","message":"enter: __construct({\"domain\":\"olimar\",\"host\":\"spfps\",\"password\":\"***removed***\",\"root\":\"\",\"share\":\"Staff Share\",\"user\":\"olimar\\\\domainuser\"})"}
{"reqId":"XhZCom0xv2n3FewQ0RLF","level":0,"time":"2019-02-12T08:49:33+11:00","remoteAddr":"192.168.158.24","user":"pikmin","app":"smb","method":"GET","url":"\/index.php\/avatar\/pikmin\/28","message":"using Icewind\\SMB\\Native\\NativeShare for the connection"}
{"reqId":"XhZCom0xv2n3FewQ0RLF","level":0,"time":"2019-02-12T08:49:33+11:00","remoteAddr":"192.168.158.24","user":"pikmin","app":"smb","method":"GET","url":"\/index.php\/avatar\/pikmin\/28","message":"leave: __construct, getId:smb::olimar\\domainuser@spfps\/\/Staff Share\/\/"}
{"reqId":"rbncnjzDCSe2H71YlugD","level":0,"time":"2019-02-12T08:49:33+11:00","remoteAddr":"192.168.158.24","user":"pikmin","app":"smb","method":"PROPFIND","url":"\/remote.php\/dav\/files\/pikmin\/SMB","message":"enter: isRootDir(\/)"}
{"reqId":"rbncnjzDCSe2H71YlugD","level":0,"time":"2019-02-12T08:49:33+11:00","remoteAddr":"192.168.158.24","user":"pikmin","app":"smb","method":"PROPFIND","url":"\/remote.php\/dav\/files\/pikmin\/SMB","message":"leave: isRootDir, return true"}
{"reqId":"rbncnjzDCSe2H71YlugD","level":0,"time":"2019-02-12T08:49:33+11:00","remoteAddr":"192.168.158.24","user":"pikmin","app":"smb","method":"PROPFIND","url":"\/remote.php\/dav\/files\/pikmin\/SMB","message":"leave: getFileInfo, return {}"}
{"reqId":"rbncnjzDCSe2H71YlugD","level":0,"time":"2019-02-12T08:49:33+11:00","remoteAddr":"192.168.158.24","user":"pikmin","app":"smb","method":"PROPFIND","url":"\/remote.php\/dav\/files\/pikmin\/SMB","message":"leave: stat, return {\"size\":4096,\"mtime\":1526938648,\"type\":\"dir\"}"}
{"reqId":"rbncnjzDCSe2H71YlugD","level":0,"time":"2019-02-12T08:49:33+11:00","remoteAddr":"192.168.158.24","user":"pikmin","app":"smb","method":"PROPFIND","url":"\/remote.php\/dav\/files\/pikmin\/SMB","message":"leave: hasUpdated, return false"}
{"reqId":"0YxvERzfUW9ZnaOnTFFc","level":0,"time":"2019-02-12T08:49:34+11:00","remoteAddr":"192.168.158.24","user":"pikmin","app":"OC\\User\\Session::validateToken","method":"GET","url":"\/index.php\/apps\/files\/ajax\/getstoragestats.php?dir=%2FSMB","message":"token 337451cc0e00099ca77c419256d4f84fbb7f187de4584c28b7abfe126e4ff0a962bdf6d0deefc922f9711f99caa05e9a4a2cf611adba9839479b0e30817f354d with token id 2 found, validating"}
{"reqId":"0YxvERzfUW9ZnaOnTFFc","level":0,"time":"2019-02-12T08:49:34+11:00","remoteAddr":"192.168.158.24","user":"pikmin","app":"OC\\User\\Session::validateToken","method":"GET","url":"\/index.php\/apps\/files\/ajax\/getstoragestats.php?dir=%2FSMB","message":"token 337451cc0e00099ca77c419256d4f84fbb7f187de4584c28b7abfe126e4ff0a962bdf6d0deefc922f9711f99caa05e9a4a2cf611adba9839479b0e30817f354d with token id 2 found, validating"}
{"reqId":"0YxvERzfUW9ZnaOnTFFc","level":0,"time":"2019-02-12T08:49:34+11:00","remoteAddr":"192.168.158.24","user":"pikmin","app":"OC\\User\\Session::validateToken","method":"GET","url":"\/index.php\/apps\/files\/ajax\/getstoragestats.php?dir=%2FSMB","message":"token 337451cc0e00099ca77c419256d4f84fbb7f187de4584c28b7abfe126e4ff0a962bdf6d0deefc922f9711f99caa05e9a4a2cf611adba9839479b0e30817f354d with token id 2 found, validating"}
{"reqId":"0YxvERzfUW9ZnaOnTFFc","level":0,"time":"2019-02-12T08:49:34+11:00","remoteAddr":"192.168.158.24","user":"pikmin","app":"smb","method":"GET","url":"\/index.php\/apps\/files\/ajax\/getstoragestats.php?dir=%2FSMB","message":"enter: __construct({\"domain\":\"olimar\",\"host\":\"spfps\",\"password\":\"***removed***\",\"root\":\"\",\"share\":\"Staff Share\",\"user\":\"olimar\\\\domainuser\"})"}
{"reqId":"0YxvERzfUW9ZnaOnTFFc","level":0,"time":"2019-02-12T08:49:34+11:00","remoteAddr":"192.168.158.24","user":"pikmin","app":"smb","method":"GET","url":"\/index.php\/apps\/files\/ajax\/getstoragestats.php?dir=%2FSMB","message":"using Icewind\\SMB\\Native\\NativeShare for the connection"}
{"reqId":"0YxvERzfUW9ZnaOnTFFc","level":0,"time":"2019-02-12T08:49:34+11:00","remoteAddr":"192.168.158.24","user":"pikmin","app":"smb","method":"GET","url":"\/index.php\/apps\/files\/ajax\/getstoragestats.php?dir=%2FSMB","message":"leave: __construct, getId:smb::olimar\\domainuser@spfps\/\/Staff Share\/\/"}
{"reqId":"0YxvERzfUW9ZnaOnTFFc","level":0,"time":"2019-02-12T08:49:34+11:00","remoteAddr":"192.168.158.24","user":"pikmin","app":"smb","method":"GET","url":"\/index.php\/apps\/files\/ajax\/getstoragestats.php?dir=%2FSMB","message":"enter: hasUpdated(, 1526938648)"}
{"reqId":"0YxvERzfUW9ZnaOnTFFc","level":0,"time":"2019-02-12T08:49:34+11:00","remoteAddr":"192.168.158.24","user":"pikmin","app":"smb","method":"GET","url":"\/index.php\/apps\/files\/ajax\/getstoragestats.php?dir=%2FSMB","message":"enter: stat()"}
{"reqId":"0YxvERzfUW9ZnaOnTFFc","level":0,"time":"2019-02-12T08:49:34+11:00","remoteAddr":"192.168.158.24","user":"pikmin","app":"smb","method":"GET","url":"\/index.php\/apps\/files\/ajax\/getstoragestats.php?dir=%2FSMB","message":"enter: getFileInfo()"}
{"reqId":"0YxvERzfUW9ZnaOnTFFc","level":0,"time":"2019-02-12T08:49:34+11:00","remoteAddr":"192.168.158.24","user":"pikmin","app":"smb","method":"GET","url":"\/index.php\/apps\/files\/ajax\/getstoragestats.php?dir=%2FSMB","message":"enter: buildPath()"}
{"reqId":"0YxvERzfUW9ZnaOnTFFc","level":0,"time":"2019-02-12T08:49:34+11:00","remoteAddr":"192.168.158.24","user":"pikmin","app":"smb","method":"GET","url":"\/index.php\/apps\/files\/ajax\/getstoragestats.php?dir=%2FSMB","message":"leave: buildPath, return '\/'"}
{"reqId":"0YxvERzfUW9ZnaOnTFFc","level":0,"time":"2019-02-12T08:49:34+11:00","remoteAddr":"192.168.158.24","user":"pikmin","app":"smb","method":"GET","url":"\/index.php\/apps\/files\/ajax\/getstoragestats.php?dir=%2FSMB","message":"stat fetching '\/'"}
{"reqId":"0YxvERzfUW9ZnaOnTFFc","level":0,"time":"2019-02-12T08:49:34+11:00","remoteAddr":"192.168.158.24","user":"pikmin","app":"smb","method":"GET","url":"\/index.php\/apps\/files\/ajax\/getstoragestats.php?dir=%2FSMB","message":"enter: isRootDir(\/)"}
{"reqId":"0YxvERzfUW9ZnaOnTFFc","level":0,"time":"2019-02-12T08:49:34+11:00","remoteAddr":"192.168.158.24","user":"pikmin","app":"smb","method":"GET","url":"\/index.php\/apps\/files\/ajax\/getstoragestats.php?dir=%2FSMB","message":"leave: isRootDir, return true"}
{"reqId":"0YxvERzfUW9ZnaOnTFFc","level":0,"time":"2019-02-12T08:49:34+11:00","remoteAddr":"192.168.158.24","user":"pikmin","app":"smb","method":"GET","url":"\/index.php\/apps\/files\/ajax\/getstoragestats.php?dir=%2FSMB","message":"leave: getFileInfo, return {}"}
{"reqId":"0YxvERzfUW9ZnaOnTFFc","level":0,"time":"2019-02-12T08:49:34+11:00","remoteAddr":"192.168.158.24","user":"pikmin","app":"smb","method":"GET","url":"\/index.php\/apps\/files\/ajax\/getstoragestats.php?dir=%2FSMB","message":"leave: stat, return {\"size\":4096,\"mtime\":1526938648,\"type\":\"dir\"}"}
{"reqId":"0YxvERzfUW9ZnaOnTFFc","level":0,"time":"2019-02-12T08:49:34+11:00","remoteAddr":"192.168.158.24","user":"pikmin","app":"smb","method":"GET","url":"\/index.php\/apps\/files\/ajax\/getstoragestats.php?dir=%2FSMB","message":"leave: hasUpdated, return false"}
{"reqId":"xOghU5jP57bCFBMqJvfz","level":0,"time":"2019-02-12T08:49:37+11:00","remoteAddr":"192.168.158.24","user":"pikmin","app":"OC\\User\\Session::validateToken","method":"GET","url":"\/ocs\/v2.php\/apps\/notifications\/api\/v1\/notifications?format=json","message":"token 337451cc0e00099ca77c419256d4f84fbb7f187de4584c28b7abfe126e4ff0a962bdf6d0deefc922f9711f99caa05e9a4a2cf611adba9839479b0e30817f354d with token id 2 found, validating"}
{"reqId":"xOghU5jP57bCFBMqJvfz","level":0,"time":"2019-02-12T08:49:37+11:00","remoteAddr":"192.168.158.24","user":"pikmin","app":"OC\\User\\Session::validateToken","method":"GET","url":"\/ocs\/v2.php\/apps\/notifications\/api\/v1\/notifications?format=json","message":"token 337451cc0e00099ca77c419256d4f84fbb7f187de4584c28b7abfe126e4ff0a962bdf6d0deefc922f9711f99caa05e9a4a2cf611adba9839479b0e30817f354d with token id 2 found, validating"}

I don’t see anything wrong in the logs…
Could you check the behaviour with smbclient? If the behaviour is the same with smbclient, I don’t think we can do anything about it from ownCloud because the library used is the same.

I have tried that before I decided to ask for help here, when I mount the share with either of these commands I can see all the folders correctly on the command line

mount.cifs "//spfps/Staff Share" /media/Temp -o username domainuser

smbclient "//spfps/Staff Share" -U domainuser

This has happened when I snapshot my current Ubuntu 16.04 and perform an upgrade and from a clean install of Ubuntu 18.04 :thinking:

Could you try to connect to a different share without spaces in the same machine? There might be a bug with the spaces in the share name.
Just create a new share or try to rename it.

I’ve added another folder nospace in owncloud and used a share with no spaces, no luck

{"reqId":"1xsDddKh097rOBm18k9g","level":0,"time":"2019-02-14T07:38:16+11:00","remoteAddr":"192.168.158.24","user":"pikmin","app":"OC\\User\\Session::validateToken","method":"PROPFIND","url":"\/remote.php\/dav\/files\/pikmin\/nospace","message":"token a71c2ab8424d045b3f984de248dcf74e9182ea84cfc2f47d72fd9d4c45d2964b5f95659f3af4907a1f2cb825b326564bbbaee9f81692fa8b08423d98fd2e0bc9 with token id 4 found, validating"}
{"reqId":"1xsDddKh097rOBm18k9g","level":0,"time":"2019-02-14T07:38:16+11:00","remoteAddr":"192.168.158.24","user":"pikmin","app":"smb","method":"PROPFIND","url":"\/remote.php\/dav\/files\/pikmin\/nospace","message":"enter: __construct({\"host\":\"spfps\",\"share\":\"Staff Share\",\"root\":\"\",\"domain\":\"olimar\",\"user\":\"olimar\\\\domainuser\",\"password\":\"***removed***\"})"}
{"reqId":"1xsDddKh097rOBm18k9g","level":0,"time":"2019-02-14T07:38:16+11:00","remoteAddr":"192.168.158.24","user":"pikmin","app":"smb","method":"PROPFIND","url":"\/remote.php\/dav\/files\/pikmin\/nospace","message":"using Icewind\\SMB\\Native\\NativeShare for the connection"}
{"reqId":"1xsDddKh097rOBm18k9g","level":0,"time":"2019-02-14T07:38:16+11:00","remoteAddr":"192.168.158.24","user":"pikmin","app":"smb","method":"PROPFIND","url":"\/remote.php\/dav\/files\/pikmin\/nospace","message":"leave: __construct, getId:smb::olimar\\domainuser@spfps\/\/Staff Share\/\/"}
{"reqId":"1xsDddKh097rOBm18k9g","level":0,"time":"2019-02-14T07:38:16+11:00","remoteAddr":"192.168.158.24","user":"pikmin","app":"smb","method":"PROPFIND","url":"\/remote.php\/dav\/files\/pikmin\/nospace","message":"enter: __construct({\"host\":\"spfps\",\"share\":\"SPStaffHome\",\"root\":\"\",\"domain\":\"olimar\",\"user\":\"olimar\\\\domainuser\",\"password\":\"***removed***\"})"}
{"reqId":"1xsDddKh097rOBm18k9g","level":0,"time":"2019-02-14T07:38:16+11:00","remoteAddr":"192.168.158.24","user":"pikmin","app":"smb","method":"PROPFIND","url":"\/remote.php\/dav\/files\/pikmin\/nospace","message":"using Icewind\\SMB\\Native\\NativeShare for the connection"}
{"reqId":"1xsDddKh097rOBm18k9g","level":0,"time":"2019-02-14T07:38:16+11:00","remoteAddr":"192.168.158.24","user":"pikmin","app":"smb","method":"PROPFIND","url":"\/remote.php\/dav\/files\/pikmin\/nospace","message":"leave: __construct, getId:smb::olimar\\domainuser@spfps\/\/SPStaffHome\/\/"}
{"reqId":"1xsDddKh097rOBm18k9g","level":0,"time":"2019-02-14T07:38:16+11:00","remoteAddr":"192.168.158.24","user":"pikmin","app":"smb","method":"PROPFIND","url":"\/remote.php\/dav\/files\/pikmin\/nospace","message":"enter: hasUpdated(, 1548890169)"}
{"reqId":"1xsDddKh097rOBm18k9g","level":0,"time":"2019-02-14T07:38:16+11:00","remoteAddr":"192.168.158.24","user":"pikmin","app":"smb","method":"PROPFIND","url":"\/remote.php\/dav\/files\/pikmin\/nospace","message":"enter: stat()"}
{"reqId":"1xsDddKh097rOBm18k9g","level":0,"time":"2019-02-14T07:38:16+11:00","remoteAddr":"192.168.158.24","user":"pikmin","app":"smb","method":"PROPFIND","url":"\/remote.php\/dav\/files\/pikmin\/nospace","message":"enter: getFileInfo()"}
{"reqId":"1xsDddKh097rOBm18k9g","level":0,"time":"2019-02-14T07:38:16+11:00","remoteAddr":"192.168.158.24","user":"pikmin","app":"smb","method":"PROPFIND","url":"\/remote.php\/dav\/files\/pikmin\/nospace","message":"enter: buildPath()"}
{"reqId":"1xsDddKh097rOBm18k9g","level":0,"time":"2019-02-14T07:38:16+11:00","remoteAddr":"192.168.158.24","user":"pikmin","app":"smb","method":"PROPFIND","url":"\/remote.php\/dav\/files\/pikmin\/nospace","message":"leave: buildPath, return '\/'"}
{"reqId":"1xsDddKh097rOBm18k9g","level":0,"time":"2019-02-14T07:38:16+11:00","remoteAddr":"192.168.158.24","user":"pikmin","app":"smb","method":"PROPFIND","url":"\/remote.php\/dav\/files\/pikmin\/nospace","message":"stat fetching '\/'"}
{"reqId":"LSvfjPrO6izaXP1UPN72","level":0,"time":"2019-02-14T07:38:16+11:00","remoteAddr":"192.168.158.24","user":"pikmin","app":"OC\\User\\Session::validateToken","method":"GET","url":"\/index.php\/avatar\/pikmin\/28","message":"token a71c2ab8424d045b3f984de248dcf74e9182ea84cfc2f47d72fd9d4c45d2964b5f95659f3af4907a1f2cb825b326564bbbaee9f81692fa8b08423d98fd2e0bc9 with token id 4 found, validating"}
{"reqId":"LSvfjPrO6izaXP1UPN72","level":0,"time":"2019-02-14T07:38:16+11:00","remoteAddr":"192.168.158.24","user":"pikmin","app":"OC\\User\\Session::validateToken","method":"GET","url":"\/index.php\/avatar\/pikmin\/28","message":"token a71c2ab8424d045b3f984de248dcf74e9182ea84cfc2f47d72fd9d4c45d2964b5f95659f3af4907a1f2cb825b326564bbbaee9f81692fa8b08423d98fd2e0bc9 with token id 4 found, validating"}
{"reqId":"LSvfjPrO6izaXP1UPN72","level":0,"time":"2019-02-14T07:38:16+11:00","remoteAddr":"192.168.158.24","user":"pikmin","app":"OC\\User\\Session::validateToken","method":"GET","url":"\/index.php\/avatar\/pikmin\/28","message":"token a71c2ab8424d045b3f984de248dcf74e9182ea84cfc2f47d72fd9d4c45d2964b5f95659f3af4907a1f2cb825b326564bbbaee9f81692fa8b08423d98fd2e0bc9 with token id 4 found, validating"}
{"reqId":"LSvfjPrO6izaXP1UPN72","level":0,"time":"2019-02-14T07:38:16+11:00","remoteAddr":"192.168.158.24","user":"pikmin","app":"smb","method":"GET","url":"\/index.php\/avatar\/pikmin\/28","message":"enter: __construct({\"host\":\"spfps\",\"share\":\"Staff Share\",\"root\":\"\",\"domain\":\"olimar\",\"user\":\"olimar\\\\domainuser\",\"password\":\"***removed***\"})"}
{"reqId":"LSvfjPrO6izaXP1UPN72","level":0,"time":"2019-02-14T07:38:16+11:00","remoteAddr":"192.168.158.24","user":"pikmin","app":"smb","method":"GET","url":"\/index.php\/avatar\/pikmin\/28","message":"using Icewind\\SMB\\Native\\NativeShare for the connection"}
{"reqId":"LSvfjPrO6izaXP1UPN72","level":0,"time":"2019-02-14T07:38:16+11:00","remoteAddr":"192.168.158.24","user":"pikmin","app":"smb","method":"GET","url":"\/index.php\/avatar\/pikmin\/28","message":"leave: __construct, getId:smb::olimar\\domainuser@spfps\/\/Staff Share\/\/"}
{"reqId":"LSvfjPrO6izaXP1UPN72","level":0,"time":"2019-02-14T07:38:16+11:00","remoteAddr":"192.168.158.24","user":"pikmin","app":"smb","method":"GET","url":"\/index.php\/avatar\/pikmin\/28","message":"enter: __construct({\"host\":\"spfps\",\"share\":\"SPStaffHome\",\"root\":\"\",\"domain\":\"olimar\",\"user\":\"olimar\\\\domainuser\",\"password\":\"***removed***\"})"}
{"reqId":"LSvfjPrO6izaXP1UPN72","level":0,"time":"2019-02-14T07:38:16+11:00","remoteAddr":"192.168.158.24","user":"pikmin","app":"smb","method":"GET","url":"\/index.php\/avatar\/pikmin\/28","message":"using Icewind\\SMB\\Native\\NativeShare for the connection"}
{"reqId":"LSvfjPrO6izaXP1UPN72","level":0,"time":"2019-02-14T07:38:16+11:00","remoteAddr":"192.168.158.24","user":"pikmin","app":"smb","method":"GET","url":"\/index.php\/avatar\/pikmin\/28","message":"leave: __construct, getId:smb::olimar\\domainuser@spfps\/\/SPStaffHome\/\/"}
{"reqId":"1xsDddKh097rOBm18k9g","level":0,"time":"2019-02-14T07:38:16+11:00","remoteAddr":"192.168.158.24","user":"pikmin","app":"smb","method":"PROPFIND","url":"\/remote.php\/dav\/files\/pikmin\/nospace","message":"enter: isRootDir(\/)"}
{"reqId":"1xsDddKh097rOBm18k9g","level":0,"time":"2019-02-14T07:38:16+11:00","remoteAddr":"192.168.158.24","user":"pikmin","app":"smb","method":"PROPFIND","url":"\/remote.php\/dav\/files\/pikmin\/nospace","message":"leave: isRootDir, return true"}
{"reqId":"1xsDddKh097rOBm18k9g","level":0,"time":"2019-02-14T07:38:16+11:00","remoteAddr":"192.168.158.24","user":"pikmin","app":"smb","method":"PROPFIND","url":"\/remote.php\/dav\/files\/pikmin\/nospace","message":"leave: getFileInfo, return {}"}
{"reqId":"1xsDddKh097rOBm18k9g","level":0,"time":"2019-02-14T07:38:16+11:00","remoteAddr":"192.168.158.24","user":"pikmin","app":"smb","method":"PROPFIND","url":"\/remote.php\/dav\/files\/pikmin\/nospace","message":"leave: stat, return {\"size\":20480,\"mtime\":1548890169,\"type\":\"dir\"}"}
{"reqId":"1xsDddKh097rOBm18k9g","level":0,"time":"2019-02-14T07:38:16+11:00","remoteAddr":"192.168.158.24","user":"pikmin","app":"smb","method":"PROPFIND","url":"\/remote.php\/dav\/files\/pikmin\/nospace","message":"leave: hasUpdated, return false"}
{"reqId":"nOMIo09HHCqCjRGqlhUK","level":0,"time":"2019-02-14T07:38:16+11:00","remoteAddr":"192.168.158.24","user":"pikmin","app":"OC\\User\\Session::validateToken","method":"GET","url":"\/index.php\/apps\/files\/ajax\/getstoragestats.php?dir=%2Fnospace","message":"token a71c2ab8424d045b3f984de248dcf74e9182ea84cfc2f47d72fd9d4c45d2964b5f95659f3af4907a1f2cb825b326564bbbaee9f81692fa8b08423d98fd2e0bc9 with token id 4 found, validating"}
{"reqId":"nOMIo09HHCqCjRGqlhUK","level":0,"time":"2019-02-14T07:38:16+11:00","remoteAddr":"192.168.158.24","user":"pikmin","app":"OC\\User\\Session::validateToken","method":"GET","url":"\/index.php\/apps\/files\/ajax\/getstoragestats.php?dir=%2Fnospace","message":"token a71c2ab8424d045b3f984de248dcf74e9182ea84cfc2f47d72fd9d4c45d2964b5f95659f3af4907a1f2cb825b326564bbbaee9f81692fa8b08423d98fd2e0bc9 with token id 4 found, validating"}
{"reqId":"nOMIo09HHCqCjRGqlhUK","level":0,"time":"2019-02-14T07:38:16+11:00","remoteAddr":"192.168.158.24","user":"pikmin","app":"OC\\User\\Session::validateToken","method":"GET","url":"\/index.php\/apps\/files\/ajax\/getstoragestats.php?dir=%2Fnospace","message":"token a71c2ab8424d045b3f984de248dcf74e9182ea84cfc2f47d72fd9d4c45d2964b5f95659f3af4907a1f2cb825b326564bbbaee9f81692fa8b08423d98fd2e0bc9 with token id 4 found, validating"}
{"reqId":"nOMIo09HHCqCjRGqlhUK","level":0,"time":"2019-02-14T07:38:16+11:00","remoteAddr":"192.168.158.24","user":"pikmin","app":"smb","method":"GET","url":"\/index.php\/apps\/files\/ajax\/getstoragestats.php?dir=%2Fnospace","message":"enter: __construct({\"host\":\"spfps\",\"share\":\"Staff Share\",\"root\":\"\",\"domain\":\"olimar\",\"user\":\"olimar\\\\domainuser\",\"password\":\"***removed***\"})"}
{"reqId":"nOMIo09HHCqCjRGqlhUK","level":0,"time":"2019-02-14T07:38:16+11:00","remoteAddr":"192.168.158.24","user":"pikmin","app":"smb","method":"GET","url":"\/index.php\/apps\/files\/ajax\/getstoragestats.php?dir=%2Fnospace","message":"using Icewind\\SMB\\Native\\NativeShare for the connection"}
{"reqId":"nOMIo09HHCqCjRGqlhUK","level":0,"time":"2019-02-14T07:38:16+11:00","remoteAddr":"192.168.158.24","user":"pikmin","app":"smb","method":"GET","url":"\/index.php\/apps\/files\/ajax\/getstoragestats.php?dir=%2Fnospace","message":"leave: __construct, getId:smb::olimar\\domainuser@spfps\/\/Staff Share\/\/"}
{"reqId":"nOMIo09HHCqCjRGqlhUK","level":0,"time":"2019-02-14T07:38:16+11:00","remoteAddr":"192.168.158.24","user":"pikmin","app":"smb","method":"GET","url":"\/index.php\/apps\/files\/ajax\/getstoragestats.php?dir=%2Fnospace","message":"enter: __construct({\"host\":\"spfps\",\"share\":\"SPStaffHome\",\"root\":\"\",\"domain\":\"olimar\",\"user\":\"olimar\\\\domainuser\",\"password\":\"***removed***\"})"}
{"reqId":"nOMIo09HHCqCjRGqlhUK","level":0,"time":"2019-02-14T07:38:16+11:00","remoteAddr":"192.168.158.24","user":"pikmin","app":"smb","method":"GET","url":"\/index.php\/apps\/files\/ajax\/getstoragestats.php?dir=%2Fnospace","message":"using Icewind\\SMB\\Native\\NativeShare for the connection"}
{"reqId":"nOMIo09HHCqCjRGqlhUK","level":0,"time":"2019-02-14T07:38:16+11:00","remoteAddr":"192.168.158.24","user":"pikmin","app":"smb","method":"GET","url":"\/index.php\/apps\/files\/ajax\/getstoragestats.php?dir=%2Fnospace","message":"leave: __construct, getId:smb::olimar\\domainuser@spfps\/\/SPStaffHome\/\/"}
{"reqId":"nOMIo09HHCqCjRGqlhUK","level":0,"time":"2019-02-14T07:38:16+11:00","remoteAddr":"192.168.158.24","user":"pikmin","app":"smb","method":"GET","url":"\/index.php\/apps\/files\/ajax\/getstoragestats.php?dir=%2Fnospace","message":"enter: hasUpdated(, 1548890169)"}
{"reqId":"nOMIo09HHCqCjRGqlhUK","level":0,"time":"2019-02-14T07:38:16+11:00","remoteAddr":"192.168.158.24","user":"pikmin","app":"smb","method":"GET","url":"\/index.php\/apps\/files\/ajax\/getstoragestats.php?dir=%2Fnospace","message":"enter: stat()"}
{"reqId":"nOMIo09HHCqCjRGqlhUK","level":0,"time":"2019-02-14T07:38:16+11:00","remoteAddr":"192.168.158.24","user":"pikmin","app":"smb","method":"GET","url":"\/index.php\/apps\/files\/ajax\/getstoragestats.php?dir=%2Fnospace","message":"enter: getFileInfo()"}
{"reqId":"nOMIo09HHCqCjRGqlhUK","level":0,"time":"2019-02-14T07:38:16+11:00","remoteAddr":"192.168.158.24","user":"pikmin","app":"smb","method":"GET","url":"\/index.php\/apps\/files\/ajax\/getstoragestats.php?dir=%2Fnospace","message":"enter: buildPath()"}
{"reqId":"nOMIo09HHCqCjRGqlhUK","level":0,"time":"2019-02-14T07:38:16+11:00","remoteAddr":"192.168.158.24","user":"pikmin","app":"smb","method":"GET","url":"\/index.php\/apps\/files\/ajax\/getstoragestats.php?dir=%2Fnospace","message":"leave: buildPath, return '\/'"}
{"reqId":"nOMIo09HHCqCjRGqlhUK","level":0,"time":"2019-02-14T07:38:16+11:00","remoteAddr":"192.168.158.24","user":"pikmin","app":"smb","method":"GET","url":"\/index.php\/apps\/files\/ajax\/getstoragestats.php?dir=%2Fnospace","message":"stat fetching '\/'"}
{"reqId":"nOMIo09HHCqCjRGqlhUK","level":0,"time":"2019-02-14T07:38:16+11:00","remoteAddr":"192.168.158.24","user":"pikmin","app":"smb","method":"GET","url":"\/index.php\/apps\/files\/ajax\/getstoragestats.php?dir=%2Fnospace","message":"enter: isRootDir(\/)"}
{"reqId":"nOMIo09HHCqCjRGqlhUK","level":0,"time":"2019-02-14T07:38:16+11:00","remoteAddr":"192.168.158.24","user":"pikmin","app":"smb","method":"GET","url":"\/index.php\/apps\/files\/ajax\/getstoragestats.php?dir=%2Fnospace","message":"leave: isRootDir, return true"}
{"reqId":"nOMIo09HHCqCjRGqlhUK","level":0,"time":"2019-02-14T07:38:16+11:00","remoteAddr":"192.168.158.24","user":"pikmin","app":"smb","method":"GET","url":"\/index.php\/apps\/files\/ajax\/getstoragestats.php?dir=%2Fnospace","message":"leave: getFileInfo, return {}"}
{"reqId":"nOMIo09HHCqCjRGqlhUK","level":0,"time":"2019-02-14T07:38:16+11:00","remoteAddr":"192.168.158.24","user":"pikmin","app":"smb","method":"GET","url":"\/index.php\/apps\/files\/ajax\/getstoragestats.php?dir=%2Fnospace","message":"leave: stat, return {\"size\":20480,\"mtime\":1548890169,\"type\":\"dir\"}"}
{"reqId":"nOMIo09HHCqCjRGqlhUK","level":0,"time":"2019-02-14T07:38:16+11:00","remoteAddr":"192.168.158.24","user":"pikmin","app":"smb","method":"GET","url":"\/index.php\/apps\/files\/ajax\/getstoragestats.php?dir=%2Fnospace","message":"leave: hasUpdated, return false"}

I also added a third share from a Linux SMB server and that is showing all the folders properly, so appears to be related to the domain shares

Any relevant information about the SMB server? Is it windows or samba? Any relevant configuration option in the SMB server?

Domain shares are on Microsoft Windows Server 2016

The one that is working is not a domain joined linux samba share running on Ubuntu 18.04 server

I’ve just tried with a Linux samba share of a domain joined Ubuntu 18.04 server and that’s working too

Maybe you can’t access because you’re joined to a domain and, as such, you can’t access to shares outside of that domain?
I don’t have experience with domain shares, but it sounds a reasonable explanation.

I’ve downloaded it, stuck it in a VM. Meh… i’m going to be upgrading my work desktop to it next week maybe when the Australian mirrors catch up.

And yes, livepatch sounds Watch latest urdu news like Canonical just wanting to grab user details because reasons. Very much doubt its not essential to the core technology of patching a running kernel. Where “very much doubt” = no way in hell is it necessary.

The owncloud server is not joined to a domain

It definitely points to a permission problem somewhere, since domain admin can see and mount all folders as specified in the second post

Those same domain shares work fine on Ubuntu 16.04, they are not any different from any other samba share

Double-check if it works with smbclient "//spfps/Staff Share" -U domainuser -W olimar. ownCloud is connecting with a domain that might not be recognized by the SMB server.

Other than that, I guess what’s left is to check the network traffic with wireshark or something similar

Sorry for the late reply, I am able to see/list files on the share with both including -W olimar and with omitting it