You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
GCP Cloud Storage Bucket with Laravel Spatie
#1373
Wanted to confirm that use the GCP storage bucket using Laravel Spatie for GCP cloud storage works as expected. Having some trouble getting images to POST based on the network request we are seeing.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Hi Community:
Wanted to confirm that use the GCP storage bucket using Laravel Spatie for GCP cloud storage works as expected. Having some trouble getting images to POST based on the network request we are seeing.
//Config below**
'storage_disk' => env('CANVAS_STORAGE_DISK', 'gcs'),
//General Storage Bucket
'gcs' => [
'driver' => 'gcs',
'key_file_path' => env('GOOGLE_CLOUD_KEY_FILE', null), // optional: /path/to/service-account.json
'project_id' => env('GOOGLE_CLOUD_PROJECT_ID', 'your-project-id'), // optional: is included in key file
'bucket' => env('GOOGLE_CLOUD_STORAGE_BUCKET', 'your-bucket'),
'path_prefix' => env('GOOGLE_CLOUD_STORAGE_PATH_PREFIX', ""), // optional: /default/path/to/apply/in/bucket
'storage_api_uri' => env('GOOGLE_CLOUD_STORAGE_API_URI', null), // see: Public URLs below
'visibility' => 'private', // optional: public|private
'metadata' => ['cacheControl' => 'public,max-age=86400'], // optional: default metadata
],
ISSUE:


Essentially the application post request to google cloud apis does not seem to be placing the file in the right path.
Video of Issue
https://app.screencast.com/dFyxElAfDPBvB
https://app.screencast.com/a1GGu1I3FpL2j
Any suggestions would be helpful.
All reactions