Google App Engine Make a rollback with appcfg.sh

后端 未结 5 1228
不思量自难忘°
不思量自难忘° 2021-02-04 22:05

I\'m trying to make a rollback due a deploy failed, my server code is on java, and also i\'m using App Engine Eclipse PlugIn for. my appcfg.sh file is located at /Applicat

5条回答
  •  梦如初夏
    2021-02-04 22:37

    For anyone else who stumbles upon this and wants more detail...

    In Terminal go to GAE-SDK-PATH/bin (where appcfg.sh is located) for instance:

    /Applications/Eclipse/plugins/com.google.appengine.eclipse.sdkbundle_1.8.3/appengine-java-sdk-1.8.3/bin

    You may not have enabled permissions with appcfg.sh, so do what @yorkw suggested if you are getting 'Permission Denied', in the bin directory type:

    chmod 755 appcfg.sh

    then to rollback type

    ./appcfg.sh --email=PROJECT_EMAIL --passin rollback ROOT_PROJECT_FOLDER/war

    You will be prompted to enter the password for the project email, and then it should work! Google doc: https://developers.google.com/appengine/docs/java/tools/uploadinganapp

提交回复
热议问题