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

Hi,

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

Thanks

J

2 answers

1 accepted

This widget could not be displayed.

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 widget could not be displayed.

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. 

****ALWAYS BACKUP BEFORE UPGRADING******

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>
SET READ_COMMITTED_SNAPSHOT ON
WITH ROLLBACK IMMEDIATE;

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.

      Envir.
      HTTP Port
      Shutdown Port
      AJP Port
      Redirect Port
      TEST8082801280168544
    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 Monday in Confluence

Why start from scratch? Introducing four new templates for Confluence Cloud

Hi my Community friends!  For those who don't know me, I'm a product marketer on the Confluence Cloud team - nice to meet you! For those of you who do, you know that I've been all up in your Co...

384 views 3 6
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