Upgrading Jira applications manually
In this guide, we'll run you through upgrading Jira manually, if your installation doesn't support using the installer. Upgrading to any later version is free if you have current software maintenance. See our Licensing FAQ to find out more.
You should use this method to upgrade Jira if you meet any of the following criteria:
Before you begin
Before you upgrade Jira, there's a few questions you need to answer.
Is manual the right upgrade method for you? | |
Are you eligible to upgrade? | |
Have our supported platforms changed? | |
Do you need to make changes to your environment? | |
Check some known issues |
Plan your upgrade
1. Determine your upgrade path
Use the tables below to determine the most efficient upgrade path from your current version to the latest versions of Jira.
2. Complete the pre-upgrade checks
- Check the Upgrade Notes for the version you plan to upgrade to (and any in between).
Go to > System > Support Tools, and check the results of the health check. Fix any detected problems.
Go to > Add-ons, and scroll down to Jira update check to check the compatibility of your add-ons. Choose the version you plan to upgrade to, then hit Check.
3. Upgrade Jira in a test environment
- Create a staging copy of your current production environment.
See Establishing staging server environments for help creating an environment to test your upgrade in. - Follow the steps below to upgrade your test environment.
- Test any unsupported add-ons and customizations before upgrading your production environment.
Upgrade Jira
4. Back up
Create an XML backup of your database.
Back up your installation directory and home directory.
As soon as the backup is complete, delete the
<home-directory>/dbconfig.xml
file from your existing home directory. This will allow you to connect Jira to a new database.
5. Download Jira
Download the zip
or tar.gz
archive – Jira Core or Jira Software.
6. Extract the file and upgrade Jira
- Stop Jira applications.
- Extract (unzip) the files to a directory (this is your new installation directory, and must be different to your existing installation directory).
- Edit the
<installation-directory>\atlassian-jira\WEB-INF\classes\jira-application.properties
file to point to your existing Jira home directory. Make sure that you deleted thedbconfig.xml
file, otherwise Jira will try to connect to your existing database. - Copy your jdbc driver jar file from your existing Jira installation directory to
/lib
in your new installation directory.
- There are some additional steps you may need to take if:
you use Crowd for user management
you are upgrading from version 4.3.0 or earlier
7. Start Jira and connect it to the database
- Start Jira to launch the setup wizard. Go to
<installation-directory>/bin
, and run thestart-jira.sh
/start-jira.bat
file. - Access Jira through your browser, and choose I'll set it up myself to get access to more setup options.
- Select My own database, and provide details of a new, empty database.
Click Import your data, and select the file with your XML backup.
Avoid passing through a proxy when performing an XML restore, especially if your Jira instance is very large. Using a proxy may cause timeout errors.- When Jira starts for the first time after an upgrade, you'll be presented with an overview of the upgrade. This page will show to the first 10 admins who log in to Jira post upgrade, and only for 14 days. This overview contains information on critical updates to your Jira instance, and it also gives you a dynamic overview of your add-ons and application links. You can access this information at any time by selecting > Latest upgrade report.
- Take a quick look around your Jira site to confirm that your projects and issues are present and everything looks normal. You should see the new Jira version number in the page footer.
After the upgrade
8. Re-apply any modifications
If you have customized Jira (such as an SSL configuration in the server.xml
file, or additional memory allocation in the setenv.sh / setenv.bat file ), you'll need to reapply the customizations to the relevant files in the newly upgraded Jira installation directory.
9. (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.
Troubleshooting
Did something go wrong?
Check the resources on our Support page, or raise an issue so we can help you resolve your problem.
If you need to retry the upgrade, you must roll back to your previous setup first. Do not attempt to run an upgrade again, or start the older version of Jira again after an upgrade has failed.