Unable to update app engine app

58 views
Skip to first unread message

Nezare Chafni

unread,
Mar 8, 2018, 3:25:04 PM3/8/18
to Google App Engine
I can't update my app engine app!!!!!!!! This happened several times since moving from the appcfg to the new SDK, and its insanely annoying. I tried everything. even sanity check debug statements. It's annoying enough to not make me wanna use app engine again.

I tried new versions, overwriting versions, skipping files, removing pyc, almost everything I can think!

Any ideas? Is this happening to anyone else?!


Ani Hatzis

unread,
Mar 8, 2018, 4:36:48 PM3/8/18
to Google App Engine
When I used App Engine SDK (appcfg) it could happen that a deployment failed, so I repeated the deployment a few minutes later. The same is with Cloud SDK (cloud app deploy). Nothing noteworthy. The new SDK has a little learning curve, but I believe it is far superior to the App Engine SDK.

However, you haven't actually explained what you tried and what exactly fails. Do you get a time-out, an error message or something? Or what environment do you use? Does your app have multiple services or just the default service? Has it worked before with cloud app deploy or is it your first attempt to deploy with the new SDK? What are your exact steps?

Since you asked for ideas: Two things that I first stumbled over as a long-time appcfg user:
  1. When you have never deployed before with the new SDK: Beside a correct gcloud initialization, login and configuration, you would also need to remove the version and the app ID from the app.yaml file. The command will complain about these two if present, but possible to miss the error I guess.
  2. If you already have used the new SDK to deploy successfully: In gcloud, have you switched to the configuration that has the correct project ID and account before you deploy? (gcloud config configurations list will show you the active configuration and properties)
If your problem persists, I suggest to ask on Stack Overflow with more details though, unless of course it turns out to be an issue specific to your account or project.

Good luck!
Ani

Nezare Chafni

unread,
Mar 8, 2018, 4:53:48 PM3/8/18
to Google App Engine
I've been using the new SDK for 6 months, nothing special, the problem started with the switch is what I'm saying. Everything succeeds, no errors, my code just never updates.

app.yaml is configured correctly, again, i've been deploying this app with the new sdk. the configuration is correct.

This is a bug on app engine's side, the update goes through successfully the code just never updates. I've tried everything.

Ani Hatzis

unread,
Mar 8, 2018, 5:23:18 PM3/8/18
to Google App Engine
Well, no, I had no such issue, but that doesn't mean anything. You could file a bug report on their public issue tracker.

All the best

Katayoon (Cloud Platform Support)

unread,
Mar 8, 2018, 8:12:57 PM3/8/18
to Google App Engine

I would like to encourage you to file a Public Issue Tracker report any time you see an unexpected behavior on the Cloud Platform as well.


You could use the “gcloud app deploy” command with the “--verbosity=debug” and also “gcloud info” with --anonymize parameter to provide us the stack trace and your information about the current gcloud environment there, so that we would be able to investigate the issue root cause efficiently.


Reply all
Reply to author
Forward
0 new messages