Error message when build is triggered: bbserver not available Edited

We're getting an intermittent fault from all our build agents when they are triggered into a build. It seems to be an issue connecting to BitBucket to check out the source code. Bamboo reports the following error:

WARN [] [BuildAgentControllerImpl] Error occurred while executing the build for IRISH - IRISH - feature-INFIRISH-505-doctool-ambiguous-links-to-swagger - Default Job #2 (IRISH-IRISH141-JOB1-2)
com.atlassian.bamboo.repository.RepositoryException: Plugin com.atlassian.bamboo.plugins.stash.atlassian-bamboo-plugin-stash:bbserver not available
at com.atlassian.bamboo.variable.CustomVariableContextImpl.withVariableSubstitutor(
at com.atlassian.bamboo.utils.BambooRunnables$
at Source)

Manually rebuilding sometimes fixes the issue, and some builds start succesfully anyway. 


Any advice would be much appreciated.

2 answers

Hi Brian,

Here are some things you should check:

  • Run java -version in a command prompt from the remote agent and check if it lists the version that is compatible for Bamboo agent to run and if Bamboo remote agent is configured to use the same.
  • Confirm if you can clone the repository manually from a command prompt on the Remote-agent.

It could be that the Remote Agent is running a non-supported version of Java.  Per Checkout task fails with "bbserver not available" in build log the resolution is as follows:

Reinstall the remote agent by following the below steps.

  1. Stop the agent
  2. Install the supported version of Java for that version of Bamboo.
  3. Delete the remote agent home (to make sure everything is created again).
  4. Install the agent once again.

Run the same build in the same Remote agent.  In addition can you let me know if this is connected via an Application link?

Try that and let me know the end result.



0 vote

Hi Branden, 

The version of Java is 1.8 which I believe is supported. The fault is intermittent, Git clone works fine on the agent machine.

I have however, uninstalled and reinstalled the build agents and haven't seen the problem again today.

Regards, Brian.

Thanks for letting me know.  If this does re-occur let us know and we'll go from there.

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published May 18, 2017 in Bamboo

FAQ: How to Upgrade Bamboo Server

Bamboo 5.9 will no longer be supported after June 12, 2017. What does this mean? As part of our End of Life policy, Atlassian supports major versions for two years after the first major iteratio...

1,568 views 0 6
Read article

Atlassian User Groups

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

Find a group

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

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you