Dangling Repos When Moving Servers

13 views
Skip to first unread message

Ray Fong

unread,
Jul 23, 2024, 8:36:50 PM7/23/24
to gito...@googlegroups.com
Hi:

I'm moving all of my git repos to a new server. I've tried following the steps outlined here:

https://gitolite.com/gitolite/install#moving-servers

Everything seems to work except that all of my git repos (under ~/repositories) show up as dangling repos, except for testing.git.

I've also tried running:

gitolite compile
gitolite setup --hooks-only
gitolite trigger POST_COMPILE

In my gitolite.conf file, I use a wild card for access:

repo    @all
        RW+     =   ray

I've upgraded gitolite from version 3.6.6 (old server) to the latest version (v3.6.13-4-ga546e5e) on the new server.

Is there an easy way to add back my git repos for gitolite access?

Thanks.

Ray

Sitaram Chamarty

unread,
Jul 23, 2024, 8:51:49 PM7/23/24
to gitolite
[Sorry for the top-post, but for some reason your email only shows up in the web interface, not in my IMAP client!]

I'd suggest you run `gitolite list-repos` and see if it prints anything other than "testing" and "'gitolite-admin".  If it doesn't, it may be that something went wrong in step 6 (the "git push -f" from the old gitolite-admin clone to the new server).  Check the logs (~/.gitolite/logs/gitolite-2024-07.log or similar for errors).
Reply all
Reply to author
Forward
0 new messages