How to safely restart Bamboo on a production server

How can I safely restart Bamboo on a production server? I do not want to interrupt any ongoing builds.

2 answers

1 accepted

3 votes
Accepted answer

What I always do is:

* login to Bamboo as an admin

* disable all agents

* wait for any running builds to complete. Once they are complete, no new builds can start because the agents are disabled.

* now restart Bamboo, monitoring the log

* once Bamboo is running and the log indicates it's accessible, login as admin again and enable all the agents.

Thanks Ken, this is exactly the kind of process I was looking for.

how to restart bamboo any command that we can run?

Like 1 person likes this

you should be able to restart using the following command:

/etc/init.d/bamboo restart

(hoping you are running bamboo as a service) 

1 vote

You have to wait until the builds are finished or terminate them.

Safe restart of Bamboo will be available with Bamboo 3.3 .

Hi Przemek,

Is safe restart available in 3.4 and does it mean I can restart the bamboo server without terminating builds in progress on remote agents?

Thanks

Peter

You can pause the server, but you will have to wait until all builds are finished.

Suggest an answer

Log in or Sign up to answer
Community showcase
Asked Dec 06, 2018 in Jira Ops

I'm John Allspaw, Ask Me Anything about incident analysis and postmortems

I'm John Allspaw, co-founder of   Adaptive Capacity Labs, where we help teams use their incidents to learn and improve. We bring research-driven methods and approaches to drive effective inciden...

5,570 views 22 17
View question

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