Upgrading Jira Server (installer)
You've chosen to upgrade Jira Server by using the installer.
Before you begin
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 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 Desk, upgrade Jira Core/Software only. You'll later upgrade Service Desk directly in Jira, without a separate installer.
Start the installation wizard
The installation wizard will guide you through the upgrade process.
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
X.X.Xis the Jira version you downloaded.
b) Run the installer – we recommend using
sudoto run the installer:
$ sudo ./atlassian-jira-X.X.X-x64.bin
You can also choose to run the installer with root user privileges.
- Follow the prompts in the wizard:
- When prompted, choose Upgrade an existing Jira installation.
- 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.)
- 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.
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.
- When prompted, choose Upgrade an existing Jira installation.
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.
(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.
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.
If the driver is up to date, you can also copy it from your previous version.
- Download one of the following drivers:
- Oracle: JDBC driver 220.127.116.11
- MySQL: MySQL Connector/J 5.1 driver
- Place it in
Re-apply any modifications
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. In this step, you need to re-apply the same modifications to the new 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.
During the upgrade, the wizard migrated the following from your existing Jira installation:
- TCP values in the
- Location of your Jira home directory in the
- The following values in the
Apart from the above, you need to re-apply all other modifications. Here are the most important files:
setenv.bat(memory allocation and other JVM arguments)
- for more, see Important files in Jira
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.
Edit or create the following file:
Add the following line, and save the file:
Start Jira for the first time
Start your new Jira version.
- 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:
- Open Jira in your browser.
- Follow instructions on the screen to complete the setup.
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.
- Need to know: A list of new features that might affect your work as an admin.
- User apps: Status of your apps after the upgrade.
- Application links: Status of your application links.
- Release notes: Link to release notes where you can see more detailed information about the version you've upgraded to.
Your Jira instance has been upgraded. Below you can learn how to upgrade Service Desk, if you have it, and how to upgrade your apps.
(Optional) Update Jira Service Desk
If you're using Jira Service Desk, you can update it directly in the UI, without downloading a separate installer.
- Go to > Applications > Versions and licenses.
- Update Jira Service Desk. This will automatically update Service Desk 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.
- Go to > Manage apps > Manage apps.
- Upgrade your apps to the supported versions.
- Once the apps are upgraded, you can enable them.
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.
- Go to > Indexing, and run Lock Jira and rebuild reindex.
You've upgraded Jira to a new version.