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
Community Members
Community Events
Community Groups

How can I start the Bamboo local agents automatically

Hi all,

I will explain my case so that the context can be understood.

My company over the weekend, for cost reasons, shuts down several AWS instances, including the one containing the Bamboo database. On Monday this server is turned back on but the local agents stay in the Offlline state.

I understand this status change is due to downtime.

Is there a way to extend the downtime time configured for agents?
If it is not possible, is there a way to automatically activate them without having to access the Bamboo console?

Thanks in advance.


2 answers

1 accepted

1 vote
Answer accepted

Hello @Miguel A_ Moreno

In Bamboo, local agents will be put offline after hitting 10 errors (this value is hardcoded), so once your database is offline, there will be no easy way to recover from the errors.

Ideally, it would be better if you could also shut down Bamboo before your DB server is put down, and start Bamboo only when it is back. This will allow you a seamless recovery of your previous state and also prevent further application/db sync issues.

Depending on what version of Bamboo you are running, you can also use the REST API to issue certain agent online/offline commands.

For example:

It is also recommended that you consider using Remote Agents as they are resilient and can survive a Bamboo Server outage.



Eduardo Alvarenga
Atlassian Support APAC

Hello @Eduardo Alvarenga 


Thank you very much for your answer. It seems to me that the most logical option is to shut down the Bamboo server.



I had a similar problem. Any idea where the local agent path on the server?

Suggest an answer

Log in or Sign up to answer
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...

965 views 3 8
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