Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Next challenges

Recent achievements

  • Global
  • Personal

Recognition

  • Give kudos
  • Received
  • Given

Leaderboard

  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

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

Bamboo Linked repository - Test Connection not working

Hi,

I've installed Bamboo v7.0.3 on Windows 10, running as a listener on http://localhost:8085

I am trying to set up a Linked Repository to Bitbucket Cloud using SSH authentication. I think I've entered the correct Bitbucket user/password & SSH private key/passphrase.

I get "We couldn't connect to the repository. The details you provided were invalid".

I looked in atlassian-bamboo.log

At first I found message "java.nio.file.FileAlreadyExistsException: C:\Bamboo\temp\bamboo-ssh.41538fd5.bat"

So I removed that file, and again tried "Test connection".

Now there is a log message "java.io.FileNotFoundException: C:\Bamboo\temp\bamboo-ssh.41538fd5.bat (Access is denied)". But the file is there again?

Help appreciated, I'm getting stuck on this.

1 answer

1 accepted

0 votes
Answer accepted
Elias Zeidan Atlassian Team May 14, 2020

Hi @ncapp,

Thank you for reaching out to the Atlassian Community! 

I'm sorry to hear that you're running into issues creating and testing a Bitbucket Cloud repository.

Given the "Access is denied" message, it seems like this may be related to the user that Bamboo is running as.

If Bamboo is running as a Service, is the Service running as a local user?

There was recently a Tomcat upgrade that included a change to the default user for Services from Local System to Local Service, which has restricted permissions. Can you try running the Service as a local user? It is our recommendation that the local user have Full Control over the Bamboo Home and Bamboo Install directories and included files.

If Bamboo is running as a process (from the console batch script), does the user running Bamboo have full control over the Bamboo Home and Bamboo Install directories?

Please let us know if you have any questions or concerns.

Cheers,

Elias | Bamboo Support

thanks for your reply Elias.

I did a full uninstall.

Before reinstalling I made sure that the home directory and install directory pre-existed, and had Full Control permission for the user running Bamboo.

Then I reinstalled Bamboo and I was able to connect to Bitbucket, "Test connection successful".

I did have a smaller issue with a plugin spitting out an error, but I fixed that by referring to this answer: https://confluence.atlassian.com/bamkb/unable-to-compile-soy-template-in-plugin-module-830283556.html

Suggest an answer

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

Bamboo 7.2 is here!

I'm happy to announce that Bamboo 7.2 has been released and it’s overflowing with awesome new features. This will be the last major Server release before the launch of Bamboo DC. Bamboo logs We...

498 views 5 7
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