Special thanks to Catch Media for commissioning this extra.
This package includes a custom Flysystem Driver and MODX Media Source implementation to provide access and standard file management features for Google Drive.
A media source for MODX 3.0+ to integrate your Google Drive storage.
Home Page: https://docs.modmore.com/en/Open_Source/GoogleDrive/index.html
Special thanks to Catch Media for commissioning this extra.
This package includes a custom Flysystem Driver and MODX Media Source implementation to provide access and standard file management features for Google Drive.
The documentation points to creating a new project
How would one point this to an already existing Google Drive/root folder? Is it possible?
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"
this is the error during installation.
PHP warning: file_get_contents(/www/core/components/googledrivemediasource/vendor/composer/installed.json): Failed to open stream: No such file or directory
PHP warning: file_get_contents(/www/core/components/googledrivemediasource/vendor/composer/installed.php): Failed to open stream: No such file or directory
PHP warning: file_get_contents(/www/core/components/googledrivemediasource/vendor/composer/InstalledVersions.php): Failed to open stream: No such file or directory
PHP warning: file_get_contents(/www/core/components/googledrivemediasource/vendor/composer/autoload_namespaces.php): Failed to open stream: No such file or directory
PHP warning: file_get_contents(/www/core/components/googledrivemediasource/vendor/composer/autoload_psr4.php): Failed to open stream: No such file or directory
PHP warning: file_get_contents(/www/core/components/googledrivemediasource/vendor/composer/autoload_classmap.php): Failed to open stream: No such file or directory
PHP warning: file_get_contents(/www/core/components/googledrivemediasource/vendor/composer/autoload_files.php): Failed to open stream: No such file or directory
PHP warning: file_get_contents(/www/core/components/googledrivemediasource/vendor/composer/autoload_static.php): Failed to open stream: No such file or directory
PHP warning: file_get_contents(/www/core/components/googledrivemediasource/vendor/composer/platform_check.php): Failed to open stream: No such file or directory
PHP warning: file_get_contents(/www/core/components/googledrivemediasource/vendor/autoload.php): Failed to open stream: No such file or directory
PHP warning: file_get_contents(/www/core/components/googledrivemediasource/vendor/composer/autoload_real.php): Failed to open stream: No such file or directory
And this is what I have from the error log.
[2023-03-14 02:29:23] (ERROR @ /www/core/components/googledrivemediasource/bootstrap.php : 10) Autoloader not present for Google Drive Media Source
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.