Google App Engine update or rollback not working

ぐ巨炮叔叔 提交于 2019-12-11 06:46:50

问题


I am having trouble deploying my Google app engine project. It tells me to do a rollback, so I do that and it says it succeeded... but when I redeploy it fails again!

I try changing the version of my app and update but it STILL fails with the same error message.

I tried deploying the same project to on of my other app engine applications and it works fine.

It's like I have been permanently locked out of doing updates to my app!! Has anyone experienced this before?

Here is the output from deployment.

Preparing to deploy:
    Created staging directory at: 'C:\Users\XXXXXX\AppData\Local\Temp\appcfg6042733420741259764.tmp'
    Scanning for jsp files.
    Compiling jsp files.
    Scanning files on local disk.
    Scanned 250 files.
    Scanned 500 files.
    Scanned 750 files.
    Scanned 1000 files.
    Scanned 1250 files.
    Scanned 1500 files.
    Scanned 1750 files.
    Scanned 2000 files.
    Scanned 2250 files.
    Scanned 2500 files.
    Scanned 2750 files.
    Scanned 3000 files.
    Scanned 3250 files.
    Scanned 3500 files.
    Scanned 3750 files.
    Scanned 4000 files.
    Scanned 4250 files.
    Scanned 4500 files.
    Initiating update.
com.google.appengine.tools.admin.HttpIoException: Error posting to URL: https://appengine.google.com/api/appversion/create?app_id=codeavengers&version=alpha&
409 Conflict
Another transaction by user mrwwalmsley is already in progress for app: s~codeavengers, version: alpha. That user can undo the transaction with "appcfg rollback".

回答1:


I had the same issue, I needed to migrate my application-level settings to the module/version level.

Go to the Performance section of the Application Settings page in the Admin Console, and you should see a section explaining the migration process.

I found the solution here: https://code.google.com/p/googleappengine/issues/detail?id=10021#c10




回答2:


Follow the steps given below and run command in cmd prompt:

1) Go to bin directory of SDK: F:\RD\Google App Engine\appengine-java-sdk-1.9.12\bin

2) Execute command: appcfg.cmd rollback "E:Workspace\Ankit\war"

It will ask for username and password of your gmail account and rollback the partial changes done.

And then you can again upload the project using eclipse.



来源:https://stackoverflow.com/questions/19061582/google-app-engine-update-or-rollback-not-working

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!