files_external_dropbox
files_external_dropbox copied to clipboard
[NC16] Button "grant access" is missing
The external storage config for dropbox does not save, and shows an exclamation (and in the web developer console it shows a 422 error).
I eventually got it working by applying the settings manually to the DB.
Adding the external storage:
insert into oc_external_mounts (`mount_point`, `storage_backend`, `auth_backend`, `priority`, `type`) values ('/DropboxV2', 'files_external_dropbox', 'oauth2::oauth2', 100, 1);
Then finding out the mount_id:
select mount_id from oc_external_mounts where mount_point = '/DropboxV2';
And finally:
insert into `oc_external_config` (`mount_id`,`key`,`value`) values (<YOUR MOUNT_ID>,'configured','true');
insert into `oc_external_config` (`mount_id`,`key`,`value`) values (<YOUR MOUNT_ID>,'client_id','<YOUR app key>');
insert into `oc_external_config` (`mount_id`,`key`,`value`) values (<YOUR MOUNT_ID>,'client_secret','<YOUR app secret>');
Do you know can you apply it to just a single user? I'm guessing it's another key in oc_external_config, but cannot find a list of available keys at the moment...
Ah ok, can assign to a user from administrator config pages...
Hmm, still exclamations for me anyway though. I'm guessing needs an update following Dropbox changes or something.
I have just the same problem. Looking forward to some updates or solutions.