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

Disk [gcs] does not have a configured driver. Laravel 7.24 #107

Open
ahmadpy888 opened this issue Dec 5, 2020 · 4 comments
Open

Disk [gcs] does not have a configured driver. Laravel 7.24 #107

ahmadpy888 opened this issue Dec 5, 2020 · 4 comments

Comments

@ahmadpy888
Copy link

hi, when i use gcs like tuttorial, i get an error "Disk [gcs] does not have a configured driver.". I use laravel 7.24 and laravel-google-cloud-storage 2.2.3.

filesystem.php
'gcs' => [ 'driver' => 'gcs', 'project_id' => env('GOOGLE_CLOUD_PROJECT_ID'), 'key_file' => env('GOOGLE_CLOUD_KEY_FILE', null), // optional: /path/to/service-account.json 'bucket' => env('GOOGLE_CLOUD_STORAGE_BUCKET'), 'path_prefix' => env('GOOGLE_CLOUD_STORAGE_PATH_PREFIX', null), // optional: /default/path/to/apply/in/bucket 'storage_api_uri' => env('GOOGLE_CLOUD_STORAGE_API_URI', null), // see: Public URLs below 'visibility' => 'public', // optional: public|private ],

@heb1k0
Copy link

heb1k0 commented Dec 11, 2020

Have you been able to solve it? i am the same

@Afatkharrofiqi
Copy link

just run php artisan config:cache, and it works for me

@praveen27091993
Copy link

Line 117 Disk [public] does not have a configured driver. Tried php artisan config:cache not working pls suggest some solution

@hms5232
Copy link

hms5232 commented Aug 2, 2023

If you in local and local doesn't has any cache, try to restart the supervisor worker. This work for me.

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

5 participants