Is this the first time you’ve seen this error? Yes
When did this problem seem to first start? After enabling External Storage Support App.
Apps → Enabled External Storage Support
Administrative settings ->External Storage :
Error display - “smbclient” is not installed. Mounting of “SMB/CIFS”, “SMB/CIFS using OC login” is not possible. Please ask your system administrator to install it.
Are you using CloudfIare, mod_security, or similar? No
Sorry, but the internet is full of tutorials on this topic
If you still have problems afterwards, please feel free to contact us, but this is a Unix basic topic and not an NC problem
Thank you for the response. But I have scoured the web for days on this issue including Nextcloud topics but they all seem to point to Nextcloud itself. Also I can’t seem to find the command line/shell in Nextcloud. Thank you.
It’s quite clear that occ web cannot be installed on NC version 30 or higher. Since my installed NC version is 31.0.2 how am I going to get a command line/shell on my version of NC. Thanks
Just last month after years on TrueNas Core I clean installed TrueNas Scale (OS Version:TrueNAS-SCALE- ElectricEel-24.10.2) which I believe is using docker. I followed the usual process to install Nextcloud App. But I find it does not have shell installed unlike Nextcloud on Truenas Core. Thanks
jtr, would you suggest I reinstall NC with with new settings? I attempted to install another instance of NC but could not locate configuration for smb etc to circumvent my ongoing issue. Thanks
“full of tutorials on this topic” show me one for TrueNAS-SCALE which is installed as a docker container.
I have been fighting this issue for months.
TrueNAS Scale: Dragonfish-24.04.2.5
App Version: 31.0.0
Chart Version: 2.0.23
apt install smbclient php-smbclient
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Package php-smbclient is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
E: Package 'php-smbclient' has no installation candidate
No, because the method for enabling smbclient is via the settings in the TrueNAS Nextcloud app. That’s why it has options for smbclient, ffmpeg, etc. The app handles adding it to the image.
Couldn’t you just use the methods provided by the maintainers of the app?
Or, if for some reason these methods don’t fit your use case and you’d like to suggest a better method, feel free to open an issue here: https://github.com/truenas/apps/issues