When we deploy project on Google App Engine and due to some error it got cancelled. It may happen if user manually cancel the deployment of project in between or due to slow network or any other reason. This leads to incomplete deployment of projects and revoke deploy from the next time as the existing deployment is in progress. Rollback is the option to undo the previous deployment that failed to complete but marked as in progress deployment.
There are two ways to solve this using rollback option of appcfg.py command.

Solution 1:-

1) Set environment variable for python

2) Place your project’s app.yaml in 

C:\Program Files(x86)\Google\google_appengine

3) Open cmd and using change the directory to 

cd C:\Program Files (x86)\Google\google_appengine

4) Run the command

python appcfg.py rollback app.yaml

5) Remove the app.yaml file from that folder after rollback as the this command uses app.yaml information when you upload the app.

Leave a Reply

Your email address will not be published. Required fields are marked *

Related Posts

Google App Engine

Channel API (Server to client communication)

Original web design allowed only one-way client-server communication. But there are some cases in which server need to communicate with browser. One way is to communicate from client to server after a fixed interval that Read more…

Google App Engine

How to get xhtml2pdf working on Google App Engine

Create folder named pdf into App Engine project folder. Copy xhtml2pdf, html5lib, reportlab folder to pdf folder. Copy six.py file to pdf folder. Create PDFHandler.py that will create the pdf file and make it to Read more…

Google App Engine

Appcfg : Download source code and logs from GAE

Appcfg :- Google SDK Command (App Engine) Download Source Code :- 1) Open Notepad and copy the following code :appcfg.py download_app -A <your_app_id> -V <your_app_version> “<output-dir>” 2) Change <your_app_id>, <your_app_version> and <output_dir> fields accordingly. You ” (quotes) for Read more…