I receive this message in my external storage addon:
“smbclient” is not installed. Mounting of “SMB / CIFS”, “SMB / CIFS using OC login” is not possible. Please ask your system administrator to install it.
I already installed this on my server.
I did a reboot, but to no avail.
ii libsmbclient:amd64 2:4.3.11+dfsg-0ubuntu0.16.04.1 amd64 shared library for communication with SMB/CIFS servers
ii python-samba 2:4.3.11+dfsg-0ubuntu0.16.04.1 amd64 Python bindings for Samba
ii samba 2:4.3.11+dfsg-0ubuntu0.16.04.1 amd64 SMB/CIFS file, print, and login server for Unix
ii samba-common 2:4.3.11+dfsg-0ubuntu0.16.04.1 all common files used by both the Samba server and client
ii samba-common-bin 2:4.3.11+dfsg-0ubuntu0.16.04.1 amd64 Samba common files used by both the server and the client
ii samba-dsdb-modules 2:4.3.11+dfsg-0ubuntu0.16.04.1 amd64 Samba Directory Services Database
ii samba-libs:amd64 2:4.3.11+dfsg-0ubuntu0.16.04.1 amd64 Samba core libraries
ii samba-vfs-modules 2:4.3.11+dfsg-0ubuntu0.16.04.1 amd64 Samba Virtual FileSystem plugins
ii smbclient 2:4.3.11+dfsg-0ubuntu0.16.04.1 amd64 command-line SMB/CIFS clients for Unix
It’s is quite embarrassing. I had referred my domain name to a different server that was also running Nextcloud. On that server I had not installed the smbclient. So it was my own stupidity, really.
this old thread ends with “with php7 it’s solved” … I have (only) php7 and this problem, so sorry I need to say, but that php7 solved this is simply not true
Hate to hijack, but do I have to connect a monitor and keyboard to enter apt-get install php-smbclient? I have tried ssh to shell into the Nextcloud Box, but it is asking for credentials and none of the credentials I set up works, neither does the ubuntu:ubuntu or the new ubuntu password I set work. I would like if at all possible to be able to add apps without having to hook up a keyboard and monitor.
Hi
I am having the same issue, is anyone using the snap or have you done a manual install of Nextcloud?
I think maybe the issue is that smb does not work with the snap?
You are using a different version of Nextcloud, a different platform. If the proposed solution here doesn’t work, it is very likely that your problem is different as well.
Closing this topic (issue solved, NC version not supported any more).