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

I accidentally deleted the default Cloud Storage bucket for App Engine.

I accidentally deleted the Cloud Storage bucket that was automatically created when starting App Engine. As a result, I get an error when trying to deploy to App Engine.

I attempted to create a new bucket and specify it as an option in the deployment command as follows:

 

gcloud app deploy --bucket=gs://<new-bucket-name>

 

However, I still get the error:
"Staging bucket staging.<project-id>.appspot.com is not available."

What should I do to make the deployment work?

Solved Solved
0 2 316
1 ACCEPTED SOLUTION

Hi @smalake

Welcome to Google Cloud Community!

Try to run this command to restore the App Engine staging bucket:

gcloud beta app repair

I hope the above information is helpful.

View solution in original post

2 REPLIES 2

Hi @smalake

Welcome to Google Cloud Community!

Try to run this command to restore the App Engine staging bucket:

gcloud beta app repair

I hope the above information is helpful.

The problem was resolved successfully.

Thank you so much!