question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Support for cloud drivers (Google)

See original GitHub issue

What version of Laravel are you using? (nothing lower than v5.4).

5.7

is it an issue related to installation or usage ?

Usage

what is the error you are getting ?

Driver [gcs] is not supported.

Extra Info “attaching a screen shot would be very helpful”

From what I can tell, I have the Google Cloud Services driver implemented because I can the following code works:

// Testing of creating a directory 
Storage::disk('gcs')->makeDirectory($request->getRequestUri());
		
Storage::disk('gcs')->put($request->getRequestUri() . '/file.txt', 'Contents of this file.');

When I change the ‘storage_disk’ config value to ‘gcs’ and try to run php artisan config:cache the error is returned.

Do You Know A Solution For this Issue ?

Not currently. I am trying to work though the issue and would like some feedback.

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:11 (7 by maintainers)

github_iconTop GitHub Comments

1reaction
ctf0commented, Sep 27, 2018

f*ck, mmmm, i will try to do a test on my end later, btw i think there are more than a package for the gcs driver and laravel, which one r u using ?

0reactions
ctf0commented, Mar 10, 2020

i’ve tried to test with laravel v7 and no matter what package i try

i get the same error

 InvalidArgumentException 

  Driver [gcs] is not supported.

  at vendor/laravel/framework/src/Illuminate/Filesystem/FilesystemManager.php:131
    127| 
    128|         if (method_exists($this, $driverMethod)) {
    129|             return $this->{$driverMethod}($config);
    130|         } else {
  > 131|             throw new InvalidArgumentException("Driver [{$name}] is not supported.");
    132|         }
    133|     }
    134| 
    135|     /**

      +12 vendor frames 
  13  [internal]:0
      Illuminate\Foundation\Application::Illuminate\Foundation\{closure}(Object(ctf0\MediaManager\MediaManagerServiceProvider))

      +5 vendor frames 
  19  artisan:37

which shows up when i try to run artisan serve.

as this is an issue with the driver it self & not the manager, i cant provide any extra help.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Install GPU drivers | Compute Engine Documentation
If you want to use the command-line examples in this guide, do the following: Install or update to the latest version of the...
Read more >
Personal Cloud Storage & File Sharing Platform - Google
Learn about Google Drive's file sharing platform that provides a personal, secure cloud storage option to share content with other users.
Read more >
Deploy Google Drive for desktop
To learn how to use Drive for desktop, see the user Help Center. ... for desktop, you stream your Drive files directly from...
Read more >
Google Storage Driver Documentation — Apache Libcloud 3.6 ...
Driver for Google Cloud Storage. Can authenticate via standard Google Cloud methods (Service Accounts, Installed App credentials, and GCE instance service ...
Read more >
Google Cloud Storage ADO.NET Provider - CData Software
DataBind to Google Cloud Storage using standard Visual Studio wizards. Supports ADO.NET Entity Framework (EF 5 & 6), LINQ to Datasets, etc. Full...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found