gitolite-admin does not appear... yes i failed now i'm stuck ><

521 views
Skip to first unread message

Gordon

unread,
Nov 16, 2010, 2:16:50 AM11/16/10
to gito...@googlegroups.com
Hello,

I just spent all afternoon installing gitolite to my home computer so
i could save $7/mo on github cause i'm cheap. I finally got it to
install, then I stupidly "**utterly failed** to read/heed the message
that shows up at the end of running the `gl-easy-install` command."
When installing gitolite I used the name "johndoe", with the intent of
changing the admin name to my previously existing github login after
the install completed. I managed to commit and push a change to the
gitolite-admin repository once, deleting johndoe and adding "gordon"
(my name). Since then I've been unable to push, pull, or clone from
the directory, i always get "fatal: 'gitolite-admin' does not appear
to be a git repository."

I've tried reinstalling using gl-easy-install and the name "admin"
instead of "johndoe", but at the end when it tries to clone
gitolite-admin i get the same error. I've tried changing the
cygwin\ssh\config file to use identityfile ~/.ssh/gordon,
~/.ssh/johndoe (before reinstalling), and ~/.ssh/admin (after
reinstalling).

I've attached a compilation screenshot showing my last attempt to
reinstall, the current cygwin\ssh\config file at the time of
reinstall, and the last successful push of gitolite.conf.

Is there a way I can completely uninstall gitolite from the server and
start over from scratch? That would probably be best. In the end I'd
like to be able to push to it just like i push to github, using
git@my_hostname:reponame.git

Thanks for any help you can provide,
Gordon

issues.png

Sitaram Chamarty

unread,
Nov 16, 2010, 3:42:37 AM11/16/10
to Gordon, gito...@googlegroups.com
log on to the server and try the "gl-dont-panic" command.

It should be in ~/.gitolite, so

~/.gitolite/src/gl-dont-panic

should help you

--
Sitaram Chamarty
+91-40-6667-3521 (work)
+91-92462-22927 (cell)
440-3521 (TCS India VOIP)

Sitaram Chamarty

unread,
Nov 16, 2010, 4:26:28 AM11/16/10
to Gordon, gito...@googlegroups.com
On Tue, Nov 16, 2010 at 12:46 PM, Gordon <meanm...@gmail.com> wrote:

> Is there a way I can completely uninstall gitolite from the server and
> start over from scratch?  That would probably be best.  In the end I'd

http://github.com/sitaramc/gitolite/blob/pu/doc/1-INSTALL.mkd#_cleaning_out_a_botched_install

Gordon

unread,
Nov 16, 2010, 5:13:25 AM11/16/10
to Sitaram Chamarty, gito...@googlegroups.com
Thank you, gl-dont-panic did the trick :) I was also able to manage
the users like i wanted by manually going into the server's
authorized_keys files and editing it the way i wanted.

Sitaram Chamarty

unread,
Nov 16, 2010, 5:21:29 AM11/16/10
to Gordon, gito...@googlegroups.com
oh jeez if you manually edited the authkeys file I have no way of knowing what else can happen.

I hope you end the whole thing with a proper push from your client, so everything is kosher.

I take no responsibility for such fiddling otherwise :)

--

Christian MICHON

unread,
Nov 16, 2010, 7:12:52 AM11/16/10
to Gordon, gito...@googlegroups.com
On Tue, Nov 16, 2010 at 8:16 AM, Gordon <meanm...@gmail.com> wrote:
> Hello,

>
> I've tried reinstalling using gl-easy-install and the name "admin"
> instead of "johndoe", but at the end when it tries to clone
> gitolite-admin i get the same error.  I've tried changing the
> cygwin\ssh\config file to use identityfile ~/.ssh/gordon,
> ~/.ssh/johndoe (before reinstalling), and ~/.ssh/admin (after
> reinstalling).
>

please do remember that on windows/cygwin you need the 1st line of
gitolite.rc to be:
$ENV{PATH}="/bin:/usr/bin";

else the find command won't be the right one and most of your setup
will actually fail...

--
Christian
--
http://detaolb.sourceforge.net/, a linux distribution for Qemu with Git inside !

Reply all
Reply to author
Forward
0 new messages