Capistrano ERROR: Repository not found

capistrano, github

Solution

I had to run:

ssh-add

to add my identity to the authentication agent.

Problem

Running `cap deploy` returns the error ``` ERROR: Repository not found. fatal: The remote end hung up unexpectedly ``` failed: "env PATH=$HOME/.rbenv/shims:$HOME/.rbenv/bin:$PATH sh -c 'if [ -d .../shared/cached-copy ]; then cd .../shared/cached-copy && git fetch -q origin && git fetch --tags -q origin && git reset -q --hard e54354271256196e54354271256196 && git clean -q -d -x -f; else git clone -q -b new_front git@github.com:myapp.git .../shared/cached-copy && cd /shared/cached-copy && git checkout -q -b deploy ced405a4d2b184ccadf844185e54354271256196; fi'" on 192.111.111.111 but when i ssh to the server and run that exact command it works. I've tried deleting the `cached-copy` and commenting `set :deploy_via, "remote_cache"` as mentioned in Cap deploy - ERROR: Repository not found but nothing works. thanks EDIT: Similar issue: https://gist.github.com/ParkinT/2432735

Original source

Related problems