Qing Zhou
Qing Zhou

Reputation: 5

Cannot restart an stopped app run on Google Cloud App Engine

I have deployed an python app on Google Cloud App Engine through GLC. Because I needed to spend a lot of time to update the code, I disabled the app in the settings under IAM & Admin in Google Cloud Console. However, after updating my code and testing it locally. I cannot find a way to redeploy the app.

I used the following command of GLC to redeployit:

glcoud app deploy

But I got the following error: Unable to deploy to application with status [USER_DISABLED]: Deploying to stopped apps is not allowed.

I then used

glcoud app create

I got the following error: ERROR: (gcloud.app.create) The project already contains an App Engine application in region [australia-southeast1]. You can deploy your application using gcloud app deploy.

Upvotes: 0

Views: 260

Answers (1)

NoCommandLine
NoCommandLine

Reputation: 6323

You need to go to https://console.cloud.google.com/appengine/settings, select the project and then click 'Enable Application'.

To disable it, use the same path and click on 'Disable Application'

enter image description here

Upvotes: 0

Related Questions