This document describes the procedure for upgrading to the latest version of Confluence on Windows or Linux manually (not using the upgrade wizard).  See Upgrading Confluence to upgrade using the installer and upgrade wizard. 

Step 1 Determine your upgrade path and method

There are several factors that will determine the upgrade method you should use. If you:

Step 2 Upgrade Confluence in a test environment

Step 3 Back up

Step 4 Upgrade Confluence in your production environment

  1. Download the appropriate archive file from the Confluence Download Center.
  2. Shut down Confluence.
  3. Extract (unzip) the files to a directory (this will be your new installation directory, and must be different to your existing installation directory)
    Note: There are some known issues with unzipping the archive on Windows. We recommend using 7Zip or Winzip.
  4. Update the following line in the <Installation-Directory>\confluence\WEB-INF\classes\confluence-init.properties file to point to your existing Confluence home directory.

    # confluence.home=c:/confluence/data

     For example if your existing Confluence home directory is c:\confluence\myhome the file will read:

    confluence.home=c:/confluence/myhome
  5. Copy the JDBC driver jar file from your existing Confluence installation directory to  confluence/WEB-INF/lib in your new installation directory. 
    The JDBC driver will be located in either the <Install-Directory>/common/lib or <Installation-Directory>/confluence/WEB-INF/lib directories. 
  6. There are some additional steps you make need to take if:
  7. Start your new Confluence. You should not see the setup wizard.  

Additional steps if further customisations are present

If you have customised Confluence (such as an SSL configuration in the server.xml file, or CATALINA_OPTS or JAVA_OPTS parameters in your confluence-init.properties file), you'll need to perform the following steps after the upgrade is complete:

  1. Stop the upgraded Confluence instance.
  2. Reapply the customisations to the relevant files in the newly upgraded Confluence Installation directory.
  3. Restart the upgraded Confluence instance.

We strongly recommend you test your customisations in a test instance prior to upgrading your production instance as changes may have been made to Confluence that make your customisations unsuable.

Troubleshooting

Did something go wrong?

If you need to retry the upgrade, you must restore your pre-upgrade backups first.  Do not attempt to run an upgrade again, or start the older version of Confluence again after an upgrade has failed. 

You can also refer to the Upgrade Troubleshooting guide in the Confluence Knowledge Base, or check for answers from the community at Atlassian Answers.