Get hands-on experience with 20+ free Google Cloud products and $300 in free credit for new customers.

Deploy Strapi in GCloud App

Hi team i have a problem when i deploy my code strapi into the gcloud app. I don't know where went
wrong. I hope develop team can help me fix issue. Thanks very much
this is my log: 

starting build "61f0e335-0681-4e86-b789-5fd15691dd0a"

FETCHSOURCE
BUILD
Starting Step #0 - "fetch"
Step #0 - "fetch": Pulling image: eu.gcr.io/gae-runtimes/utilities/gcs-fetcher:base_20220412a_18_04_RC00
Step #0 - "fetch": base_20220412a_18_04_RC00: Pulling from gae-runtimes/utilities/gcs-fetcher
Step #0 - "fetch": 3a8245d7bc54: Pulling fs layer
Step #0 - "fetch": 3a8245d7bc54: Verifying Checksum
Step #0 - "fetch": 3a8245d7bc54: Download complete
Step #0 - "fetch": 3a8245d7bc54: Pull complete
Step #0 - "fetch": Digest: sha256:bb04047e247e8b4e662178a24d3b899a91c8d795ecd7edd7a2fa34aeb004dd3b
Step #0 - "fetch": Status: Downloaded newer image for eu.gcr.io/gae-runtimes/utilities/gcs-fetcher:base_20220412a_18_04_RC00
Step #0 - "fetch": eu.gcr.io/gae-runtimes/utilities/gcs-fetcher:base_20220412a_18_04_RC00
Step #0 - "fetch": Fetching manifest gs://staging.logi-236314.appspot.com/ae/0447b70f-badb-4a44-bb1a-75cd172b167d/manifest.json.
Step #0 - "fetch": Failed to fetch gs://staging.logi-236314.appspot.com/ae/0447b70f-badb-4a44-bb1a-75cd172b167d/manifest.json, will no longer retry: Access to bucket staging.logi-236314.appspot.com denied. You must grant Storage Object Viewer permission to 1038610670569@cloudbuild.gserviceaccount.com.
Step #0 - "fetch": Access to bucket staging.logi-236314.appspot.com denied. You must grant Storage Object Viewer permission to 1038610670569@cloudbuild.gserviceaccount.com.
Finished Step #0 - "fetch"
ERROR
ERROR: build step 0 "eu.gcr.io/gae-runtimes/utilities/gcs-fetcher:base_20220412a_18_04_RC00" failed: step exited with non-zero status: 1
0 1 636
1 REPLY 1

The error you are seeing reports that the default Cloud Build service account for your project does not have read permissions to the App Engine staging bucket. Have you made sure this account has the “Cloud Build Service Account” IAM role (which should be by default)? If so, you can try to add this service account as a principal directly in the Staging bucket for App Engine (staging.<PROJECT_ID>.appspot.com).

Top Solution Authors