Upgraded confluence from ear/war to confluence standalone. Just wonder if this possible there is any road block?


Wondering if it possible to upgraded confluence from ear/war to standalone, is this possible any road blocks or gothca I should watch for?



2 answers

1 accepted

0 votes
Accepted answer

Not within Confluence - the code for the two of them is essentially the same. You can (almost) think of standalone as being "EAR/WAR installed in a Tomcat and hooked up to a database for you so you don't have to do it yourself"

You may hit some problems if you're changing the database and/or application server, but those will be environmental things, not directly Confluence itself.

This is going from EAR/WAR Confluence 5.5.3 to Standalone Confluence 5.9.4. The upgrade must be manually done. This is on a CentOS 7. These are my steps and this worked for me. I'm not responsible for yours. I hope this help who are looking for details how to upgrade. 


Database Check

  • Make sure your database Collation set to COLLATE SQL_Latin1_General_CP1_CS_AS
  • It should if you're already on version 5.5 or higher. If not, you need to fix that before going any further, see the link below from Atlassian.
  • Change database read committed snapshot.
ALTER DATABASE <databasename>

For more info: https://confluence.atlassian.com/doc/database-setup-for-sql-server-9258.html

Install & Upgrade Confluence 5.9.4 

  1. Stop current Confluence
  2. Download the standalone version
  3. FTP to the server
  4. Untar the file.

    tar -zxvf atlassian-confluence-5.9.4.tar.gz
  5. Rename it to confluence594, and move it /opt/atlassian/ 
  6. Edit server.xml file (/opt/atlassian/confluence594/conf/server.xml)
    1. change the ports to the your current ports. These are my tomcat ports I've setup on the old version, and I want to keep it the same. You could also keep the default ports number.

      HTTP Port
      Shutdown Port
      AJP Port
      Redirect Port
    2. Add the following under Context Path. Change the name to yours.

TEST: <Context path="/confluence" docBase="../confluence" debug="0" reloadable="false" useHttpOnly="true">

 6.  Edit the setenv.sh file (/opt/atlassian/confluence594/bin), Add export JAVA_HOME=/opt/java8 at the end of the line.

NOTE: Make sure you have JDK Java 8 installed and a symbolic link of java8

7.  Copy crow.properties, osuser.xml, confluence.init.propertiesseraph-config.xml??? and jtds driver from the current Confluence and paste it in the new Confluence. The files are in LIB folder for driver & classes folder for all the xml & properties.

NOTE: I'm also using crowd as my authentication. Copy the files you need for other authentication, see the link at the end from Atlassian.

8. Start the new Confluence sudo /opt/atlassian/confluence594/bin/startup.sh. It should take awhile to upgrade. 

9. To stop Confluence sudo /opt/atlassian/confluence594/bin/shutdown.sh

For more info: https://confluence.atlassian.com/doc/upgrading-confluence-manually-255363437.html

Good Luck! I hope this help.

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Feb 06, 2019 in Confluence

Try out the new editing experience

Hi team, I’m Avinoam, a product manager on Confluence Cloud, and today I’m really excited to let the Community know that all customers can now try out the new editing experience and see some of the ...

784 views 33 5
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