Mounted External storage SMB/CIFS expected to appear in the "All files" folder and have to be accessible.
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
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
Browser: Firefox 47, Chrome 54, IE 11
Operating system: Windows, Android
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"}
@icewind1991 anything wrong with mounting a partition root?
Hi, Joas.
Yes, a partition root is not mounted properly only subfolders. You may see it on the screenshots attached in my first message.
Best regards,
Igor.
Confirm the problem. It occurs when using shares not on disk C. I think the code is used incorrectly. 'smbclient allinfo "."' in function stat($path) on /var/www/nextcloud/apps/files_external/3rdparty/icewind/smb/src/Share.php.
I do not have the knowledge to debug and make a patch...
I confirm - the problem is still exist.
This problem occurs while using any disk also on disk C.
https://www.evernote.com/shard/s69/sh/ceeed8fa-69d7-4dda-b64e-aa0ca1dd5399/f652c5c234fab70c99bed1e29eddae61
iG8R. Do it as shown on the second line. Will work with the disk C. Then change the link to the disk D and stop working.
@midaw1 Sorry, I don't have Evernote account and I don't want to create an account there, please, upload your screenshot somewhere else, e.g. https://snag.gy/
I'm sorry, the link was a curve. Try to go for a new one. Placed in the same top.
I am found problem. smbclient + "allinfo \" not work on share from disk D,E,....
Solution to the problem is to use smbclient.so in php.ini.
I confirm the problem is reproducible. When you go in External Storage and click on the share folder, WebDAV returns a 404 not found in the Google Chrome console. As soon as you select a sub folder not in the root directory of an hard drive, the problem doesn't occur.
I would like to mention that smbclient.so is registered in php.ini, so I guess using it doesn't fix the problem. I am using Ubuntu Server 16.04.1 LTS x64. The file server is a Windows Server 2016 Core Datacenter.
there are several php.ini. moreover desirable to use the fpm. smbclient.so problem takes exactly. check script phpinfo (), that you have loaded smbclient. and not included fpm.
I am not really sure to understand what you mean. The only thing I have done is to enable the module using the command "phpenmod smbclient", then restarting Apache. When I look in /etc/php/7.0/apache2/conf.d/20-smbclient.ini, there is only one line and it's extension=smbclient.so, which is good right?
one last line in /etc/php/7.0/cli/php.ini or /etc/php/7.0/fpm/php.ini or /etc/php/7.0/apache2/php.ini...
I always put the do not understand the features and it works
None of the three files you've specified contains the line "extension=smbclient.so". Folder fpm doesn't exist for me. "You always put the do not understand[...]" what? I don't understand what you are trying to say. :/
Add to all these files that line. My English is poor. I sit with a dictionary ... Sorry
So you want me to add the line "extension=smbclient.so" into all php.ini file?
exactly... and restart server.
Hi,
This is not working and doesn't change anything to the behavior. I still receive a 404 not found from the WebDAV module when tempting to browse the SMB share through the menu "External Storage". This is what makes NextCloud automatically redirect to "All files" as described by @iG8R .
I too have this issue. Have there been any further advances? I also logged the issue on the OwnCloud forum a while ago but got nowhere.
Kind regards, James
Hi,
Nothing new on my side. I end up creating an additional SMB share for I wanted to do. Seems like NC 11 is out, maybe this corrects the issue?
Dave
Ah, so you just settled on having to have your share as a subfolder...? I'm running 11 and can confirm the issue is still present. :-(
Kind regards, James
Unfortunately, this is the only workaround at this moment... Until someone wants to take care of the issue.
Hmmm... a bit of a tricky work-around for me. I wonder if they have a 'snagging list' of such things they're working through (can't think of the proper name for it at the moment).
I don't know how the NC's team handles their priority internally. I guess someone of their team needs to reproduce the problem first. Maybe with the number of issues loggued here, this might take some time?
I have now had a chance to try midaw1's suggestion of adding the 'extension=smbclient.so' to the two php.ini files available to me (under /cli and /apache2 (I didn't have an fpm directory)) and restarted and it hasn't worked for me.
Do we think iG8R entered all relevant info in his initial logging of this issue on the 1st November? I know the NextCloud team request a lot of information in the logging of issues.
Hi,
Having the same issue.
The following commands:
apt-get install php-smbclient
phpenmod smbclient
systemctl restart apache2
Did not solve anything.
The issue happens for both "local" and "SMB/CIFS" mounts.
I was just trying to upgrade from Owncloud to Nextcloud and experienced the issue described. Note that this works in Owncloud and should work in Nextcloud as described in the Wiki.
I tried adding a / or ./ and other variations into the subfolder parameter but nothing worked so far.
Could someone look at the source of Owncloud and check what was done differently? I'll do it as soon as I have some time in my hands, will report if I find something.
Hi 'soldier9945'. Good stuff. Interesting that you found it works in OwnCloud as I've been keeping a vague eye on their Release Notes and not noticed that they fixed it. Also, I have a similar issue logged with OwnCloud which receives the odd comment but nobody's said it's fixed. I'll test when I get a sec.
James
On 22 Mar 2017, at 13:41, soldier9945 <[email protected]notifications@github.com> wrote:
I was just trying to upgrade from Owncloud to Nextcloud and experienced the issue described. Note that this works in Owncloud and should work in Nextcloud as described in the Wiki.
I tried adding a / or ./ and other variations into the subfolder parameter but nothing worked so far.
Could someone look at the source of Owncloud and check what was done differently? I'll do it as soon as I have some time in my hands, will report if I find something.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHubhttps://github.com/nextcloud/server/issues/1970#issuecomment-288401182, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AXhF1CnjFIiV3c0K1ChfJr9FOYdQ3ahJks5roST1gaJpZM4KmTxO.
Can someone with this problem and a windows smb server give me the output of
allinfo ""
, allinfo /
and allinfo "."
using smbclient connected to the problamatic share.
Let's do the debugging in: https://github.com/nextcloud/server/issues/3789
And btw, same error on the latest VM from master which is 11.0.2 currently. It works in ownCloud so this is a Nextcloud bug. I think something happened when updating the @icewind1991 libs
@midaw1 Can you please post the workaround again? https://github.com/nextcloud/server/issues/1970#issuecomment-260146670
@enoch85 Recovered the link from the Evernote recycle bin. Must work.
https://www.evernote.com/shard/s69/sh/ceeed8fa-69d7-4dda-b64e-aa0ca1dd5399/f652c5c234fab70c99bed1e29eddae61
Posting it on imgur as well if you delete the Evernote link again:
@midaw1 So what is the exact workaround here? Does it work for you? What did you change?
@enoch85 If the Test directory is on drive C, then access works. If the Test folder is on disk D, then access is shown to be working. But in fact you can not go into it. I am writing in Russian, sorry for the bad translation.
The problem is solved by installing a library with another algorithm. I no longer remember the name. Most likely these lines from my documentation:
// Install and connect the SMB library (CLI)
sudo apt install php-smbclient
sudo nano /etc/php/7.0/apache2/php.ini
// Add a line to the end of the file
extension=smbclient.so
Hi midaw1. Sorry if I'm misunderstanding. I'm away and not got much time to check all posts etc but aren't we talking about the roots of drives/partitions here rather than sub-directories?
The problem is working with the network and browse folders on network devices. If the deleted folder has a real disk c, then everything works. Otherwise, no. The real problem exists in the work of the command allinfo ... It is partially described above in the text.
Deleted = remote. translation error.
@midaw1 Thanks for explaining, just to confirm, that doesn't work for me. php-smbclient is already installed and the latest Ubuntu (16.04.2) version
As @JerseyJames says, this is about mounting root drives/partitions (which is not working). Mounts outside of root is OK, and can be mounted, it also shows up in All Files in the GUI.
I checked the ownCloud Share.php and it differs from Nextclouds Share.php. I don't have access to the server here so I can't test, but could someone please check if replacing Nextcluds Share.php with ownClouds Share.php solves the issue here? Reason I want to try is because this behavior doesn't exist in ownCloud 9.1
mv Share.php Share.php_backup
wget https://raw.githubusercontent.com/owncloud/core/master/apps/files_external/3rdparty/icewind/smb/src/Share.php
mv Share.php_backup Share.php
Just a wild guess from me, but may work. In that case we have a workaround until @icewind1991 figures out what is wrong here.
@enoch85 Hi Daniel, ok, I've had time to try your suggestion now and I'm afraid... no joy. Same result.
@icewind1991 Hi Robin, I'll happily give you the output of any command you like but may need some guidance - I'm a Windows guy rather than a Linux guy. Wasn't sure if you specified two commands there or if the 'and' was part of a single command. I got the attached....
I have found and tested a workaround on Windows and deducted a possible one for Linux systems.
What I have done to work around this limitation on a Windows Server 2012 R2 (should work on any version that supports Junctions, even Linux with SMB/CIFS shares) is to make a folder as a symbolic link (in Windows terms: a junction) that points to the real folder (meaning the one on the file system):
Windows Server (or client) starting Windows Vista and upwards:
I haven't tried this on a Linux system, but I think it should go like this :
In Nextcloud
Tell me if the linux version works or if something needs to be changed in order to make this work until a fix is found or rather implemented into the next-Nextcloud-patch ;)
Hi Soldier, I have tried your suggestion (a version of which I tried some months back) and it didn’t work for me but maybe I’m not doing it right.
I want to map the root of my D: drive for example… which is Shared as ‘Documents’.
I created the Junction IN the root of the D: drive (having tried and failed when creating it elsewhere)
Then in ‘Admin’ – ‘External Storages’ in NextCloud, I tried to add it with the following:
Folder Name: Test
External Storage: SMB/CIFS
Authentication: Global Credentials (Set correctly below)
Configuration –
Host:
Share: Documents
Remote Subfolder:
Domain:
Available For: All Users….
Any ideas where I might be going wrong here?
I’m on the new version 11.0.3
Kind regards,
James
From: soldier9945 [mailto:[email protected]]
Sent: 26 April 2017 22:41
To: nextcloud/server server@noreply.github.com
Cc: James Draper (Jerseymail) draper@jerseymail.co.uk; Mention mention@noreply.github.com
Subject: Re: [nextcloud/server] External storage SMB/CIFS root directory does not behave as it should (#1970)
I have found and tested a workaround. I have NOT CHECKED that this workaround doesn't leave index files or other stuff lying around in the database or for photos thumbnail files, so be aware!
What I have done to work around this limitation on a Windows Server 2012 R2 (should work on any version that supports Junctions, even Linux with SMB/CIFS shares) is to make a folder as a symbolic link (in Windows terms: a junction) that points to the real folder (meaning the one on the file system):
Windows Server (or client) starting Windows Vista and upwards:
I haven't tried this on a Linux system, but I think it should go like this :
In Nextcloud
Tell me if the linux version works or if something needs to be changed in order to make this work until a fix is found or rather implemented into the next-Nextcloud-patch ;)
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://github.com/nextcloud/server/issues/1970#issuecomment-297549437, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AXhF1E8DAxvmiuvfnngG1fCxbEqNJoQwks5rz7nbgaJpZM4KmTxO.
Soldier.... sorry sorry sorry.... I didn't do the 'Remote Subfolder' bit. I have now entered it as you suggested and it appears to work!
Good work!
James
@JerseyJames Yeah, basically the workaround is making Nextcloud think there is a subfolder in the share.
Nextcloud will think it sees the file structure of that .nextcloud_workaround folder but the filesystem just redirects that to the root of the share.
Let's hope someone will find how to fix the Nextcloud External Files module.
Let's hope someone will find how to fix the Nextcloud External Files module.
cc @icewind1991
I can confirm this issue as well, can I ask if anyone is working on it or should I go back to OC?
@icewind1991 seems busy, or is not prioritizing this.
Could you check again with Nextcloud 12+, because the SMB library was updated in that version - ref https://github.com/nextcloud/server/pull/2676
I'm closing this for now. If there is still an issue with this, please reopen a new ticket and maybe refer to this one, if it is a similar problem.
@iG8R --^
Tried this with NC 12.0.5 and it still doesn't work.
Interestingly, the workaround offered above also gives the same effect even when configured correctly etc.
The problem is still present! please fix it!
If you encounter the same problem please provide the data from the issue template (dont forget the logs)
@carlox97
If you encounter the same problem please provide the data from the issue template (dont forget the logs)
As @enoch85 suggested I tried to replace "|Share.php" in /apps/files_external/3rdparty/icewind/smb/src/
and also "Share.php" in /apps/files_external/3rdparty/icewind/smb/src/Wrapped
with owncloud's, but with no effect.
SMB Share should appear in "Files" section.
SMB Share folder doens't appear in "Files" section
Operating system: Ubuntu 18.10.1
Web server: Apache2
Database: MariaDB
PHP version: 7.2.15
Nextcloud version: 15.0.5
Updated from an older Nextcloud/ownCloud or fresh install: fresh install
Where did you install Nextcloud from: github
Signing status:
Signing status
No errors have been found.
List of activated apps:
App list
Enabled:
- accessibility: 1.1.0
- activity: 2.8.2
- cloud_federation_api: 0.1.0
- comments: 1.5.0
- dav: 1.8.1
- federatedfilesharing: 1.5.0
- federation: 1.5.0
- files: 1.10.0
- files_external: 1.6.0
- files_pdfviewer: 1.4.0
- files_sharing: 1.7.0
- files_texteditor: 2.7.0
- files_trashbin: 1.5.0
- files_versions: 1.8.0
- files_videoplayer: 1.4.0
- firstrunwizard: 2.4.0
- gallery: 18.2.0
- logreader: 2.0.0
- lookup_server_connector: 1.3.0
- nextcloud_announcements: 1.4.0
- notifications: 2.3.0
- oauth2: 1.3.0
- password_policy: 1.5.0
- provisioning_api: 1.5.0
- serverinfo: 1.5.0
- sharebymail: 1.5.0
- support: 1.0.0
- survey_client: 1.3.0
- systemtags: 1.5.0
- theming: 1.6.0
- twofactor_backupcodes: 1.4.1
- updatenotification: 1.5.0
- workflowengine: 1.5.0
Disabled:
- admin_audit
- encryption
- user_ldap
Nextcloud configuration:
Config report
root@ubuntu:/var/www/html/nextcloud# sudo -u www-data php occ config:list system{
"system": {
"instanceid": "***REMOVED SENSITIVE VALUE***",
"passwordsalt": "***REMOVED SENSITIVE VALUE***",
"secret": "***REMOVED SENSITIVE VALUE***",
"trusted_domains": [
"192.168.1.194"
],
"datadirectory": "***REMOVED SENSITIVE VALUE***",
"dbtype": "mysql",
"version": "15.0.5.3",
"overwrite.cli.url": "http:\/\/192.168.1.194\/nextcloud",
"dbname": "***REMOVED SENSITIVE VALUE***",
"dbhost": "***REMOVED SENSITIVE VALUE***",
"dbport": "",
"dbtableprefix": "oc_",
"dbuser": "***REMOVED SENSITIVE VALUE***",
"dbpassword": "***REMOVED SENSITIVE VALUE***",
"installed": true
}
}
Are you using external storage, if yes which one: SMB
Are you using encryption: No
Are you using an external user-backend, if yes which one: No
Web server error log
[Sat Mar 16 13:26:33.156885 2019] [mpm_event:notice] [pid 5081:tid 139859269323712] AH00489: Apache/2.4.34 (Ubuntu) configured -- resuming normal operations
[Sat Mar 16 13:26:33.156959 2019] [core:notice] [pid 5081:tid 139859269323712] AH00094: Command line: '/usr/sbin/apache2'
[Sun Mar 17 05:37:57.727793 2019] [mpm_event:notice] [pid 5081:tid 139859269323712] AH00491: caught SIGTERM, shutting down
[Sun Mar 17 05:37:57.778223 2019] [mpm_prefork:notice] [pid 18052] AH00163: Apache/2.4.34 (Ubuntu) configured -- resuming normal operations
[Sun Mar 17 05:37:57.778294 2019] [core:notice] [pid 18052] AH00094: Command line: '/usr/sbin/apache2'
[Sun Mar 17 05:37:58.047183 2019] [mpm_prefork:notice] [pid 18052] AH00169: caught SIGTERM, shutting down
[Sun Mar 17 05:37:58.120540 2019] [mpm_prefork:notice] [pid 18137] AH00163: Apache/2.4.34 (Ubuntu) configured -- resuming normal operations
[Sun Mar 17 05:37:58.120592 2019] [core:notice] [pid 18137] AH00094: Command line: '/usr/sbin/apache2'
[Sun Mar 17 05:38:02.202288 2019] [mpm_prefork:notice] [pid 18137] AH00169: caught SIGTERM, shutting down
[Sun Mar 17 05:38:02.282440 2019] [mpm_prefork:notice] [pid 18234] AH00163: Apache/2.4.34 (Ubuntu) configured -- resuming normal operations
[Sun Mar 17 05:38:02.282480 2019] [core:notice] [pid 18234] AH00094: Command line: '/usr/sbin/apache2'
[Sun Mar 17 05:41:04.796335 2019] [mpm_prefork:notice] [pid 18234] AH00169: caught SIGTERM, shutting down
[Sun Mar 17 05:41:13.803779 2019] [mpm_prefork:notice] [pid 1052] AH00163: Apache/2.4.34 (Ubuntu) configured -- resuming normal operations
[Sun Mar 17 05:41:13.803921 2019] [core:notice] [pid 1052] AH00094: Command line: '/usr/sbin/apache2'
Nextcloud log
empty
Browser log
mkdir failed on directory /var/cache/samba: Permission denied
@enoch85 Can I do anything else? Is this problem that insignificant not to be fixed in 2 1/2 years?
@enoch85 @kesselb @icewind1991
Please, try to fix this.
@carlox97 Please try the latest version of Nextcloud and see if it works. I've heard that this issue should be fixed in Nextcloud 16.
@enoch85 I tried this with v16 rc2 a few days ago and still same issue. If I have an SMB share with a root Directory it doesn’t work at all as described in this thread. Only a directory below root works even on 16rc2
If I have an SMB share with a root Directory it doesn’t work at all
Then put the files in something else than root? At least it's a workaround.
If I have an SMB share with a root Directory it doesn’t work at all
Then put the files in something else than root? At least it's a workaround.
Then use something else except NextCloud as I did. At least it's a workaround.
@BigDogJonx @iG8R try to rename the HDD’s name to its letter (instead of the default name “volume”/“storage device” or whatever Windows assigned it). I’ve been told by a friend he is now able to mount root directory, his SMB server is on macOS though. i think it’s worth a try also on windows, I will also test it as soon as possible.
Edit: it still doesn't work for Windows SMB shares.
@BigDogJonx @iG8R try to rename the HDD’s name to its letter (instead of the default name “volume”/“storage device” or whatever Windows assigned it). I’ve been told by a friend he is now able to mount root directory, his SMB server is on macOS though. i think it’s worth a try also on windows, I will also test it as soon as possible.
My share is \computername\2TBDrive. Ive added another one in Windows as \computername\H . Still doesnt work as far as sharing that entire drive on Nextcloud. Remote Subfolder field is left blank. If I put a remote subfolder (say I have \computername\2TBDrive\Temp) then it works fine as others have stated. Ive tried the creating a symlink directory (junction in windows) and still doesnt allow the ability to share the entire drive.
@BigDogJonx @iG8R try to rename the HDD’s name to its letter (instead of the default name “volume”/“storage device” or whatever Windows assigned it). I’ve been told by a friend he is now able to mount root directory, his SMB server is on macOS though. i think it’s worth a try also on windows, I will also test it as soon as possible.
My share is \computername\2TBDrive. Ive added another one in Windows as \computername\H . Still doesnt work as far as sharing that entire drive on Nextcloud. Remote Subfolder field is left blank. If I put a remote subfolder (say I have \computername\2TBDrive\Temp) then it works fine as others have stated. Ive tried the creating a symlink directory (junction in windows) and still doesnt allow the ability to share the entire drive.
I tested it:
it still doesn't work: it's not possible to share 2TBDrive in its root directory, not even if "Local Disk" is renamed to "D"/"E"/"F"/etc.
Weird that it works from macOS (I can share HDD root folder if macOS is the SMB server) but not from Windows.
I'll stay on owncloud for now, where it perfectly works. I'm looking forward to get this fixed and switch to nextcloud. I mean, is it really something that demanding to fix?
Not fixed in 16.0.0
@enoch85 We can hope it'll be fixed one day.
@enoch85 We can hope it'll be fixed one day.
Sorry, I can't answer that since I'm not a core developer. But it seems unlikely that it won't be fixed, if it turns out to be a bug.
@enoch85 We can hope it'll be fixed one day.
Sorry, I can't answer that since I'm not a core developer. But it seems unlikely that it won't be fixed, if it turns out to be a bug.
“If”?
This is a bug, and it’s been there for almost 4 years now. LOL.
It works fine on owncloud 10.1.1.
I installed nextcloud (also beta versions) multiple times on different OSs (Ubuntu, debian, raspbian), in all cases it was necessary to share a subfolder, so that they could be mounted as SMB/CIFS shares via external storage app. this happens only with Windows SMB shares, Windows server 2016 included (it’s possible to mount macOS and Ubuntu’s SMB shared drives’ root folder).
Are there debug/log files I can attach from owncloud and nextcloud so that devs can sort this out by checking what fails?
I’m really willing to help as much as I can.
I know there is a workaround, but it’s almost 4 years now, and still not fixed? Damn... I can even put emojis in documents’ filenames now!
Afaik something changed in 11.0.4 since it was working in 11.0.3 from what I've heard. I'm not using SMB myself so I don't really know for sure.
@icewind1991 is the right person for this issue I'd say.
Also regarding:
Then use something else except NextCloud as I did. At least it's a workaround.
I'm not saying that it never will be fixed. If the issue is not solved, a workaround can be a good way to use it until the main issue is addressed properly.
Nextcloud can be used in so many other ways than through SMB, but if that's your main concern I understand your point.
@enoch85 I don't know much about smb. Can you explain how to setup a smb share with this issue?
@enoch85 I don't know much about smb. Can you explain how to setup a smb share with this issue?
@kesselb
It is required that the windows user has a password.
Thank you @carlox97 :+1:
Array
(
[0] => altname: \
[1] => create_time: Fri Jul 12 08:46:05 PM 2019 UTC
[2] => access_time: Fri Jul 12 10:03:15 PM 2019 UTC
[3] => write_time: Fri Jul 12 08:46:06 PM 2019 UTC
[4] => change_time: Fri Jul 12 08:46:06 PM 2019 UTC
[5] => attributes: HSD (16)
)
Array
(
[0] => altname: Test123
[1] => create_time: Fri Jul 12 09:18:31 PM 2019 UTC
[2] => access_time: Fri Jul 12 10:06:09 PM 2019 UTC
[3] => write_time: Fri Jul 12 09:18:31 PM 2019 UTC
[4] => change_time: Fri Jul 12 09:18:34 PM 2019 UTC
[5] => attributes: D (10)
)
The main difference between the root share and the normal share are the attributes:
Nextcloud tries to fetch the permissions for the share and the result for HSD is zero (= we cannot read this file / share). https://github.com/nextcloud/server/pull/15706 adds a flag to show hidden files. It's possible to enter the share then but not possible to see or upload any files.
@kesselb thanks for the explanation. Glad I could help!
Is it likely this problem will be addressed any time soon?
This seems fixed in v17 now. Just need to enable the "Show hidden files" checkbox on the External Storage settings for the root directory share. Finally works now! Yes! Good job Nextcloud team.
@iG8R @carlox97 does it work for you with Nextcloud 17?
@kesselb sorry, I don't use Nextcloud for the time being, maybe I'll try it somehow later.
@iG8R @carlox97 does it work for you with Nextcloud 17?
@kesselb yeah, it did work on NC 17 already and it works now on 18.
Thanks. Let's close this then.
Thanks. Let's close this then.
@kesselb
I updated to Ubuntu Server 20.04 LTS which uses PHP 7.4 by default. Installed a new instance of nextcloud 18.0.4
The SMB shares that are HDD root directories do show if "show hidden files" is enabled ( #15706 adds a flag to show hidden files) but the problem is now that they are empty. Normal SMB shares (non HDD root directories) are working normally.
Note:
on Ubuntu 20.04 LTS Server is not possible to install the package "php-smbclient", but only "smbclient" is available for install.
on Ubuntu 20.04 LTS Server is not possible to install the package "php-smbclient", but only "smbclient" is available for install.
https://github.com/nextcloud/vm/blob/master/nextcloud_install_production.sh#L434-L442
on Ubuntu 20.04 LTS Server is not possible to install the package "php-smbclient", but only "smbclient" is available for install.
https://github.com/nextcloud/vm/blob/master/nextcloud_install_production.sh#L434-L442
Thanks for pointing this out!
Do you think this problem could be related to the fact php-smbclient is not available yet on 7.4?
On 7.3 everything works perfectly.
I actually have no idea. But I installed the VM for a client, and everything checked out perfectly - using the latest VM scripts (which is now on Ubuntu 20.04). They have like 20 shares all together.
Ok. the shares that are not disks root directories work fine to me as well.
How are you two @carlox97 or @enoch85 even getting the SMB shares to work on 18.0.4? I recently installed a fresh version of it using TechandMe script (on Ubuntu 20.04) (Also tried downloading the prebuilt VMs and still same issue) and SMB shares no longer work at all. Same shares on my Nextcloud 18.0.2 VM works perfectly fine. So lost on how you two are getting it to work. I tried installing smbclient and that didnt help. The share acts like its added when I added on External Storage, but when under files you click on it, you just get an internal server error nextcloud page.
Seems like a bug in 18.0.4. please confirm: https://github.com/nextcloud/server/issues/20622#issuecomment-619412039
And this: https://help.nextcloud.com/t/unable-to-connect-to-smb-shares-on-18-0-4/79290
Thanks, guess its a bug and will have to wait. Yea the second link you posted was me reporting the issue.
This might be the reason: https://github.com/nextcloud/server/pull/20405
I installed a Nextcloud 18.0.3 instance on 20.04 LTS (PHP 7.4; smbclient instead of php-smbclient, which is not available on 7.4 yet).
Same problem: root HDD directories result empty (mounted via external storage - SMB/CIFS).
log
</details>
`{"reqId":"JdmSvTb41lWINAkcT9HT","level":3,"time":"2020-04-27T11:37:43+00:00","remoteAddr":"192.168.1.15","user":"admin","app":"PHP","method":"GET","url":"/index.php/settings/admin/externalstorages","message":"Trying to access array offset on value of type null at /var/www/nextcloud/3rdparty/leafo/scssphp/src/Compiler.php#5230","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/81.0.4044.122 Safari/537.36","version":"18.0.3.0"}
{"reqId":"9ypnDfUDhstTohc2iV8v","level":3,"time":"2020-04-27T11:40:25+00:00","remoteAddr":"192.168.1.15","user":"admin","app":"PHP","method":"POST","url":"/index.php/apps/files_external/globalstorages","message":"Invalid characters passed for attempted conversion, these have been ignored at /var/www/nextcloud/apps/files_external/3rdparty/icewind/smb/src/Wrapped/Parser.php#149","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/81.0.4044.122 Safari/537.36","version":"18.0.3.0"}
{"reqId":"VzFsnYHTeS6zZDBmq7Jp","level":3,"time":"2020-04-27T11:40:26+00:00","remoteAddr":"192.168.1.15","user":"admin","app":"PHP","method":"PROPFIND","url":"/remote.php/dav/files/admin/","message":"Invalid characters passed for attempted conversion, these have been ignored at /var/www/nextcloud/apps/files_external/3rdparty/icewind/smb/src/Wrapped/Parser.php#149","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/81.0.4044.122 Safari/537.36","version":"18.0.3.0"}
{"reqId":"d4CX8ItF5M3WNS1b1SGN","level":3,"time":"2020-04-27T11:40:27+00:00","remoteAddr":"192.168.1.15","user":"admin","app":"PHP","method":"GET","url":"/index.php/apps/files_external/userglobalstorages/1?testOnly=false","message":"Invalid characters passed for attempted conversion, these have been ignored at /var/www/nextcloud/apps/files_external/3rdparty/icewind/smb/src/Wrapped/Parser.php#149","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/81.0.4044.122 Safari/537.36","version":"18.0.3.0"}
{"reqId":"OaWat02JJExGo5AjnrrO","level":3,"time":"2020-04-27T11:40:27+00:00","remoteAddr":"192.168.1.15","user":"admin","app":"PHP","method":"PROPFIND","url":"/remote.php/dav/files/admin/SMB","message":"Invalid characters passed for attempted conversion, these have been ignored at /var/www/nextcloud/apps/files_external/3rdparty/icewind/smb/src/Wrapped/Parser.php#149","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/81.0.4044.122 Safari/537.36","version":"18.0.3.0"}
{"reqId":"rHqupFrpF7PYrFKxKMgV","level":3,"time":"2020-04-27T11:40:28+00:00","remoteAddr":"192.168.1.15","user":"admin","app":"PHP","method":"GET","url":"/index.php/apps/files/ajax/getstoragestats.php?dir=%2FSMB","message":"Invalid characters passed for attempted conversion, these have been ignored at /var/www/nextcloud/apps/files_external/3rdparty/icewind/smb/src/Wrapped/Parser.php#149","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/81.0.4044.122 Safari/537.36","version":"18.0.3.0"}
{"reqId":"ejXwJNxwuozDXU6Wrr5I","level":3,"time":"2020-04-27T11:40:30+00:00","remoteAddr":"192.168.1.15","user":"admin","app":"PHP","method":"PROPFIND","url":"/remote.php/dav/files/admin/SMB","message":"Invalid characters passed for attempted conversion, these have been ignored at /var/www/nextcloud/apps/files_external/3rdparty/icewind/smb/src/Wrapped/Parser.php#149","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/81.0.4044.122 Safari/537.36","version":"18.0.3.0"}
{"reqId":"f21uUncqlw523SPSOD4x","level":3,"time":"2020-04-27T11:40:31+00:00","remoteAddr":"192.168.1.15","user":"admin","app":"PHP","method":"GET","url":"/index.php/apps/files/ajax/getstoragestats.php?dir=%2FSMB","message":"Invalid characters passed for attempted conversion, these have been ignored at /var/www/nextcloud/apps/files_external/3rdparty/icewind/smb/src/Wrapped/Parser.php#149","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/81.0.4044.122 Safari/537.36","version":"18.0.3.0"}
{"reqId":"avamvWcfeCay6DohK5r7","level":3,"time":"2020-04-27T11:40:31+00:00","remoteAddr":"192.168.1.15","user":"admin","app":"PHP","method":"PROPFIND","url":"/remote.php/dav/files/admin/SMB","message":"Invalid characters passed for attempted conversion, these have been ignored at /var/www/nextcloud/apps/files_external/3rdparty/icewind/smb/src/Wrapped/Parser.php#149","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/81.0.4044.122 Safari/537.36","version":"18.0.3.0"}
{"reqId":"vyA6tcF551TK4vlZrdlM","level":3,"time":"2020-04-27T11:40:32+00:00","remoteAddr":"192.168.1.15","user":"admin","app":"PHP","method":"GET","url":"/index.php/apps/files/ajax/getstoragestats.php?dir=%2FSMB","message":"Invalid characters passed for attempted conversion, these have been ignored at /var/www/nextcloud/apps/files_external/3rdparty/icewind/smb/src/Wrapped/Parser.php#149","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/81.0.4044.122 Safari/537.36","version":"18.0.3.0"}
{"reqId":"PT3m9V5l4dVZrDqArBFT","level":3,"time":"2020-04-27T11:40:33+00:00","remoteAddr":"192.168.1.15","user":"admin","app":"PHP","method":"GET","url":"/index.php/apps/files_external/userglobalstorages/1?testOnly=false","message":"Invalid characters passed for attempted conversion, these have been ignored at /var/www/nextcloud/apps/files_external/3rdparty/icewind/smb/src/Wrapped/Parser.php#149","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/81.0.4044.122 Safari/537.36","version":"18.0.3.0"}
{"reqId":"5yU4oXev2u04Fgka6koz","level":3,"time":"2020-04-27T11:40:34+00:00","remoteAddr":"192.168.1.15","user":"admin","app":"PHP","method":"PROPFIND","url":"/remote.php/dav/files/admin/SMB","message":"Invalid characters passed for attempted conversion, these have been ignored at /var/www/nextcloud/apps/files_external/3rdparty/icewind/smb/src/Wrapped/Parser.php#149","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/81.0.4044.122 Safari/537.36","version":"18.0.3.0"}
{"reqId":"vgXsfwIQaowzQxAWxDiC","level":3,"time":"2020-04-27T11:40:34+00:00","remoteAddr":"192.168.1.15","user":"admin","app":"PHP","method":"GET","url":"/ocs/v2.php/apps/text/workspace?path=%2FSMB","message":"Invalid characters passed for attempted conversion, these have been ignored at /var/www/nextcloud/apps/files_external/3rdparty/icewind/smb/src/Wrapped/Parser.php#149","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/81.0.4044.122 Safari/537.36","version":"18.0.3.0"}
{"reqId":"APPf1MrtTI6TFLWxet56","level":3,"time":"2020-04-27T11:40:34+00:00","remoteAddr":"192.168.1.15","user":"admin","app":"PHP","method":"GET","url":"/index.php/apps/files/ajax/getstoragestats.php?dir=%2FSMB","message":"Invalid characters passed for attempted conversion, these have been ignored at /var/www/nextcloud/apps/files_external/3rdparty/icewind/smb/src/Wrapped/Parser.php#149","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/81.0.4044.122 Safari/537.36","version":"18.0.3.0"}
{"reqId":"5ycpDWYf6AjXJ7r8bfbJ","level":3,"time":"2020-04-27T11:40:37+00:00","remoteAddr":"192.168.1.15","user":"admin","app":"PHP","method":"PROPFIND","url":"/remote.php/dav/files/admin/SMB","message":"Invalid characters passed for attempted conversion, these have been ignored at /var/www/nextcloud/apps/files_external/3rdparty/icewind/smb/src/Wrapped/Parser.php#149","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/81.0.4044.122 Safari/537.36","version":"18.0.3.0"}
{"reqId":"MHzzI2Zw9nG4gK4Qctun","level":3,"time":"2020-04-27T11:40:37+00:00","remoteAddr":"192.168.1.15","user":"admin","app":"PHP","method":"GET","url":"/index.php/apps/files/ajax/getstoragestats.php?dir=%2FSMB","message":"Invalid characters passed for attempted conversion, these have been ignored at /var/www/nextcloud/apps/files_external/3rdparty/icewind/smb/src/Wrapped/Parser.php#149","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/81.0.4044.122 Safari/537.36","version":"18.0.3.0"}
{"reqId":"9edkFbCaJfnNEw4aGa6B","level":3,"time":"2020-04-27T11:40:38+00:00","remoteAddr":"192.168.1.15","user":"admin","app":"PHP","method":"GET","url":"/index.php/apps/files_external/userglobalstorages/1?testOnly=false","message":"Invalid characters passed for attempted conversion, these have been ignored at /var/www/nextcloud/apps/files_external/3rdparty/icewind/smb/src/Wrapped/Parser.php#149","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/81.0.4044.122 Safari/537.36","version":"18.0.3.0"}
{"reqId":"E5E6E7jH9UHd2GYKycvr","level":3,"time":"2020-04-27T11:40:38+00:00","remoteAddr":"192.168.1.15","user":"admin","app":"PHP","method":"GET","url":"/index.php/apps/files_external/userglobalstorages/1?testOnly=false","message":"Invalid characters passed for attempted conversion, these have been ignored at /var/www/nextcloud/apps/files_external/3rdparty/icewind/smb/src/Wrapped/Parser.php#149","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/81.0.4044.122 Safari/537.36","version":"18.0.3.0"}
{"reqId":"n8pg5jWt2zGH3sqCMX9x","level":3,"time":"2020-04-27T11:40:39+00:00","remoteAddr":"192.168.1.15","user":"admin","app":"PHP","method":"PROPFIND","url":"/remote.php/dav/files/admin/SMB","message":"Invalid characters passed for attempted conversion, these have been ignored at /var/www/nextcloud/apps/files_external/3rdparty/icewind/smb/src/Wrapped/Parser.php#149","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/81.0.4044.122 Safari/537.36","version":"18.0.3.0"}
{"reqId":"svPunLqKBTcoZAPxW7X7","level":3,"time":"2020-04-27T11:40:39+00:00","remoteAddr":"192.168.1.15","user":"admin","app":"PHP","method":"GET","url":"/ocs/v2.php/apps/text/workspace?path=%2FSMB","message":"Invalid characters passed for attempted conversion, these have been ignored at /var/www/nextcloud/apps/files_external/3rdparty/icewind/smb/src/Wrapped/Parser.php#149","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/81.0.4044.122 Safari/537.36","version":"18.0.3.0"}
{"reqId":"nLoay3QMKf4C6NHqWR3V","level":3,"time":"2020-04-27T11:40:39+00:00","remoteAddr":"192.168.1.15","user":"admin","app":"PHP","method":"GET","url":"/index.php/apps/files/ajax/getstoragestats.php?dir=%2FSMB","message":"Invalid characters passed for attempted conversion, these have been ignored at /var/www/nextcloud/apps/files_external/3rdparty/icewind/smb/src/Wrapped/Parser.php#149","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/81.0.4044.122 Safari/537.36","version":"18.0.3.0"}
{"reqId":"UrHDOwitqnBTjQySSZtj","level":3,"time":"2020-04-27T11:40:40+00:00","remoteAddr":"192.168.1.15","user":"admin","app":"PHP","method":"GET","url":"/index.php/apps/files_external/userglobalstorages/1?testOnly=false","message":"Invalid characters passed for attempted conversion, these have been ignored at /var/www/nextcloud/apps/files_external/3rdparty/icewind/smb/src/Wrapped/Parser.php#149","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/81.0.4044.122 Safari/537.36","version":"18.0.3.0"}
{"reqId":"8vmKcnP1yixOF5pUggE8","level":3,"time":"2020-04-27T11:40:41+00:00","remoteAddr":"192.168.1.15","user":"admin","app":"PHP","method":"GET","url":"/index.php/apps/files_external/userglobalstorages/1?testOnly=false","message":"Invalid characters passed for attempted conversion, these have been ignored at /var/www/nextcloud/apps/files_external/3rdparty/icewind/smb/src/Wrapped/Parser.php#149","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/81.0.4044.122 Safari/537.36","version":"18.0.3.0"}
{"reqId":"LlVZnQy28r5duUQ3APjj","level":3,"time":"2020-04-27T11:40:41+00:00","remoteAddr":"192.168.1.15","user":"admin","app":"PHP","method":"PROPFIND","url":"/remote.php/dav/files/admin/SMB","message":"Invalid characters passed for attempted conversion, these have been ignored at /var/www/nextcloud/apps/files_external/3rdparty/icewind/smb/src/Wrapped/Parser.php#149","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/81.0.4044.122 Safari/537.36","version":"18.0.3.0"}
{"reqId":"MrOmmaVrXC86Mpf2iADU","level":3,"time":"2020-04-27T11:40:41+00:00","remoteAddr":"192.168.1.15","user":"admin","app":"PHP","method":"GET","url":"/ocs/v2.php/apps/text/workspace?path=%2FSMB","message":"Invalid characters passed for attempted conversion, these have been ignored at /var/www/nextcloud/apps/files_external/3rdparty/icewind/smb/src/Wrapped/Parser.php#149","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/81.0.4044.122 Safari/537.36","version":"18.0.3.0"}
{"reqId":"MAlMgcyQUkVNVZUun0ri","level":3,"time":"2020-04-27T11:40:42+00:00","remoteAddr":"192.168.1.15","user":"admin","app":"PHP","method":"GET","url":"/index.php/apps/files/ajax/getstoragestats.php?dir=%2FSMB","message":"Invalid characters passed for attempted conversion, these have been ignored at /var/www/nextcloud/apps/files_external/3rdparty/icewind/smb/src/Wrapped/Parser.php#149","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/81.0.4044.122 Safari/537.36","version":"18.0.3.0"}
{"reqId":"bnzJfgdi0x0S2PmwtbYW","level":3,"time":"2020-04-27T11:40:43+00:00","remoteAddr":"192.168.1.15","user":"admin","app":"PHP","method":"GET","url":"/index.php/apps/files_external/userglobalstorages/1?testOnly=false","message":"Invalid characters passed for attempted conversion, these have been ignored at /var/www/nextcloud/apps/files_external/3rdparty/icewind/smb/src/Wrapped/Parser.php#149","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/81.0.4044.122 Safari/537.36","version":"18.0.3.0"}
{"reqId":"AqW8BguVw1Ptr8ie70pN","level":3,"time":"2020-04-27T11:40:43+00:00","remoteAddr":"192.168.1.15","user":"admin","app":"PHP","method":"GET","url":"/index.php/apps/files_external/userglobalstorages/1?testOnly=false","message":"Invalid characters passed for attempted conversion, these have been ignored at /var/www/nextcloud/apps/files_external/3rdparty/icewind/smb/src/Wrapped/Parser.php#149","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/81.0.4044.122 Safari/537.36","version":"18.0.3.0"}
{"reqId":"f129MEyc38Q7ur8i1LPU","level":3,"time":"2020-04-27T11:40:43+00:00","remoteAddr":"192.168.1.15","user":"admin","app":"PHP","method":"PROPFIND","url":"/remote.php/dav/files/admin/SMB","message":"Invalid characters passed for attempted conversion, these have been ignored at /var/www/nextcloud/apps/files_external/3rdparty/icewind/smb/src/Wrapped/Parser.php#149","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/81.0.4044.122 Safari/537.36","version":"18.0.3.0"}
{"reqId":"i4MWaP2sgyyEnHsuIRRy","level":3,"time":"2020-04-27T11:40:44+00:00","remoteAddr":"192.168.1.15","user":"admin","app":"PHP","method":"GET","url":"/ocs/v2.php/apps/text/workspace?path=%2FSMB","message":"Invalid characters passed for attempted conversion, these have been ignored at /var/www/nextcloud/apps/files_external/3rdparty/icewind/smb/src/Wrapped/Parser.php#149","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/81.0.4044.122 Safari/537.36","version":"18.0.3.0"}
{"reqId":"bQrwXYQTqJA3ph1C0Apy","level":3,"time":"2020-04-27T11:40:44+00:00","remoteAddr":"192.168.1.15","user":"admin","app":"PHP","method":"GET","url":"/index.php/apps/files/ajax/getstoragestats.php?dir=%2FSMB","message":"Invalid characters passed for attempted conversion, these have been ignored at /var/www/nextcloud/apps/files_external/3rdparty/icewind/smb/src/Wrapped/Parser.php#149","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/81.0.4044.122 Safari/537.36","version":"18.0.3.0"}
{"reqId":"IO2TZBGVyfVOZKxJsou6","level":3,"time":"2020-04-27T11:46:56+00:00","remoteAddr":"192.168.1.15","user":"admin","app":"PHP","method":"GET","url":"/index.php/apps/files_external/globalstorages/1?testOnly=true","message":"Invalid characters passed for attempted conversion, these have been ignored at /var/www/nextcloud/apps/files_external/3rdparty/icewind/smb/src/Wrapped/Parser.php#149","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/81.0.4044.122 Safari/537.36","version":"18.0.3.0"}
{"reqId":"8RRVTwWXDXI5aCDlGDMN","level":3,"time":"2020-04-27T11:47:00+00:00","remoteAddr":"192.168.1.15","user":"admin","app":"PHP","method":"PUT","url":"/index.php/apps/files_external/globalstorages/1","message":"Invalid characters passed for attempted conversion, these have been ignored at /var/www/nextcloud/apps/files_external/3rdparty/icewind/smb/src/Wrapped/Parser.php#149","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/81.0.4044.122 Safari/537.36","version":"18.0.3.0"}
{"reqId":"VQkc3DPg37jhYVtOCmZA","level":3,"time":"2020-04-27T11:48:15+00:00","remoteAddr":"192.168.1.15","user":"admin","app":"PHP","method":"POST","url":"/index.php/apps/files_external/globalstorages","message":"Invalid characters passed for attempted conversion, these have been ignored at /var/www/nextcloud/apps/files_external/3rdparty/icewind/smb/src/Wrapped/Parser.php#149","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/81.0.4044.122 Safari/537.36","version":"18.0.3.0"}
{"reqId":"7pOf5vxuWFdIIs3BA5TV","level":3,"time":"2020-04-27T11:48:18+00:00","remoteAddr":"192.168.1.15","user":"admin","app":"PHP","method":"PROPFIND","url":"/remote.php/dav/files/admin/","message":"Invalid characters passed for attempted conversion, these have been ignored at /var/www/nextcloud/apps/files_external/3rdparty/icewind/smb/src/Wrapped/Parser.php#149","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/81.0.4044.122 Safari/537.36","version":"18.0.3.0"}
{"reqId":"dcylBnEcwe4aXNy8XpwK","level":3,"time":"2020-04-27T11:48:19+00:00","remoteAddr":"192.168.1.15","user":"admin","app":"PHP","method":"GET","url":"/index.php/apps/files_external/userglobalstorages/2?testOnly=false","message":"Invalid characters passed for attempted conversion, these have been ignored at /var/www/nextcloud/apps/files_external/3rdparty/icewind/smb/src/Wrapped/Parser.php#149","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/81.0.4044.122 Safari/537.36","version":"18.0.3.0"}
{"reqId":"rTii9lLq5xjPhmjwq9QR","level":3,"time":"2020-04-27T11:48:20+00:00","remoteAddr":"192.168.1.15","user":"admin","app":"PHP","method":"PROPFIND","url":"/remote.php/dav/files/admin/SMB","message":"Invalid characters passed for attempted conversion, these have been ignored at /var/www/nextcloud/apps/files_external/3rdparty/icewind/smb/src/Wrapped/Parser.php#149","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/81.0.4044.122 Safari/537.36","version":"18.0.3.0"}
{"reqId":"z6EbuLEgFf7Dl6OEAuD6","level":3,"time":"2020-04-27T11:48:21+00:00","remoteAddr":"192.168.1.15","user":"admin","app":"PHP","method":"GET","url":"/index.php/apps/files/ajax/getstoragestats.php?dir=%2FSMB","message":"Invalid characters passed for attempted conversion, these have been ignored at /var/www/nextcloud/apps/files_external/3rdparty/icewind/smb/src/Wrapped/Parser.php#149","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/81.0.4044.122 Safari/537.36","version":"18.0.3.0"}
{"reqId":"0APMoFCwi3UrOROzteOE","level":3,"time":"2020-04-27T11:48:22+00:00","remoteAddr":"192.168.1.15","user":"admin","app":"PHP","method":"PROPFIND","url":"/remote.php/dav/files/admin/SMB","message":"Invalid characters passed for attempted conversion, these have been ignored at /var/www/nextcloud/apps/files_external/3rdparty/icewind/smb/src/Wrapped/Parser.php#149","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/81.0.4044.122 Safari/537.36","version":"18.0.3.0"}
{"reqId":"VhQgDFMC89Da4xO8jiDN","level":3,"time":"2020-04-27T11:48:23+00:00","remoteAddr":"192.168.1.15","user":"admin","app":"PHP","method":"GET","url":"/index.php/apps/files/ajax/getstoragestats.php?dir=%2FSMB","message":"Invalid characters passed for attempted conversion, these have been ignored at /var/www/nextcloud/apps/files_external/3rdparty/icewind/smb/src/Wrapped/Parser.php#149","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/81.0.4044.122 Safari/537.36","version":"18.0.3.0"}
{"reqId":"IAmo0vcMxrjiUx20HjNk","level":3,"time":"2020-04-27T11:48:25+00:00","remoteAddr":"192.168.1.15","user":"admin","app":"PHP","method":"GET","url":"/index.php/apps/files_external/userglobalstorages/2?testOnly=false","message":"Invalid characters passed for attempted conversion, these have been ignored at /var/www/nextcloud/apps/files_external/3rdparty/icewind/smb/src/Wrapped/Parser.php#149","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/81.0.4044.122 Safari/537.36","version":"18.0.3.0"}
{"reqId":"ev2Ib0US6sBlLahg5EZq","level":3,"time":"2020-04-27T11:48:26+00:00","remoteAddr":"192.168.1.15","user":"admin","app":"PHP","method":"PROPFIND","url":"/remote.php/dav/files/admin/SMB","message":"Invalid characters passed for attempted conversion, these have been ignored at /var/www/nextcloud/apps/files_external/3rdparty/icewind/smb/src/Wrapped/Parser.php#149","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/81.0.4044.122 Safari/537.36","version":"18.0.3.0"}
{"reqId":"7P2hyJey8nIiTnbWqZk3","level":3,"time":"2020-04-27T11:48:26+00:00","remoteAddr":"192.168.1.15","user":"admin","app":"PHP","method":"GET","url":"/ocs/v2.php/apps/text/workspace?path=%2FSMB","message":"Invalid characters passed for attempted conversion, these have been ignored at /var/www/nextcloud/apps/files_external/3rdparty/icewind/smb/src/Wrapped/Parser.php#149","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/81.0.4044.122 Safari/537.36","version":"18.0.3.0"}
{"reqId":"ulaKmgiF5Air0OxFSWFP","level":3,"time":"2020-04-27T11:48:26+00:00","remoteAddr":"192.168.1.15","user":"admin","app":"PHP","method":"GET","url":"/index.php/apps/files/ajax/getstoragestats.php?dir=%2FSMB","message":"Invalid characters passed for attempted conversion, these have been ignored at /var/www/nextcloud/apps/files_external/3rdparty/icewind/smb/src/Wrapped/Parser.php#149","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/81.0.4044.122 Safari/537.36","version":"18.0.3.0"}
{"reqId":"BeQMYk7alZjCRxkE18Dj","level":3,"time":"2020-04-27T11:48:28+00:00","remoteAddr":"192.168.1.15","user":"admin","app":"PHP","method":"PROPFIND","url":"/remote.php/dav/files/admin/SMB","message":"Invalid characters passed for attempted conversion, these have been ignored at /var/www/nextcloud/apps/files_external/3rdparty/icewind/smb/src/Wrapped/Parser.php#149","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/81.0.4044.122 Safari/537.36","version":"18.0.3.0"}
{"reqId":"wVSf036CE1VNvyX01n6m","level":3,"time":"2020-04-27T11:48:28+00:00","remoteAddr":"192.168.1.15","user":"admin","app":"PHP","method":"GET","url":"/index.php/apps/files/ajax/getstoragestats.php?dir=%2FSMB","message":"Invalid characters passed for attempted conversion, these have been ignored at /var/www/nextcloud/apps/files_external/3rdparty/icewind/smb/src/Wrapped/Parser.php#149","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/81.0.4044.122 Safari/537.36","version":"18.0.3.0"}
{"reqId":"2XwA1eDfrTHmDZKXVTDm","level":3,"time":"2020-04-27T11:48:29+00:00","remoteAddr":"192.168.1.15","user":"admin","app":"PHP","method":"GET","url":"/index.php/apps/files_external/userglobalstorages/2?testOnly=false","message":"Invalid characters passed for attempted conversion, these have been ignored at /var/www/nextcloud/apps/files_external/3rdparty/icewind/smb/src/Wrapped/Parser.php#149","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/81.0.4044.122 Safari/537.36","version":"18.0.3.0"}
{"reqId":"6jqD7cZUWDEcvKhux7d7","level":3,"time":"2020-04-27T11:48:29+00:00","remoteAddr":"192.168.1.15","user":"admin","app":"PHP","method":"GET","url":"/index.php/apps/files_external/userglobalstorages/2?testOnly=false","message":"Invalid characters passed for attempted conversion, these have been ignored at /var/www/nextcloud/apps/files_external/3rdparty/icewind/smb/src/Wrapped/Parser.php#149","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/81.0.4044.122 Safari/537.36","version":"18.0.3.0"}
{"reqId":"whZJ2u5uS6rmjheCUXFc","level":3,"time":"2020-04-27T11:48:30+00:00","remoteAddr":"192.168.1.15","user":"admin","app":"PHP","method":"PROPFIND","url":"/remote.php/dav/files/admin/SMB","message":"Invalid characters passed for attempted conversion, these have been ignored at /var/www/nextcloud/apps/files_external/3rdparty/icewind/smb/src/Wrapped/Parser.php#149","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/81.0.4044.122 Safari/537.36","version":"18.0.3.0"}
{"reqId":"31wNDWU4orc9gQNypBpP","level":3,"time":"2020-04-27T11:48:30+00:00","remoteAddr":"192.168.1.15","user":"admin","app":"PHP","method":"GET","url":"/ocs/v2.php/apps/text/workspace?path=%2FSMB","message":"Invalid characters passed for attempted conversion, these have been ignored at /var/www/nextcloud/apps/files_external/3rdparty/icewind/smb/src/Wrapped/Parser.php#149","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/81.0.4044.122 Safari/537.36","version":"18.0.3.0"}
{"reqId":"5HCwYcWTNVis3mekgUJx","level":3,"time":"2020-04-27T11:48:31+00:00","remoteAddr":"192.168.1.15","user":"admin","app":"PHP","method":"GET","url":"/index.php/apps/files/ajax/getstoragestats.php?dir=%2FSMB","message":"Invalid characters passed for attempted conversion, these have been ignored at /var/www/nextcloud/apps/files_external/3rdparty/icewind/smb/src/Wrapped/Parser.php#149","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/81.0.4044.122 Safari/537.36","version":"18.0.3.0"}
@enoch85 could you reopen this, please?
The HDD root directories (external storage - SMB; smbclient for SMB/CIFS external storage support) are listed but nextcloud shows them as empty if I open them. It's like this since 18.0.4
Most helpful comment
@kesselb
https://youtu.be/sTtZO9wuddw
It is required that the windows user has a password.