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)?



2 answers

1 accepted

0 votes
Answer 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,


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
Community showcase
Published Mar 12, 2019 in Confluence

Confluence Admin Certification now $150 for Community Members

More and more people are building their careers with Atlassian, and we want you to be at the front of this wave! Important Dates Start the Certification Prep Course by 2 April 2019 Take your e...

259 views 2 10
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