Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Google Cloud Storage - files not showing

I have over 30 Leaflet maps hosted on my Google Cloud Platform bucket (for example) and it has always been an easy process to upload my folder (which includes an html file with sub-folders including .js and .css files) and share the map publicly.

I tried uploading another map today, but within the folder there are no files showing and I get the following message "There are no live objects in this folder. If you have object versioning enabled, this folder may contain archived versions of objects, which aren't visible in the console. You can list archived object versions using gsutil or the APIs."

Does anyone know what is going on here?

enter image description here

like image 253
JohnGIS Avatar asked May 07 '18 17:05

JohnGIS


2 Answers

We have also seen this problem, and it seems that the issue is limited to buckets that have spaces in the name.

It's also not reproducible through the gcloud web console, but if you use gsutil to upload a file to a bucket with a space in the name then it won't be visible on the web UI.

I can see from your screenshot that your bucket also has spaces (%20 in the url).

If you need a workaround asap, you could rename your bucket...

But google should fix this soon, I hope.

like image 187
Kyle Fransham Avatar answered Nov 16 '22 19:11

Kyle Fransham


There is currently open issue on GCS/Console integration If files have any symbols that needs urlencoding - they are not visible in console - but accessible via gsutil/API (which is currently recommended as workaround)

Issue has been resolved as of 8-May-2018 10:00 UTC

like image 1
Alexey Maloletkin Avatar answered Nov 16 '22 20:11

Alexey Maloletkin