- JIRA 6.x Administration Cookbook
- Patrick Li
- 306字
- 2021-12-08 12:37:29
Upgrading JIRA manually
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.
Getting ready
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:
- Back up the JIRA database with its native backup utility
- Back up the
JIRA_INSTALL
directory - Back up the
JIRA_HOME
directory - Get a list of all the customized files in the
JIRA_INSTALL
directory from the System Info page in JIRA - For the WAR distribution, prepare and configure the installation files
How to do it…
To manually upgrade your JIRA instance, perform the following steps:
- Take your current JIRA offline.
- Install the new version of JIRA.
- Edit the
jira-application.properties
file in this version of JIRA, located in theJIRA_INSTALL/atlassian-jira/WEB-INF/classes
directory. - Update the value of
jira.home
to the currentJIRA_HOME
directory or to a copy of that directory. - Copy any modified files.
- Start up the new JIRA.
- Update the add-ons once JIRA starts successfully.
- Remove the previous installation directory to avoid confusion.
How it works…
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.
- 一本書學內部審計:新手內部審計從入門到精通
- Mastering Microsoft Forefront UAG 2010 Customization
- Pentaho Business Analytics Cookbook
- 國有企業經濟責任審計實務指南
- 注冊會計師全國統一考試專用教材:審計
- Securing Hadoop
- OAuth 2.0 Identity and Access Management Patterns
- Microsoft Dynamics NAV
- Learn Power Query
- Getting Started with Oracle Tuxedo
- 計量經濟學
- Amazon EC2 Cookbook
- 審計定價問題研究
- 多項目管理方法及其應用研究(國家社科基金后期資助項目)
- 圖解經濟博弈論(圖解經濟學叢書)