{"id":520,"date":"2008-08-12T08:57:49","date_gmt":"2008-08-12T12:57:49","guid":{"rendered":"http:\/\/www.dr-chuck.com\/wordpress\/?p=520"},"modified":"2011-12-17T12:27:22","modified_gmt":"2011-12-17T16:27:22","slug":"google-app-engine-rolling-back-an-update","status":"publish","type":"post","link":"https:\/\/www.dr-chuck.com\/csev-blog\/2008\/08\/google-app-engine-rolling-back-an-update\/","title":{"rendered":"Google App Engine Rolling Back an Update"},"content":{"rendered":"<p>\nIf you had an App Engine update go awry, you may need to roll it back.  You will get a message like this when  things are messed up and you try to &#8220;Deploy Application&#8221;:\n<\/p>\n<pre>\n*** Running appfg.py with the following flags:\n--no_cookies --email=acct@gmail.com --passin update\nPassword for acct@gmail.com: Scanning files on local disk.\nInitiating update.\n2008-08-12 08:51:32,117 ERROR appcfg.py:1334 An unexpected error occurred. Aborting.\nError 409: --- begin server output ---\nAnother transaction by user acct is already in progress for this app and major version. That user can undo the transaction with appcfg.py's \"rollback\" command.\n--- end server output ---\nIf deploy fails you might need to 'rollback' manually.\nThe \"Make Symlinks...\" menu option can help with command-line work.\n*** appcfg.py has finished with exit code 0 ***\n<\/pre>\n<p>\nThe solution (paths from a mac) is to running the command:\n<\/p>\n<pre>\npython \/usr\/local\/bin\/appcfg.py -verbose --no_cookies --email=acct@gmail.com --passin rollback simplelti\n<\/pre>\n<p>\n&#8220;simplelti&#8221; is the application directory &#8211; you need to run this where your application is a subdirectory.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>If you had an App Engine update go awry, you may need to roll it back. You will get a message like this when things are messed up and you try to &#8220;Deploy Application&#8221;: *** Running appfg.py with the following flags: &#8211;no_cookies &#8211;email=acct@gmail.com &#8211;passin update Password for acct@gmail.com: Scanning files on local disk. Initiating update. [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-520","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/www.dr-chuck.com\/csev-blog\/wp-json\/wp\/v2\/posts\/520","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.dr-chuck.com\/csev-blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.dr-chuck.com\/csev-blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.dr-chuck.com\/csev-blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.dr-chuck.com\/csev-blog\/wp-json\/wp\/v2\/comments?post=520"}],"version-history":[{"count":1,"href":"https:\/\/www.dr-chuck.com\/csev-blog\/wp-json\/wp\/v2\/posts\/520\/revisions"}],"predecessor-version":[{"id":2643,"href":"https:\/\/www.dr-chuck.com\/csev-blog\/wp-json\/wp\/v2\/posts\/520\/revisions\/2643"}],"wp:attachment":[{"href":"https:\/\/www.dr-chuck.com\/csev-blog\/wp-json\/wp\/v2\/media?parent=520"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.dr-chuck.com\/csev-blog\/wp-json\/wp\/v2\/categories?post=520"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.dr-chuck.com\/csev-blog\/wp-json\/wp\/v2\/tags?post=520"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}