It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

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
Answer 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
Community showcase
Published in Bamboo

Unable to add or edit Bitbucket Cloud repository in Bamboo

On 31 May, a GDPR-related change went live in the Bitbucket Cloud API that resulted in users not being able to create or edit Bitbucket Cloud Linked repositories in Bamboo. This API update removed t...

443 views 2 6
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