GoogleCloudPlatform / gcsfuse

A user-space file system for interacting with Google Cloud Storage

Home Page:https://cloud.google.com/storage/docs/gcs-fuse

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Files are not uploaded.

habibhaidari1 opened this issue · comments

Hello, I am trying to use the gcsfuse within my Google Cloud Run project but it does not work properly. The Objects are created in Google Cloud Storage but they are always empty. I can't see errors in the log.

Screenshot 2023-07-27 at 11 19 59

I used this line to mount the volume
gcsfuse -o rw,allow_other -file-mode=777 -dir-mode=777 --debug_http --debug_gcs --debug_fuse --implicit-dirs $BUCKET $MNT_DIR

That are the logs by the time when I add a new File to the Filesystem
Screenshot 2023-07-27 at 11 52 15

  • OS: php:8.1-fpm-alpine Docker Image
  • Platform Cloud Run
  • Version [e.g. 0.41]

SLO:
24 hrs to respond and 7 days to close the issue.

I found the issue.

thanks to sean-physna. You have to use 2nd generation runtime when running in a cloud run environment.

#1039