Search code examples
google-cloud-platformleafletcloud-hosting

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


Solution

  • 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.