Skip to content
This repository has been archived by the owner on Jul 17, 2024. It is now read-only.

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

@fatkharrofiqi
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 subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants