Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,298,358
Community Members
 
Community Events
165
Community Groups

Error when trying to use Bitbucket Migration tool

Hi.

I'm trying to use the Bitbucket import/migration tool to import an existing Bitbucket Server repository to Bitbucket Cloud.  However I'm receiving the following error message:  Please help.image.png

 

1 answer

0 votes

Hi Laura and welcome to the community.

Based on the error in the screenshot, it looks that Bitbucket Cloud cannot reach your Bitbucket Server instance due to some issue with your proxy.

One possibility is that Bitbucket Cloud IPs are not whitelisted on your server or it could be because of some other configuration on your proxy.

You can check in this document which IPs you need to whitelist for Bitbucket Cloud, if necessary:

As a workaround, you can also migrate the repo the following way:

1. Take a mirror clone of the repo from Bitbucket Server

git clone --mirror URL_OF_BITBUCKET_SERVER_REPO

2. Create an empty repository in Bitbucket Cloud.

Make sure that the "Include .gitignore?" option in the "Create repository" page is set to "No" so that the repo is empty.

3. Then push from the mirror clone to the empty Bitbucket Cloud repo

git push --mirror URL_OF_BITBUCKET_CLOUD_REPO

Please feel free to let me know if you have any questions!

Kind regards,
Theodora

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
TAGS
Community showcase
Published in Bitbucket

Git push size limits are coming to Bitbucket Cloud starting April 4th, 2022

Beginning on April 4th, we will be implementing push limits. This means that your push cannot be completed if it is over 3.5 GB. If you do attempt to complete a push that is over 3.5 GB, it will fail...

2,229 views 2 9
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you