Help with Amazon S3 External Storage

Support intro


I’m new with NextCloud, I just installed it using the snap package and I’m trying to setup an Amazon S3 as External Storage, but when I go to set it up it tells me that smbclient is not installed, but even after I installed smbclient, it still says it’s not installed and it won’t save the Amazon S3 information.

Nextcloud version (eg, 12.0.2): 15.0.7
Operating system and version (eg, Ubuntu 17.04): Ubuntu 18.04
Apache or nginx version (eg, Apache 2.4.25): 2.4
PHP version (eg, 7.1): 7.2

The issue you are facing:

External Storage keeps saying smbclient is not installed when it is.

Is this the first time you’ve seen this error? (Y/N): Y

Steps to replicate it:

  1. Go to Apps
  2. Enable External Storage
  3. Try to add an Amazon S3 External Storage

The output of your Nextcloud log in Admin > Logging:

No Server Logs

The output of your config.php file in /path/to/nextcloud (make sure you remove any identifiable information!):


The output of your Apache/nginx/system log in /var/log/____:


The output from Settings=>External Storages

"smbclient" is not installed. Mounting of "SMB / CIFS", "SMB / CIFS using OC login" is not possible. Please ask your system administrator to install it.


Never mind, found the problem:

NextCloud was trying to “create” a bucket in Amazon S3 when there was already a bucket there for it, so all I had to do was delete the bucket and let Next Cloud create it for it to use.