LoginSignup
8
10

More than 5 years have passed since last update.

GAE で appcfg rollback

Last updated at Posted at 2013-08-20

GAE へのデプロイを途中で中断してしまったとき、もう一度やり直そうとすると以下のようなエラーが出ました。

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

中断したプロセスと新しいプロセスでコンフリクトが起こっているようです。
これを修復するためには appcfg rollback を行えと書いてあります。

調べてみると、下記のようなサイトを発見。
http://stackoverflow.com/questions/11675632/how-do-i-execute-the-command-appcfg-rollback

war フォルダを指定してこのコマンドを打つだけのようですね。

C:\eclipseJuno\plugins\com.google.appengine.eclipse.sdkbundle_1.8.3\appengine-java-sdk-1.8.3\bin>appcfg rollback "C:\ほげほげ\war"

途中でメールアドレスとパスワードを聞かれるので入力してください。

Beginning interaction for module default...
0% Rolling back the update.
Email: hogehoge@gmail.com
Password for hogehoge@gmail.com:
Success.
Cleaning up temporary files for module default...

うまくいきました。

8
10
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
8
10