Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[NC16] Button "grant access" is missing #28

Open
sndrr opened this issue May 17, 2019 · 3 comments
Open

[NC16] Button "grant access" is missing #28

sndrr opened this issue May 17, 2019 · 3 comments

Comments

@sndrr
Copy link

sndrr commented May 17, 2019

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>');
@westy
Copy link

westy commented Jun 2, 2019

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

@westy
Copy link

westy commented Jun 2, 2019

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.

@tufu9441
Copy link

I have just the same problem. Looking forward to some updates or solutions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants