Confluence: how to remove previous installs to start fresh install?

I was tasked with installing Confluence on a Linux Ubuntu 11.04 box that has Jira running (successfully).

However, I see some attempts sometime in the past by others that were made (by others) that installed an older version and a recent version of Confluence. Neither was used. My goal is to remove these older installs and install fresh.

The older version is 3.5.7 (looks like installed under /opt/confluence/ ) and the newer version install is 4.2.4 (looks like installed to /usr/local/confluence-4.2.4 ).

However (alas...) I did not know these were installed when I ran the atlassian-confluence-4.2.4.bin this morning without error; I discovered the previous installs after I ran it. However, I dont find any files with today's date (including logs).

So. What is the right way to rid this system of all installs of Confluence without disturbing Jira (so I can start again)?

Thanks,

Joe

2 answers

1 accepted

You have answered your own question correctly ;)

Since you are on a discovery mission it may well pay to check the mysql settings because there are quite a few tweaks that can/should be made to a stock mysql install that may or may not have been done.

The same might also apply to your java settings.

Hello Joe,

The best way here would be to remove the all the folders related with the old install (/opt/confluence/ and if you find another folder related also remove) and then check if there's some service running associated with this old Confluence install, you could check the services in the linux server that Confluence was installed, a simple check like this one:

#ps -aux

or also:

#service --status-all

This will depends on your Linux platform, but generally are commands like these. After you remove the folders and check that there's no Confluence service running and associated with your old install, you'll be okay.

Hope this helps.

Kind Regards,

LJ.

Thanks LJ.

I notice a directory /var/lib/mysql/confluence can I also delete that without harm?

Answering my own question: need to drop the database inside of mysql; that automatically deletes files in /var/lib/mysql/confluence

Suggest an answer

Log in or Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Kesha Thillainayagam
Posted Apr 13, 2018 in Confluence

We want to hear how your non-technical teams are using Confluence!

Hi Community! Kesha (kay-sha) from the Confluence marketing team here! Can you share stories with us on how your non-technical (think Marketing, Sales, HR, legal, etc.) teams are using Confluen...

2,896 views 27 12
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