If you use a remote cache, perhaps the remote cache has been
corrupted; delete it; and let capistrano repopulate it.
Here's the cap task I have for that:
desc "Clear the remote cache"
task :clear_remote_cache, :roles=>[:app] do
run "rm -rf #{repository_cache}"
end
We only deploy code to app servers so you may need to scope it to
something different.
On Sat, Aug 29, 2009 at 4:01 PM, Ty<[email protected]> wrote:
>
> Guys,
>
> I have a rails deployment using capistrano. I have pushed many
> revisions. All the sudden it stopped working.
>
> I do a cap deploy, it gets to a certain point and then fails. The
> error log says the following:
>
> ** [domain :: out] 38% (568/1479) done
> ** [domain.com :: out] fatal: pack has bad object at offset 19747858:
> failed to apply delta
> ** fatal: index-pack died with error code 128
> ** [dubsubs.com :: out] fetch-pack from '[email protected]:username/
> youtube-dvr.git' failed.
> command finished
> *** [deploy:update_code] rolling back
>
> What is error code 128? How do I remove the bad object from the pack?
>
> I have been searching google, but have found nothing.
>
> Any suggestions on how to fix this would be greatly appreciated.
>
> best wishes,
>
> Ty
>
> >
>
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Capistrano" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.co.uk/group/capistrano?hl=en
-~----------~----~----~----~------~----~------~--~---