Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GAE appcfg Rollback #769

Closed
joaquimcarmona opened this issue Sep 19, 2016 · 4 comments
Closed

GAE appcfg Rollback #769

joaquimcarmona opened this issue Sep 19, 2016 · 4 comments

Comments

@joaquimcarmona
Copy link

I have the same problem as described here:
https://groups.google.com/a/codenvy.com/forum/#!topic/codenvy/frIw3e9CQJ0

i.e., when deploying a GAE app I get the following error message:

09:54:13 Failed to deploy to Google App Engine due to an error: Error posting to URL: https://appengine.google.com/api/appversion/create?app_id=rede-160318&version=1& 409 Conflict Another transaction by user joaquim.carmona is already in progress for app: s~rede-160318, version: 1. That user can undo the transaction with "appcfg rollback".

I proceeded as suggested

Hi, This problem may be caused by the failed deploy process. It is possible to do an appcfg rollback in the Terminal during the project runtime with <./appcfg.sh rollback /home/user/app> command, if you have a Java project, and with <./appcfg.py rollback /home/user/app> command for the Python and PHP projects. You can run your project with Run > Run option and you'll find the Terminal in the Runner Tab.

with the following result.

160919

How should I do the rollback?

Thanks in advance.

Regards

J Carmona

@ghost
Copy link

ghost commented Sep 19, 2016

@joaquimcarmona I strongly recommend that you use beta.codenvy.com which is a new generation system. Although there's no GAE plugin there, you can perform all deployments via the command line https://eclipse-che.readme.io/docs/che-and-gae

@ghost ghost added the kind/question label Sep 19, 2016
@joaquimcarmona
Copy link
Author

Thank you for your prompt reply.

The link you sent is not for java apps... Is there one for these?

Did I do something wrong with the rollback command in the terminal window?

Regards

Joaquim Carmona

A Seg, 19 de Set de 2016, 12:38, Eugene Ivantsov notifications@github.com
escreveu:

@joaquimcarmona https://github.com/joaquimcarmona I strongly recommend
that you use beta.codenvy.com which is a new generation system. Although
there's no GAE plugin there, you can perform all deployments via the
command line https://eclipse-che.readme.io/docs/che-and-gae


You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
#769 (comment),
or mute the thread
https://github.com/notifications/unsubscribe-auth/AMXbMVmNrSij-V1WauMJbOErqC0uS2oGks5qrnQ7gaJpZM4KASX-
.

@ghost
Copy link

ghost commented Sep 23, 2016

@joaquimcarmona yes, you are executing this command in a wrong directory. Find directory with GAE SDK in /home/user

@joaquimcarmona
Copy link
Author

Thank you.

I got it to work like this:

  1. changed directory to /home/user/appengine.../bin
  2. used ./appcfg.sh --oauth2 rollback /home/user/app
  3. input id and password when requested
  4. went to the site whose address is displayed as requested and authorized access
  5. copied the code displayed back in the terminal window.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants