Google App Engine: appcfg.py rollback

前端 未结 19 1810
误落风尘
误落风尘 2020-12-08 07:24

I\'m using Windows 7 and for the life of me I cannot figure out how to call the rollback function on appcfg.py. All I want to know is what to type into the command prompt so

相关标签:
19条回答
  • 2020-12-08 07:57
    E:\eclipse-jee-indigo-win32\eclipse\plugins\com.google.appengine.eclipse.sdkbundle_1.6.1.v201201120043r37\appengine-java-sdk-1.6.1\bin>appcfg.cmd rollback E:\AdminApp\Admin\war
    

    For Rollback Java Application

    0 讨论(0)
  • 2020-12-08 07:58

    The rollback command can rollback a transaction on the server, but you are unlikely to need to use that unless an update of your app failed for some reason. You should be getting some feedback from appcfg.py that such an action is required. Is that what you want to do? If so, just open a command prompt and type appcfg.py rollback.

    Otherwise, please let us know what you are trying to accomplish by performing a 'rollback'.

    0 讨论(0)
  • 2020-12-08 07:59

    For all those who deploy using Google App Engine Launcher, you can fix the issue by opening command prompt and python appcfg.py rollback <directory of your application>

    In my case, I have not set up Python env variable so:

    C:\Python25\python C:\Program Files\Google\Google App Engine\appcfg.py rollback C:\eclipse\applicatoin
    
    0 讨论(0)
  • 2020-12-08 08:01

    Very late to the game, but I'd like to add what worked for me in Windows XP. In a command prompt:

    C:\Python27>python C:\Progra~1\Google\google_appengine\appcfg.py rollback C:\Docume~1\myname\MyDocu~1\Projects\myproject\
    

    Python 2.7 and the short names in the Windows path were key.

    0 讨论(0)
  • 2020-12-08 08:01
    • Open dos
    • place yourself in the folder containing appcfg.cmd (bin of the GAE SDK)
    • If your application myapp resides in C:\Users\Nilesh\Documents\ then directory path should be C:\Users\Nilesh\Documents\myapp\war.

    • Now open the command prompt and type the following:

      appcfg.cmd rollback C:\Users\Nilesh\Documents\myapp\war

    Note don't forget to add 'war' at then end of your app folder

    • then enter your email and password
    0 讨论(0)
  • 2020-12-08 08:02

    In my case, I had to use the --no_cookies, without it, I had no premissions to do the operation.

    C:\Users\user_name.gradle\appengine-sdk\appengine-java-sdk-1.9.30\bin\appcfg --no_cookies --application=app_name --version=1 rollback C:\projects\android\app\backend\build\exploded-app

    0 讨论(0)
提交回复
热议问题