Connect Dropbox app

I am building a Nextcloud server on Ubuntu 20.04 Server. In itself it runs well. Now I want to configure Dropbox in it. I found a tutorial, but I am not able to configure it well. So I will do something wrong somewhere.
The fourth point mentioned is to enter a URL in the Dropbox API screen for global storages and for user storages. However, I see only one input option and no separate option for global or user storage.

In Nextcloud I see the message that smbclient is not installed, but that is not correct:

# apt install smbclient
Reading package lists ... Done
Building dependency tree
Reading state information ... Done
smbclient is already the newest version (2: 4.11.6 + dfsg-0ubuntu1.1).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

Below that, according to the tutorial, I should configure the external storage, but it is not clear to me where to enter what:

I am therefore not asked to enter OAuth credentials.

The red symbol next to the external storage to be added indicates that something is wrong. When I move the mouse there, I see:
Exception Creating\OCA\Files_external_dropbox\Storage\Dropbox storage failed

Who can help me and tell where I am missing out?

Thank you in advance.


Perhaps you must install “php-smbclient” and perhaps configure it.

Sorry in german:

Hallo devnull, thanks for your reply. Although your direction is an German topic, thanks to Google translate, it’s clear, but…
I am not familiar with docker. I guess it is for pre-installed versions.
When I try to install it, and follow the commands of the German site, it replies (may be of course):
Error: No such container: nextcloud-app

My Nextcloud is builded using a tutorial with several commands, no docker, no snap.

Hope you can help me in another way.

Best regards,

If you do not use docker, you do not need the commands. You must install php-smbclient

apt-get install php-smbclient

and perhaps reboot. Post new or old errors.

I am running Ubuntu 20.04 LTS. The command apt-get install php-smbclient replies:

# apt install php-smbclient                           
Reading package lists... Done
Building dependency tree
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

In this installation guide you can read:

“… php-imagick php-smbclient -y …”

But there is no package for Ubuntu 20.04 LTS (Focal Fossa). What a pity.

I think you need another repository. Not tested. I use Debian GNU/Linux.

cd /etc/apt/sources.list.d
echo "deb [arch=amd64] $(lsb_release -cs) main" | tee php.list

Perhaps read the full manual.

Debian vs. Ubuntu

On Debian Buster GNU/Linux you can use

apt-get install php-smbclient

But is also not in Debian Bullseye (next release).