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.
There are several factors that will determine the upgrade method you should use. If you:
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 |
confluence/WEB-INF/lib in your new installation directory. <Install-Directory>/common/lib or <Installation-Directory>/confluence/WEB-INF/lib directories. you are running Confluence as a Windows Service
If you are running Confluence as a Windows service, go to the command prompt and type:
It is vital that you stop and remove the existing service prior to uninstalling the old instance of Confluence. For more information on running Confluence as Windows service, please refer to Start Confluence Automatically on Windows as a Service.
|
you use a JIRA application or LDAP for user management
If you use JIRA or LDAP for user management, copy the following files from your existing installation directory to your new installation directory:
|
you use Crowd for user management
If you are using Crowd for user management, copy the following files from your existing installation directory to your new installation directory:
|
you are upgrading from Confluence 2.5 or earlier
If you are upgrading from Confluence 2.5.5 or earlier and are copying the existing
If you use Crowd for your user management, you do not need to do this. |
You are running Confluence on a different port (not the default 8090)
If you are not running Confluence on port 8090 update |
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:
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.
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.