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

Outside of allowed scope #3

Open
elitistphoenix opened this issue Dec 4, 2023 · 3 comments
Open

Outside of allowed scope #3

elitistphoenix opened this issue Dec 4, 2023 · 3 comments

Comments

@elitistphoenix
Copy link

I go to server/manager/?a=media/browser and select the "filesystem". Setup seemed to go without issue all auth'd and user has access to shared drive. Setup the media source root to the shared drive root. Clicked it in the link above and get "Outside of allowed scope"

I saw this in the nginx logs if that helps.

2023/12/04 04:42:50 [error] 1426#1426: *255 FastCGI sent in stderr: "PHP message: PHP Fatal error: Uncaught League\Flysystem\UnableToRetrieveMetadata: Outside of allowed scope in /var/www/html/core/components/googledrivemediasource/src/Adapter/DriveAdapter.php:686 Stack trace: #0 /var/www/html/core/components/googledrivemediasource/src/Adapter/DriveAdapter.php(127): modmore\GoogleDriveMediaSource\Adapter\DriveAdapter->limitToRoot() #1 /var/www/html/core/components/googledrivemediasource/src/Adapter/DriveAdapter.php(157): modmore\GoogleDriveMediaSource\Adapter\DriveAdapter->get() #2 /var/www/html/core/components/googledrivemediasource/src/Adapter/DriveAdapter.php(550): modmore\GoogleDriveMediaSource\Adapter\DriveAdapter->list() #3 /var/www/html/core/components/googledrivemediasource/src/Model/GoogleDriveMediaSource.php(781): modmore\GoogleDriveMediaSource\Adapter\DriveAdapter->listContents() #4 /var/www/html/core/src/Revolution/Processors/Browser/Directory/GetFiles.php(46): modmore\GoogleDriveMediaSource\Model\GoogleDriveMediaSource->getObjectsInContainer() #5 /var" while reading response header from upstream, client: myip, server: server, request: "POST /connectors/index.php HTTP/2.0", upstream: "fastcgi://127.0.0.1:9000", host: "server", referrer: "https://server/manager/?a=media/browser"

@Mark-H
Copy link
Member

Mark-H commented Dec 4, 2023

Does it work if you try setting a different root in the media source settings?

@elitistphoenix
Copy link
Author

elitistphoenix commented Dec 4, 2023

I does work if I set it to "root"/the users personal drive.
And yes, I did check that the user has full access to the shared drive in the G Drive webui

@elitistphoenix
Copy link
Author

I've tried a few different things and checked more logs and I can't find anything to get it working. Any ideas?

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

2 participants