Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

how to rollback an interrupted deploy to GAE

I interrupted a play framework deploy to gae

I deployed it with

play gae:deploy --gae=$GAE_PATH

And press ctrl-c in the middle of it

Now, when I try to redeploy it, I get the following error:

Unable to update app: Error posting to URL: https://appengine.google.com/api/appversion/create?app_id=playdoces&version=20111007&
409 Conflict
Another transaction by user opensas is already in progress for app: s~playdoces, version: 20111007. That user can undo the transaction with "appcfg rollback".

Please see the logs [/tmp/appcfg1441845586056774629.log] for further information.

I tried with

/home/sas/devel/gae/bin/appcfg.sh rollback

but there's no such option

any idea?


In the end, I've just created another version and set it as default

But I'd like to know if there's some way to cancel the previous deploy

like image 769
opensas Avatar asked Dec 03 '22 06:12

opensas


1 Answers

it is simple as:

mvn appengine:rollback

like image 141
msangel Avatar answered Jan 14 '23 23:01

msangel