This document tells you how to upgrade from one version of Confluence to a later version. These instructions apply to the standalone distribution of Confluence. The standalone distribution includes Apache Tomcat as the bundled application server.

If you want to upgrade an EAR/WAR distribution deployed on your own existing application server, please refer to Upgrading Confluence EAR-WAR Distribution instead.

Please also check the following before you start using this guide:

On this page:

アップグレードの実行

If you are migrating servers or migrating databases, perform those operations in separate steps.

To install Confluence, unzip the new Confluence installation zip file into a directory of your choice and then edit the configuration files to point your new installation to your existing data files. Follow these instructions:

  1. Shut down your existing Confluence instance.
  2. Download the Confluence Standalone zip file.
  3. If you are on Windows, please check your unzip program before extracting the downloaded zip file. Some archive-extract programs cause errors when unzipping the Confluence zip file. You should use a third-party unzip program like 7Zip or Winzip. If you do not have one, please download and install one before continuing:
  4. Use your unzip program to unzip the installation file. You should now have a new directory called confluence-<version>, e.g. confluence-2.9.2-std.
  5. Edit the confluence-init.properties file found at: <Installation-Directory>\confluence\WEB-INF\classes\confluence-init.properties
    and update 'confluence.home' to point to your existingConfluence Home directory.
  6. If you are running Confluence as a Windows service, use the command prompt and type <Installation-Directory>\bin\service.bat remove Confluence.

    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 the Start Confluence Automatically on Windows as a Service topic.

    (warning) To remove the service installed by Confluence Auto Installer, you need to run the <confluence auto installer installation folder>\UninstallService.bat.

  7. If you are using an external database (i.e. not the embedded HSQLDB/H2 database supplied for evaluation purposes), copy the jdbc driver jar file from your old Confluence Standalone installation to the new Confluence Standalone installation. The jdbc driver jar file in the old Confluence Standalone installation should be located in either the <Install-Directory>/common/lib or <Installation-Directory>/confluence/WEB-INF/lib directories. Once you have identified this file, copy it to either the <Install-Directory>/lib or <Installation-Directory>/confluence/WEB-INF/lib directories of your Confluence 3.x installation.
  8. If you have delegated your user management to JIRA, LDAP, Crowd (or any other external user management system) and you are upgrading from a version of Confluence prior to 3.5, copy the following files from your old Confluence installation to your new Confluence installation:
  9. If you have delegated your user management to Crowd, you will also need to copy the Crowd configuration file from your old Confluence installation to your new Confluence installation: <Installation-Directory>/confluence/WEB-INF/classes/crowd.properties. If you need more information, please refer to the Crowd documentation.
  10. Consider any adjustments you need to make to customisations and special configurations, as described below.
    (warning) Your new version of Confluence may not function correctly or could encounter problems or errors if these are not implemented.
  11. Start your new version of Confluence.
    (info) Please note that Confluence will need to re-index attachments and this can take 5-10 minutes. Please wait until Confluence has finished indexing the attachments before trying to access Confluence via your web browser.
  12. During the startup process Confluence will create any missing database indexes. If you created any database indexes on your own, please check those afterwards and remove those that duplicate the indexes added by Confluence. Just in case you run into any errors which prevent Confluence from starting up, you can set the system property hibernate.hbm2ddl.skip_creating_missing_indexes to true to skip automatic index creation.
  13. Visit Confluence in your web browser and log in using a username from your previous Confluence installation. You should be able to log in immediately, without seeing the Setup Wizard.
  14. Take a quick look around your Confluence site to confirm that all your spaces and pages are present and everything looks normal. You should see the new Confluence version number in the page footer.

Reapplying Customisations to your New Confluence

Checking for Known Issues and Troubleshooting the Confluence Upgrade

Useful Plugins

関連トピック

Upgrading Confluence
Upgrading Confluence EAR-WAR Distribution
Confluence Installation Guide
Important Directories and Files
Site Backup and Restore
Database Configuration