I wanted to try the newer version of Capistrano 3 on a new project and have been struggling with this problem for a few days now.
while running "cap production deploy" for the first time, I always got the same error (LOG :http://pastebin.com/DKvzRTc2).
Apparently, it fails to run this command "git ls-remote g...@bitbucket.org:......" on the server
I've tried everything : - forward_agent set as true with ssh key on local machine and uploaded on bitbucket - forward_agent set as false and uploaded manually the ssh key on the production server (when I run manually 'git ls-r...@bitbucket.org:......' on the server, it works perfectly.
I've already set the "user" attribute on the deploy.rb file, this doesn't fix the issue.
Thanks for the help, I'm open to any suggestion!
--
--
* You received this message because you are subscribed to the Google Groups "Capistrano" group.
* To post to this group, send email to capis...@googlegroups.com
* To unsubscribe from this group, send email to capistrano+...@googlegroups.com For more options, visit this group at http://groups.google.com/group/capistrano?hl=en
---
You received this message because you are subscribed to the Google Groups "Capistrano" group.
To unsubscribe from this group and stop receiving emails from it, send an email to capistrano+...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
You received this message because you are subscribed to a topic in the Google Groups "Capistrano" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/capistrano/S6n2L2HD9fU/unsubscribe.
To unsubscribe from this group and all its topics, send an email to capistrano+...@googlegroups.com.
Won't make a difference, your OS will ask you to unlock it if so.
Sent from my Nexus 4.
To view this discussion on the web, visit https://groups.google.com/d/msgid/capistrano/08f3f3eb-baa7-4205-9640-5f1e88dba136%40googlegroups.com.
You must first connect to the git server from your production server to be able to use agent-forwarding properly from your workstation.
--
You received this message because you are subscribed to the Google Groups "Capistrano" group.
To unsubscribe from this group and stop receiving emails from it, send an email to capistrano+...@googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/capistrano/df0700cf-20c9-420a-af44-5609fe37a001%40googlegroups.com.