Capistrano: repository does not exist

Capistrano users, if you've ever updated your project's Git repository and tried to deploy, you'll see an error message similar to:

[IPADDRESS :: err] conq: repository does not exist.
[IPADDRESS :: err] fatal: The remote end hung up unexpectedly

This occurs because the cached copy points to the old repository.

To fix this, manually delete the cached-copy folder. Don't worry, it will be re-created on your next deployment.

Alex Ho

Alex is the Lead Developer at NYCEDC working as a front-end/back-end developer and sysadmin. He has a Graphic Design certification from NYU and is a UX practitioner.