Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

GAE appcfg rollback not working: 409 Conflict Another transaction by user is already in progress for app:

409 Conflict Another transaction by user XXX is already in progress for app: s~YYYY version: ZZ. That user can undo the transaction with "appcfg rollback".

Uploading a new version of the app on sep 23 2013 I got a 500 error. Since then I haven't been able to create new versions, I have followed the instructions by running:

C:\tools\appengine-java-sdk-1.8.4\bin>**appcfg.cmd rollback** c:\Users\workspace-jee\WWW\war

I get:

Sep 25, 2013 8:19:28 PM com.google.apphosting.utils.config.AppEngineWebXmlReader readAppEngineWebXml
INFO: Successfully processed c:/Users/workspace-jee/WWW/war\WEB-INF/appengine-web.xml
Sep 25, 2013 8:19:28 PM com.google.apphosting.utils.config.AbstractConfigXmlReader readConfigXml
INFO: Successfully processed c:/Users/workspace-jee/WWW/war\WEB-INF/web.xml
Sep 25, 2013 8:19:28 PM com.google.apphosting.utils.config.AbstractConfigXmlReader readConfigXml
INFO: Successfully processed c:/Users/workspace-jee/WWW/war\WEB-INF/cron.xml
Sep 25, 2013 8:19:28 PM com.google.apphosting.utils.config.AbstractConfigXmlReader readConfigXml
INFO: Successfully processed c:/Users/workspace-jee/WWW/war\WEB-INF/queue.xml
Sep 25, 2013 8:19:28 PM com.google.apphosting.utils.config.IndexesXmlReader readConfigXml
INFO: Successfully processed c:/Users/workspace-jee/WWW/war\WEB-INF/datastore-indexes.xml
Sep 25, 2013 8:19:28 PM com.google.apphosting.utils.config.AbstractConfigXmlReader readConfigXml
INFO: Successfully processed c:/Users/workspace-jee/WWW/war\WEB-INF/backends.xml


Beginning interaction for module default...
0% Rolling back the update.
**Success**.
Cleaning up temporary files for module default...

However the error persists. Any ideas?

like image 931
unify Avatar asked Oct 21 '22 00:10

unify


2 Answers

"If you have any settings related to modules (< instance-class >, < automatic-scaling > etc.), please remove them, rollback the previous transaction and try deploying again."

Helps for me. Just removed "< automatic-scaling >" block and then "appcfg rollback".

like image 133
Odrin Avatar answered Oct 27 '22 10:10

Odrin


Same here. Please star this issue, since it seems to be a production problem given many of us are experiencing it: https://code.google.com/p/googleappengine/issues/detail?id=10021

like image 41
Carter Maslan Avatar answered Oct 27 '22 09:10

Carter Maslan