Chris,
The cloned repository on your server is probably still set to the old path,
which deploy strategy (:deploy_via) are you using?

Also, for the sake of the list, please gist or pastie large blocks of
output!

- Lee

2009/4/23 chris <olsen.ch...@gmail.com>

>
> Oops, a copy and past issue on the previous console output.  Here is
> the correction.
>
> $ cap deploy
>  * executing `deploy'
>  * executing `deploy:update'
>  ** transaction: start
>  * executing `deploy:update_code'
>    updating the cached checkout on all servers
>     executing locally: "git ls-remote g...@github.com:NEW_SERVER/
> app_name.git master"
>  * executing "if [ -d /var/rails/app_name/shared/cached-copy ]; then
> cd /var/rails/app_name/shared/cached-copy && git fetch  origin && git
> reset  --hard 904c8b690ea51115bbcc89dfcb24d67f6963c7b4; else git
> clone  g...@github.com:NEW_SERVER/app_name.git /var/rails/app_name/
> shared/cached-copy && cd /var/rails/app_name/shared/cached-copy && git
> checkout  -b deploy 904c8b690ea51115bbcc89dfcb24d67f6963c7b4; fi"
>    servers: ["lixx-xx.members.linode.com"]
>    [lixx-xx.members.linode.com] executing command
>  ** [lixx-xx.members.linode.com :: out] Repository not found. If
> you've just created it, please try again in a few seconds.
>  ** [lixx-xx.members.linode.com :: out] fatal: unexpected EOF
>  ** [lixx-xx.members.linode.com :: out] Fetch failure:
> g...@github.com:OLD_SERVER/app_name.git
>  ** [lixx-xx.members.linode.com :: out] Repository not found. If
> you've just created it, please try again in a few seconds.
>  ** [lixx-xx.members.linode.com :: out] fatal:
>  ** [lixx-xx.members.linode.com :: out] unexpected EOF
>  ** [lixx-xx.members.linode.com :: out]
>  ** [lixx-xx.members.linode.com :: out] Failed to find remote refs
>  ** [lixx-xx.members.linode.com :: out] fatal:
>  ** [lixx-xx.members.linode.com :: out] Needed a single revision
>  ** [lixx-xx.members.linode.com :: out]
>     command finished
> *** [deploy:update_code] rolling back
>  * executing "rm -rf /var/rails/app_name/releases/20090423131000;
> true"
>     servers: ["lixx-xx.members.linode.com"]
>    [lixx-xx.members.linode.com] executing command
>     command finished
> failed: "sh -c \"if [ -d /var/rails/app_name/shared/cached-copy ];
> then cd /var/rails/app_name/shared/cached-copy && git fetch  origin &&
> git reset  --hard 904c8b690ea51115bbcc89dfcb24d67f6963c7b4; else git
> clone  g...@github.com:NEW_SERVER/app_name.git /var/rails/app_name/
> shared/cached-copy && cd /var/rails/app_name/shared/cached-copy && git
> checkout  -b deploy 904c8b690ea51115bbcc89dfcb24d67f6963c7b4; fi\"" on
> lixx-xx.members.linode.com
>
>
>
> On Apr 23, 7:18 am, chris <olsen.ch...@gmail.com> wrote:
> > I recently renamed my github account and have been having problems
> > since.  For some reason when I run the cap deploy command the remote
> > server continues to make calls to old github address.
> >
> > The old account name no longer exists any where within the project and
> > I am able to make committals to the remote git server with no issues.
> >
> > Thanks for the help.
> >
> > $ cap deploy
> >   * executing `deploy'
> >   * executing `deploy:update'
> >  ** transaction: start
> >   * executing `deploy:update_code'
> >     updating the cached checkout on all servers
> >     executing locally: "git ls-remote g...@github.com:greenstem/
> > NEW_SERVER.git master"
> >   * executing "if [ -d /var/rails/NEW_SERVER/shared/cached-copy ];
> > then cd /var/rails/NEW_SERVER/shared/cached-copy && git fetch  origin
> > && git reset  --hard 904c8b690ea51115bbcc89dfcb24d67f6963c7b4; else
> > git clone  g...@github.com:greenstem/NEW_SERVER.git /var/rails/
> > NEW_SERVER/shared/cached-copy && cd /var/rails/NEW_SERVER/shared/
> > cached-copy && git checkout  -b deploy
> > 904c8b690ea51115bbcc89dfcb24d67f6963c7b4; fi"
> >     servers: ["lixx-xx.members.linode.com"]
> >     [lixx-xx.members.linode.com] executing command
> >  ** [lixx-xx.members.linode.com :: out] Repository not found. If
> > you've just created it, please try again in a few seconds.
> >  ** [lixx-xx.members.linode.com :: out] fatal: unexpected EOF
> >  ** [lixx-xx.members.linode.com :: out] Fetch failure:
> > g...@github.com:OLD_SERVER/NEW_SERVER.git
> >  ** [lixx-xx.members.linode.com :: out] Repository not found. If
> > you've just created it, please try again in a few seconds.
> >  ** [lixx-xx.members.linode.com :: out] fatal:
> >  ** [lixx-xx.members.linode.com :: out] unexpected EOF
> >  ** [lixx-xx.members.linode.com :: out]
> >  ** [lixx-xx.members.linode.com :: out] Failed to find remote refs
> >  ** [lixx-xx.members.linode.com :: out] fatal:
> >  ** [lixx-xx.members.linode.com :: out] Needed a single revision
> >  ** [lixx-xx.members.linode.com :: out]
> >
>

--~--~---------~--~----~------------~-------~--~----~
To unsubscribe from this group, send email to 
capistrano-unsubscr...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/capistrano
-~----------~----~----~----~------~----~------~--~---

Reply via email to