KnpLabs/KnpGaufretteBundle

The configured bucket "xxxxxxx" does not exist.

methodeprog opened this issue · 2 comments

Dear Sir,
Please help with this !

image

Services
////////////////////

app.google_cloud_storage.service:
    class: \Google_Service_Storage
    factory: [App\Google\Factory\GoogleCloudStorageServiceFactory, createService]
    arguments:
        - "%google_cloud_storage_id_key%"  #like something.iam.gserviceaccount.com
        - "%google_cloud_storage_key%"      #path to my p12 file
        - "%google_cloud_storage_secret%" #like noasecret

Vichuploader
/////////////////////

vich_uploader:
db_driver: orm
form: true
twig: true
storage: gaufrette
mappings:
front_banners:
upload_destination: web_app_folder_cloud_fs
uri_prefix: images
namer: vich_uploader.namer_origname

Gaufrette
///////////////////////

knp_gaufrette:
stream_wrapper: ~
adapters:
web_app_folder_google_storage:
google_cloud_storage:
service_id: 'app.google_cloud_storage.service'
bucket_name: 'web_app_folder'

filesystems:
    web_app_folder_cloud_fs:
        adapter:    web_app_folder_google_storage

Please help !

Hello :)

Can you give us some more details about what are you attempting to do here, what's the use case ?

Also, do you mind to post a code snippet of your controller where the error is happening ?

Thanks ;)

I use Symfony4, and i would like to use Google Cloud Storage for my platforme Storage option.
The issue come when i try to upload a file in the bucket.
Thanks : )