Flysystem based dropbox backend for Nextcloud
Requires Nextcloud 15.0 to 20.0.2
- Install the app from App Store
- Enable the app in the web interface
- Clone the source into the Nextcloud apps directory.
- Set the directory ownership according to your setup.
- Run
make
orcomposer install
within the apps directory - Enable the app by running
occ app:enable files_external_dropbox
from nextcloud main directory
- Connecting Dropbox is a little more work because you have to create a Dropbox app.
- Log into Dropbox Developers page and click Create Your App
- Then choose which folders to share, or to share everything in your Dropbox.
- Name Your App and then click Create App
- Under the section OAuth2 Redirect URIs add a new URL
For adding global storages:
https://mynextcloud.example.com/settings/admin/externalstorages
and for user storages:https://mynextcloud.example.com/settings/admin/externalstorages
(Replace `https://mynextcloud.example.com/ with your valid Nextcloud installation path) - Then go to nextcloud
settings/admin/externalstorages
and add a new storage Dropbox V2 - Fill the details Client Id, Client Secrets from your Dropbox App page (search for "App key" and "App secret")
- Click Grant Access and then you will be redirected to the OAuth login
- After completing the OAuth you will be redirect back to Storage Section and you should see green mark along your storage configuration
- To allow any user to configure his own dropbox storage, you need to ensure that relevant checkbox is setting under "Allow users to mount external storage"
This app depends on the flysystem adapter for dropbox which can be found here https://github.com/Hemant-Mann/flysystem-dropbox