Unable to find git object

36 views
Skip to first unread message

Henry Umansky

unread,
Mar 4, 2013, 9:50:52 AM3/4/13
to capis...@googlegroups.com
This is probably not a Capistrano issue, but perhaps can be fixed via Cap. I currently have two branches; develop and master. I set the develop branch to deploy to the dev server and the master branch is set to deploy to staging and production. Not exactly sure when this started happening, but whenever I commit something to the develop branch and haven't merge to master branch yet, I get the following error when I try to deploy to the dev server:

[asmobile-dev.princeton.edu] executing command
** [asmobile-dev.princeton.edu :: err] error: unable to find 2de752fb5a07bdd1577ca78a5c6dce690b13f8dc
** fatal: object 2de752fb5a07bdd1577ca78a5c6dce690b13f8dc not found
command finished in 1604ms

The command that ultimate chokes is:

* executing "if [ -d /var/local/asmobile/sites/shared/cached-copy ]; then cd /var/local/asmobile/sites/shared/cached-copy && git fetch -q origin && git fetch --tags -q origin && git reset -q --hard 2de752fb5a07bdd1577ca78a5c6dce690b13f8dc && git clean -q -d -x -f; else git clone -q g...@bitbucket.org:princeton/sites-kurogo-mobile-web.git /var/local/asmobile/sites/shared/cached-copy && cd /var/local/asmobile/sites/shared/cached-copy && git checkout -q -b deploy 2de752fb5a07bdd1577ca78a5c6dce690b13f8dc; fi"

I tried deleting the "cached-copy" folder on the server and still have the same issue. Any idea what I can do to troubleshoot this issue?

Thank you,
Henry

Lee Hambley

unread,
Mar 5, 2013, 2:56:39 AM3/5/13
to capis...@googlegroups.com
Hi Henry,

The only thing that springs to mind is that the remote cached copy's origins are wrong, or that the branch being asked for wasn't pushed, or something. Perhaps you could compare remotes, logs and refs on your local copy, the place to which you push, and your cached copy on the deploy server, if any.

--
--
* 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.



Reply all
Reply to author
Forward
0 new messages