# Connect Dropbox app

**URL:** <https://help.nextcloud.com/t/connect-dropbox-app/82117>\
**Category:** ℹ️ Support\
**Tags:** external\_storage, dropbox, nc18-nextcloud-hub\
**Created:** [May 19, 2020, 2:40pm UTC](https://help.nextcloud.com/t/connect-dropbox-app/82117 "2020-05-19T14:40:14Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![Guido\_van\_Harten](https://help.nextcloud.com/user_avatar/help.nextcloud.com/guido_van_harten/32/6445_2.png) [@Guido\_van\_Harten](https://help.nextcloud.com/u/Guido_van_Harten)\
**Post date:** [May 19, 2020, 2:40pm UTC](https://help.nextcloud.com/t/connect-dropbox-app/82117/1 "2020-05-19T14:40:15Z")

</div>

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](https://apps.nextcloud.com/apps/files_external_dropbox), 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:

 ![nextcloud_20200521](https://help.nextcloud.com/uploads/default/original/3X/2/b/2bd1c32cb37580b1f2403c68119cd3112540cb7f.jpeg)

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.

Sincerely,  
Guido

---

<div class="post-metadata">

**Author:** ![devnull](https://help.nextcloud.com/user_avatar/help.nextcloud.com/devnull/32/27793_2.png) [@devnull](https://help.nextcloud.com/u/devnull)\
**Post date:** [May 24, 2020, 5:05am UTC](https://help.nextcloud.com/t/connect-dropbox-app/82117/2 "2020-05-24T05:05:33Z")

</div>

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

Sorry in german:

> [@"smbclient" ist nicht installiert](https://help.nextcloud.com/t/smbclient-ist-nicht-installiert/32925/18):
>
> Zunächst muss die App „External Storage support“ heruntergeladen und aktiviert werden. Zusätzlich wird smbclient benötigt. docker exec -i -t nextcloud-app /bin/bash apt-get update apt install libsmbclient-dev git pecl install smbclient docker-php-ext-enable smbclient exit Unter dem Pfad /etc/php//mods-available muss eine Datei smbclient.ini liegen, die die folgende Zeile enthält: extension=“smbclient.so” Ist dies nicht der Fall, muss die entsprechende Datei von Hand angelegt werden. Dan…

---

<div class="post-metadata">

**Author:** ![Guido\_van\_Harten](https://help.nextcloud.com/user_avatar/help.nextcloud.com/guido_van_harten/32/6445_2.png) [@Guido\_van\_Harten](https://help.nextcloud.com/u/Guido_van_Harten)\
**Post date:** [May 25, 2020, 12:32pm UTC](https://help.nextcloud.com/t/connect-dropbox-app/82117/3 "2020-05-25T12:32:57Z")

</div>

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,  
Guido

---

<div class="post-metadata">

**Author:** ![devnull](https://help.nextcloud.com/user_avatar/help.nextcloud.com/devnull/32/27793_2.png) [@devnull](https://help.nextcloud.com/u/devnull)\
**Post date:** [May 25, 2020, 12:35pm UTC](https://help.nextcloud.com/t/connect-dropbox-app/82117/4 "2020-05-25T12:35:08Z")

</div>

> [@"smbclient" ist nicht installiert](https://help.nextcloud.com/t/smbclient-ist-nicht-installiert/32925/18):
>
> docker

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.

---

<div class="post-metadata">

**Author:** ![Guido\_van\_Harten](https://help.nextcloud.com/user_avatar/help.nextcloud.com/guido_van_harten/32/6445_2.png) [@Guido\_van\_Harten](https://help.nextcloud.com/u/Guido_van_Harten)\
**Post date:** [May 25, 2020, 12:39pm UTC](https://help.nextcloud.com/t/connect-dropbox-app/82117/5 "2020-05-25T12:39:06Z")

</div>

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
```

---

<div class="post-metadata">

**Author:** ![devnull](https://help.nextcloud.com/user_avatar/help.nextcloud.com/devnull/32/27793_2.png) [@devnull](https://help.nextcloud.com/u/devnull)\
**Post date:** [May 25, 2020, 12:47pm UTC](https://help.nextcloud.com/t/connect-dropbox-app/82117/6 "2020-05-25T12:47:43Z")

</div>

> [@Guido\_van\_Harten](#):
>
> php-smbclient

In this installation guide you can read:

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

[https://english.c-rieger.de/nextcloud-installation-guide-ubuntu-20-04/](https://english.c-rieger.de/nextcloud-installation-guide-ubuntu-20-04/)

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

[https://packages.ubuntu.com/de/bionic/php/php-smbclient](https://packages.ubuntu.com/de/bionic/php/php-smbclient)

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

`cd /etc/apt/sources.list.d`  
`echo "deb [arch=amd64] http://ppa.launchpad.net/ondrej/php/ubuntu $(lsb_release -cs) main" | tee php.list`

[https://english.c-rieger.de/nextcloud-installation-guide-ubuntu-20-04/](https://english.c-rieger.de/nextcloud-installation-guide-ubuntu-20-04/)

Perhaps read the full manual.

**Debian vs. Ubuntu**

On Debian Buster GNU/Linux you can use

`apt-get install php-smbclient`

> **[Debian -- Informationen über Paket php-smbclient in buster](https://packages.debian.org/de/buster/php-smbclient)**
>
> PHP wrapper for libsmbclient

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

---

<div class="post-metadata">

**Author:** ![wwe](https://help.nextcloud.com/user_avatar/help.nextcloud.com/wwe/32/72963_2.png) [@wwe](https://help.nextcloud.com/u/wwe)\
**Post date:** [December 12, 2024, 6:59am UTC](https://help.nextcloud.com/t/connect-dropbox-app/82117/7 "2024-12-12T06:59:03Z")

</div>



---

<div class="post-metadata">

**Author:** ![wwe](https://help.nextcloud.com/user_avatar/help.nextcloud.com/wwe/32/72963_2.png) [@wwe](https://help.nextcloud.com/u/wwe)\
**Post date:** [December 12, 2024, 6:59am UTC](https://help.nextcloud.com/t/connect-dropbox-app/82117/8 "2024-12-12T06:59:05Z")

</div>


