If you find yourself in a situation where you cannot use the JIRA installer to upgrade JIRA, for example, you are hosting JIRA on an OS that does not have an installer binary such as Solaris, or if you are using the WAR distribution, then you need to manually upgrade your JIRA instance.
The general prerequisite tasks for upgrading JIRA manually will remain the same as that of the installer. Refer to the previous recipe for the common tasks involved. Since the installer automates many of the backup tasks while upgrading JIRA manually, you will have to do the following:
JIRA_INSTALL
directoryJIRA_HOME
directoryJIRA_INSTALL
directory from the System Info page in JIRATo manually upgrade your JIRA instance, perform the following steps:
jira-application.properties
file in this version of JIRA, located in the JIRA_INSTALL/atlassian-jira/WEB-INF/classes
directory.jira.home
to the current JIRA_HOME
directory or to a copy of that directory.What we are doing here is essentially setting up a new instance of JIRA and pointing it to the old JIRA's data. When we start up the new JIRA, it will detect that the database it is connecting to contains data from an older version of JIRA by reading the dbconfig.xml
file from the JIRA_HOME
directory. It will also proceed to make all the necessary schema changes.