It is.

Unsurprisingly, I get the exact same error if I try to manually clone
the repo on my server.

On Apr 24, 3:04 am, Lee Hambley <[email protected]> wrote:
> Is your server's key on Github ( I assume is hasn't changed? )
> - Lee
>
> 2009/4/24 chris <[email protected]>
>
>
>
>
>
> > I have removed the cached-copy dir and tried to deploy again.  I am
> > now getting the following:
>
> > [li33-xx.members.linode.com] executing command
> > [li33-xx.members.linode.com :: out] ERROR: Permission to NEW_NAME/
> > my_app denied to OLD_NAME/my_app.
> > [li33-xx.members.linode.com :: out] fatal:
> > [li33-xx.members.linode.com :: out] unexpected EOF
> > [li33-xx.members.linode.com :: out] fetch-pack from
> > '[email protected]:NEW_NAME/my_app.git' failed. command finished
> > [deploy:update_code] rolling back
>
> > This looks like it may be a github issue, but I am not totally sure.
>
> > Any suggestions?
>
> > On Apr 23, 11:52 am, chris <[email protected]> wrote:
> > > Thanks for the help.  I will give this a go when I get home this
> > > evening.
>
> > > On Apr 23, 8:28 am, Lee Hambley <[email protected]> wrote:
>
> > > > Chris,
> > > > I'd honestly just try erasing the cache on the server, and taking the
> > hit of
> > > > 1 slow(er) deploy and see how you fair, the config file would suggest
> > that
> > > > it isn't specifically attached to one repository.... but you could also
> > try
> > > > `git remote show` (I think?)
>
> > > > - Lee
>
> > > > 2009/4/23 chris <[email protected]>
>
> > > > > That I am.  I have checked the .git/config files on the server, but
> > > > > the only thing in them is:
>
> > > > > [core]
> > > > >        repositoryformatversion = 0
> > > > >        filemode = true
>
> > > > > Is there another config file that I am missing?
>
> > > > > On Apr 23, 7:49 am, Giovanni Intini <[email protected]> wrote:
> > > > > > You're probably using the remote cache strategy, .git/config on the
> > > > > > server still points to the old github account.
>
> > > > > > Just manually edit it or remove the cache directory and redeploy.
>
> > > > > > Il giorno 23/apr/09, alle ore 15:27, chris <[email protected]>
> > ha
> > > > > > scritto:
>
> > > > > > > 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 [email protected]: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  [email protected]: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:
> > > > > > > [email protected]: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  [email protected]: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 <[email protected]> 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 [email protected]:
> > 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  [email protected]: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:
> > > > > > >> [email protected]: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 
[email protected]
For more options, visit this group at http://groups.google.com/group/capistrano
-~----------~----~----~----~------~----~------~--~---

Reply via email to