Skip to content
This repository has been archived by the owner on Nov 18, 2020. It is now read-only.

Deployment Rollback Procedure

cam156 edited this page Jul 11, 2017 · 1 revision

You deployed via cap but something went wrong and you want to revert to the previous version?

The deployment was unsuccessful

The capistrano process failed to complete successfully. Look at the messages logged to see when the error occurred.

The deploy:symlink:release ran

run roll back via cap

cap prod_new deploy:rollback

The deploy failed before the release

The latest code has not been put on the server. You should not need to roll anything back.

The deployment was successful, but the code update is not working

run roll back via cap

cap prod_new deploy:rollback
Clone this wiki locally