Trying to import repository from GitLab server.
Placed the repo URL, username and password but i keep getting the same error message above, followed by "Ask your administrators to check the logs for details." (which could be nice but i'm the Administrator).
Please assist.
Noam.
Hey Noam.
What version of bitbucket are you on (if you're on server?). I remember an issue with the UI import and other git services around the 4.2.x product range, so could be the same/similar issue.
If you just need to get it moved, then it's a pretty quick few commands to move all code/tags/branches
git clone --verbose --bare https:
//olduser@oldgit/scm/OLDPROJECTNAME/oldreponame.git
git push --mirror https:
//newuser@newgit/scm/NEWPROJECTNAME/newreponame.git
CCM
I'm with the latest build (downloaded and installed yesterday).
Runs on Ubuntu 16.04.
Transferring from GitLab community server.
The method you suggested is the one i was thinking of initially but just came across this import repo tool at the end of the setup process - thought it may be nice if it works but it didn't.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Are you able to determine which version of Git is running on the Gitlab server? You need to be sure to use at least that version all through the process. We've seen issues where Git either on the client or on the destination Bitbucket that is older than the source git system. The method Craig is describing is what we do and it works well. Of course, you can set up SSH key-based auth and eliminate the need for a password if you intend to write a script to migrate many repos.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Dave,
GitLab version 10.4.1
Git version 2.14.3
We've already completed the migration and it was quite simple (i used the mirror method Craig suggested).
Many thanks! you guys are awesome!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
What method did you use? Migrating Git to Git is pretty simple. You clone the source repo then push to the destination. You will need to have created the Project (if using Server, optional in Cloud) and Repository on Bitbucket first, so that you have something to push in to.
A quick note, that this will not capture any of the wiki or issue tracker data. This only gets the repo code.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I didn't do much.
Just completed the setup and created the first project. i see the option to import git repo from a git server. it looks nice and i went to give it a try but it didn't work.
of course i can do it the conventional way (create, clone from old, commit and push to new) but i was interested to see if it works.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.