Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Linked repositories

Edited

1. I migrate bamboo and bitbucket do different machine. I installed latest version of them. In bamboo I see errors related to linked repositories. 

"Could not access this repository in Bitbucket Server

Bamboo was unable to verify connection to this repository. It might have been moved, deleted, or the current SSH key was revoked on Bitbucket Server. Click Save repository at the bottom of this screen to attempt to re-establish access to this repository."

2. When I click save I see on the top of page:
"

  • New access key is required but could not be added to Bitbucket Server.
  • com.atlassian.bamboo.executor.CancelException: C:\Program Files\Git\cmd\git.exe could not be started: command ['C:\Program Files\Git\cmd\git.exe' version] failed with code -1. Working directory was [\]. []"

3. In the log I have:

2021-12-03 09:26:30,878 INFO [http-nio-8085-exec-8] [BitbucketServerServerConfigurator] Public key was added to Bitbucket Server (Bamboo user: dbasznianin@xxx.com, application: Bitbucket [http://bitbucket.xxx.local:7990], location: repository SSC/ssc_apps): ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCxrO4KEtjVng6pIYGWqtBfUzNYY2NS02G5gIjCbeLDw4Xcc4yrv27+nG5JPgv7fJRAptD7jGK/yvKSLKrSW+S2HlCY7WLI4kBcPLHYUxIileUd6TqkfuYTdHQTsvIt9tzHSo4cEIe9tooawGGGeLfeMRKD4J9Oz71PN0QKoQXzS9tgofjr0dg6TjHZkeK6R/zJEYU3UgNPoo2lqt3n20r++ew04VDO7aE5Xa2hGifZiovSrJXwoped6SQArvfD2fP6VghDvClQj1GTg6HjedlRMhEox4Vjn/v7/NyO+kvTlAMAyR1rUiso9RHNfjJDvmn2hwjBulat70bHcOHUWmtx http://bamboo.xxx.local:8085
2021-12-03 09:26:30,891 INFO [http-nio-8085-exec-8] [BitbucketServerServerConfigurator] Can't authenticate with Bitbucket Server despite successful public key storage: ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCxrO4KEtjVng6pIYGWqtBfUzNYY2NS02G5gIjCbeLDw4Xcc4yrv27+nG5JPgv7fJRAptD7jGK/yvKSLKrSW+S2HlCY7WLI4kBcPLHYUxIileUd6TqkfuYTdHQTsvIt9tzHSo4cEIe9tooawGGGeLfeMRKD4J9Oz71PN0QKoQXzS9tgofjr0dg6TjHZkeK6R/zJEYU3UgNPoo2lqt3n20r++ew04VDO7aE5Xa2hGifZiovSrJXwoped6SQArvfD2fP6VghDvClQj1GTg6HjedlRMhEox4Vjn/v7/NyO+kvTlAMAyR1rUiso9RHNfjJDvmn2hwjBulat70bHcOHUWmtx http://bamboo.xxx.local:8085

Can anybody help with that? Thanks.

1 answer

1 accepted

1 vote
Answer accepted

I figured out what was wrong.

In "Server capabilities" section there was incorrect pat to the git.exe

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Bamboo

Bamboo Data Center on Kubernetes

Hi, If you are running self-managed environments and looking to adopt modern infrastructure, Bamboo Data Center can now be deployed in a Kubernetes cluster. By leveraging Kubernetes, you can easily...

48 views 0 3
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