Upgrading Jira (installer)

Binary installers are available again for Jira 10.3 LTS only.

You've chosen to upgrade Jira Data Center (non-clustered) by using the installer.

Looking for a different upgrade method? See Upgrading Jira applications.

Avoid using this upgrade method if you initially installed Jira manually from a .zip archive. Upgrading manual installations using the binary installer is not supported and is known to cause problems on startup.

Before you begin

Starting with Jira 10, we only support the manual upgrade method. If you previously upgraded Jira using the installer, we recommend backing up all your custom configuration files, uninstalling the version installed via the installer, and then reinstalling Jira manually:

After Jira is installed, you can restore your customized configuration files and set up the service.

If you're a Windows user, you can use the service.bat file to remove Jira service and avoid any potential conflicts during server restarts. When you reinstall Jira, create a new service using the service.bat file to point to the new binaries.

Locate the Jira home directory to determine the initial installation method

If you’re unsure how your Jira was installed, find the location of your Jira home directory. That's usually a good indicator of whether Jira was installed manually or from a binary installer. For more information, see Jira application home directory.

Prepare for the upgrade

Make sure you have completed the steps in Preparing for the upgrade. These are mandatory pre-requisites, and are essential for a smooth upgrade.

Choose your version

If you need help choosing the right version for you, head to the upgrade matrix to get a quick run down of features, supported platforms, and technical upgrade notes for all Jira versions.

Download Jira

  1. Download one of the Jira applications from our website. Choose the Windows or Linux installer.

If you're upgrading both Jira Core/Software and Jira Service Management, upgrade Jira Core/Software only. You'll later upgrade Jira Service Management directly in Jira, without a separate installer.

Start the installation wizard

The installation wizard will guide you through the upgrade process.

  1. Run the installer you've downloaded.

    I'm using Windows...

    a) Run the .exe file. We recommend using a Windows administrator account.

    b) If prompted to allow the upgrade wizard to make changes to your computer, choose Yes. If you do not, the installation wizard will have restricted access to your operating system and any subsequent installation options will be limited.

    I'm using Linux...

    a) Change to the directory where you downloaded Jira, then execute this command to make the installer executable:

    $ chmod a+x atlassian-jira-X.X.X-x64.bin

    Where X.X.X is the Jira version you downloaded.

    b) Run the installer – we recommend using sudo to run the installer:

    $ sudo ./atlassian-jira-X.X.X-x64.bin

    You can also choose to run the installer with root user privileges.

  2. Follow the prompts in the wizard: 

    1. When prompted, choose Upgrade an existing Jira installation.

    2. Make sure the Existing Jira installation directory suggested by the wizard is correct (especially important if you have multiple Jira installations on the same machine.)

    3. If you have already backed up the Jira home directory, clear the Back up the Jira home directory check box to avoid creating an extra backup. 

    4. The wizard notifies you of customizations in the Jira installation directory. Make a note of these as you'll need to reapply them later. 

      Your current customizations will be overwritten, but you can later copy them from your backups.

  3. In the last screen, the upgrade wizard will ask you to start the Jira instance and complete the upgrade. We recommend that you stop at this step, and complete the remaining steps from this page, up until Start Jira for the first time.

    Starting Jira here won't affect your upgrade in any way, but Jira needs to be shut down to complete the remaining steps. Once you complete them, you can go back to the wizard and start Jira.

  4. (Optional) If you use Crowd for user management, complete these extra steps:

    Click here to expand...

    If you are using Crowd for user management, reapply the modifications from the following files from your existing installation directory to the new files. Do not copy the files as they may be different in the new version of Jira.

    • <Installation-Directory>/atlassian-jira/WEB-INF/classes/crowd.properties
    • <Installation-Directory>/atlassian-jira/WEB-INF/classes/seraph-config.xml

Install the database driver

If you're using an Oracle or MySQL database, download a new JDBC driver. For other databases, you can omit this step.

tip/resting Created with Sketch.

If the driver is up to date, you can also copy it from your previous version.


  1. Download one of the following drivers:

  2. Place it in <installation-directory>/lib.

Step 4: Re-apply any custom changes and increase pool-max-size

While using Jira, you’ve probably added some custom modifications to Jira files. These may include connection details, settings related to memory allocation, or other JVM arguments. 

Migrated modifications

During the upgrade, the wizard migrated the following from your existing Jira installation:

  • TCP values in the server.xml file.
  • Location of your Jira home directory in the jira-application.properties file.
  • The following values in the setenv.sh / setenv.bat file:
    • JVM_SUPPORT_RECOMMENDED_ARGS
    • JVM_MINIMUM_MEMORY
    • JVM_MAXIMUM_MEMORY
    • JIRA_MAX_PERM_SIZE 

Other modifications 

Apart from the above, you need to re-apply all other modifications. Here are the most important files: 

  • server.xml
  • dbconfig.xml
  • jira-config.properties
  • web.xml
  • setenv.sh / setenv.bat (memory allocation and other JVM arguments)

For more information, see Important files in Jira.

In addition to these files, if your Jira is running over SSL, you need to reimport certificates into the trust store. Don't forget to move this from your backup to the appropriate location as noted in tomcat.xml if necessary.

For details, see How to import a public SSL certificate into a JVM.

You need to re-apply your custom changes to your respective new Jira files by copying them from your backups. 

Make sure you don't just copy over the old files, as the 'native' settings they contain might have changed between the Jira versions.

We'll make another check on Jira startup and will show you all the files you might have skipped that still contain changes that have not been copied over. Then you'll be able to click to automatically copy the changes over.

Note that the check will only be run on the following configuration files:

- <jira-home-directory>/atlassian-jira/ directory
- <jira-home-directory>/conf/server.xml
- <jira-home-directory>/bin/setenv.sh

and the automatic transfer will only be supported for ATST plugin 1.20.0 and later.

To automatically transfer the changes, the installer copy of the modified file needs to be the same as in the version you're upgrading to.

tip/resting Created with Sketch.

Tomcat started to use double-quotes as of version 8.5.48 as a result of Expansion of JAVA_OPTS in catalina.sh containing '*' stops startup on linux bug. That's why when you upgrade and set parameters in setenv.sh or setenv.bat, make sure that you:

  • Don't remove the double-quotes in the catalina.sh
  • Set all your parameters in one line without any new line in setenv.sh or setenv.bat

Otherwise you might experience issues starting up Jira. 


Pool-max-size

If you're upgrading from Jira 7.x to Jira 8.x we recommend changing the pool-max-size parameter to 40 in your dbconfig.xml before the upgrade. Leaving the default of 20 can sometimes lead to “ResultSet Closed” errors during re-indexing on 8.x. For information on implementing the change, see Tuning database connections.


Disable automatic reindex

This step is recommended for the platform upgrade, that is when upgrading from 7.x to 8.x.

Because of the changes to indexes that we've introduced in Jira 8.0, your old index is incompatible with the new version. To create a new one, Jira will trigger an automatic reindex right after you start it. To avoid reindexing twice (after startup and after upgrading your apps), you can disable the automatic reindex, and run the second one later, whenever you’re ready.

  1. Edit or create the following file:

    <jira-home-directory>/jira-config.properties
  2. Add the following line, and save the file:

    upgrade.reindex.allowed=false

Start Jira for the first time

Start your new Jira version.

  1. Go back to your upgrade wizard and complete the upgrade to start Jira. 

    You can also start Jira by going to <installation-directory>/bin, and running one of the following files:

    • Windows: start-jira.bat
    • Linux: start-jira.sh

  2. Open Jira in your browser.
  3. If you've missed any file with custom changes that have not been copied over, you can automatically copy the changes over now. 

    Note that the check for file changes is only be run on the following configuration files:

    - atlassian-jira/ directory
    - conf/server.xml
    - bin/setenv.sh

    and the automatic transfer is only be supported for ATST plugin 1.20.0 and later.

    To automatically transfer the changes, the installer copy of the modified file needs to be the same as in the version you're upgrading to.

    After the changes have been copied over, you'll be prompted to restart Jira.

Post-upgrade landing page

After a successful upgrade, you should see the post-upgrade landing page. It has some useful information about the new version, as shown below.

Post-upgrade landing page with annotations described below the image.

  1. Need to know: A list of new features that might affect your work as an admin.
  2. User apps: Status of your apps after the upgrade.
  3. Application links: Status of your application links.
  4. Release notes: Link to release notes where you can see more detailed information about the version you've upgraded to.

Almost there!

Your Jira instance has been upgraded. Below you can learn how to upgrade Jira Service Management, if you have it, and how to upgrade your apps.

(Optional) Update Jira Service Management

If you're using Jira Service Management, you can update it directly in the UI, without downloading a separate installer.

  1. Go to Administration (> Applications > Versions and licenses.
  2. Update Jira Service Management. This will automatically update Jira Service Management to a compatible version.

Upgrade apps (add-ons)

Now you can upgrade apps that had the Compatible once both are updated status. If you need more information about the statuses and apps in general, see Preparing for the upgrade.

  1. Go to Administration (> Manage apps > Manage apps.
  2. Upgrade your apps to the supported versions.
  3. Once the apps are upgraded, you can enable them.

Rebuild index

Since your old index is incompatible, reindex Jira to rebuild it. This step might take some time, depending on how many issues and apps you have.

  1. Go to Administration (> Indexing, and run Full re-index.

Well done!

You've upgraded Jira to a new version.

Last modified on Dec 6, 2024

Was this helpful?

Yes
No
Provide feedback about this article
Powered by Confluence and Scroll Viewport.