elfinder-flysystem-driver icon indicating copy to clipboard operation
elfinder-flysystem-driver copied to clipboard

Google Storage issues

Open paulcanning opened this issue 9 years ago • 3 comments

I am having massive problems with GCS.

I can connect to a bucket and upload files to it. I can make directories as well, but If I try to upload to a new sub folder, it fails.

If I go to my GCS console, I can see the sub folder there.

If I refresh the page with elFinder, the sub folder cannot be seen.

I think there are issues with caching maybe?

paulcanning avatar May 13 '16 16:05 paulcanning

(Linking to https://github.com/thephpleague/flysystem/issues/656)

You can try setting the cache option to false in the driver config.

barryvdh avatar May 13 '16 20:05 barryvdh

Setting cache to false does not help.

$opts = array(
    'roots' => array(
        array(
            'id' => 'test',
            'driver' => 'Flysystem',
            'alias' => 'CS Root',
            'URL' => 'https://storage.googleapis.com/MY_BUCKET/',
            'filesystem' => $this->googleCloud('MY_BUCKET'),
            'separator' => '/',
            'cache' => FALSE
        )
    )
);

paulcanning avatar May 16 '16 09:05 paulcanning

Please see my latest comment on https://github.com/thephpleague/flysystem/issues/656

paulcanning avatar May 16 '16 12:05 paulcanning