Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Deleted user
0 / 0 points
badges earned

Your Points Tracker
  • Global
  • Feed

Badge for your thoughts?

You're enrolled in our new beta rewards program. Join our group to get the inside scoop and share your feedback.

Join group
Give the gift of kudos
You have 0 kudos available to give
Who do you want to recognize?
Why do you want to recognize them?
Great job appreciating your peers!
Check back soon to give more kudos.

Past Kudos Given
No kudos given
You haven't given any kudos yet. Share the love above and you'll see it here.

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 source code checkout task failing Edited

Cannot fetch branch '(unresolved) HashAndSource{refName=[null], branch=[release/February], hash=[commitid]}' from 'bitbucket url' to source directory 'bambooagentlinuxpath/bamboo_home/xml-data/build-dir/_git-repositories-cache/'. java.lang.RuntimeException: java.nio.file.FileSystemException: /tmp/bamboo-ssh.: Operation not permitted

Bamboo agents are running in Linux machines .This error occurs specifically to a particular agent

1 answer

1 accepted

0 votes
Answer accepted

Hi @sangeetha

I would check a few things first:

  1. Do you have a native GIT installation in this remote agent? If not Bamboo may be using JGIT which is more error-prone.
  2. The OS on this agent does not allow running scripts at the /tmp directory.
  3. The git cache is corrupted.

1 -
 Will require installing git and adding it as a capability.

2 -
 Will involve editing the agent configuration so it has a different temp directory that can run scripts.
For this you need:

  1. Stop the agent
  2. Edit the <Bamboo_Agent_Home>/conf/wrapper.conf to add an additional java parameter like the following line:
    ⚠️ In case the number 3 is used you will need to change it to a different number available.
  3. Start the agent again

3 - Just a removing the folder caches folder will force the agent to create a new one

  1. Stop the agent
  2. Remove the bambooagentlinuxpath/bamboo_home/xml-data/build-dir/_git-repositories-cache folder
  3. Start the agent


I hope that helps you to move forward.

Thanks Daniel. Removing the cache folder as mentioned inn step 3 worked

Like Daniel Santos likes this

That is great! I'm glad to help.

Suggest an answer

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

Bamboo 101 Video

G’day Community! As we gear up to introduce Bamboo Data Center to the world, we wanted to make sure that we shared a bit more about Bamboo, the product. Our team has put together an overview video ...

219 views 4 6
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