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

0 votes
Accepted answer

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
Community showcase
Posted Tuesday in Statuspage

Introducing Statuspage Getting Started guides! First up: What is Statuspage?

Over the next several weeks we'll be sharing some of our Getting Started guides here in the community. Throughout this series of posts, we'd love to hear from customers and non-customers ab...

176 views 4 1
Join discussion

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