Hi,
I am trying to import a git repository from Bit Bucket. It's not on git hub, or bit bucket cloud. I am using the bit bucket web gui to import:
Projects > [Project Name] > Import Repository > git repository
I am using the web interface because it handles timeouts better than 'git push'. The repository I am importing can take up to 2 hours. It has a lot of history.
I am serving out the directory where the git repo is using 'lighttpd', and then just pointing the web gui to http://server/gitrepo/, it always fails though.
The logs show:
2017-09-17 09:25:47,628 ERROR [search-indexing:thread-1] c.a.b.s.i.i.e.DefaultIndexEventWorker Indexing - Failed for repository RTIS/rtis (id: 528) with error: java.net.ConnectException: Connection refused
java.util.concurrent.ExecutionException: java.net.ConnectException: Connection refused
I don't understand the connection refused, I can browse to the URL using a web browser.
I got this working by doing:
git repack -a -f -d
Then I could import it using the web gui. I think this is a side affect of svn2git which doesn't compress repositories very well.
Join the discussion on interview best practices and common pitfalls. Share your experiences and learn from others in the Atlassian Community.
Share you experiences!Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.