How do I completely uninstall bamboo on linux?

Ok, so I'm new to Atlassin tools and I installed a trial version of Bamboo on our server but did it with all of the default settings. I later discovered it was desired that I install it connected to our local mysql database. Looking through the documentation there is lots of info on running the Setup Wizard but nada on how to make it rerun. I figured no problem, I'll just wack the install directory (/opt/bamboo/...) and the home directory. Then I'll do an untar again on the binaries, put in the necesary mysql connection jar file and restart. Nope. It acts like the install was fine but no setup wizard and now I've wiped the local user home directory so that is totally messed up. How do I get back to square one and start the process again?

2 answers

1 accepted

Ok well I got it to work by deleting the install and the home directories. I think the issue I was having is there is obviously some persistance in having the browser running. I never quit the browser I was using between my previous uninstall/install/restart. I'm guessing this has to do with my issue. I killed the browser in fact killed the VNC session I was connected to the server I was installing Bamboo on. Once I did this, did the reinstall and reran everthing it worked this time.

The best way i think is to just "reverse" the procedures in the installation guide:

https://confluence.atlassian.com/display/BAMBOO/Running+Bamboo+as+a+Linux+service

I'm currently into saltstack as of the moment so if i were to use salt states to uninstall it it would be like the one below:

{% set installdir = salt['pillar.get']('bamboo:installdir', '/opt/atlassian/bamboo') %}

bamboo-svc:

service.dead:

- name: bamboo

/etc/init.d/bamboo:

file.absent:

- require:

- service: bamboo

{{ installdir }}:

file.absent:

- require:

- file: /etc/init.d/bamboo

bamboo-user:

user.absent:

- name: bamboo

- require:

- file: {{ installdir }}

It worked fine on my end. :-)

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,586 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