- JIRA 7 Administration Cookbook(Second Edition)
- Patrick Li
- 313字
- 2021-07-16 10:48:06
Upgrading JIRA manually
If you find yourself in a situation where you cannot use the JIRA installer to upgrade JIRA—for example, if you are hosting JIRA on an OS that does not have an installer binary such as Solaris or are using the WAR distribution—then you need to manually upgrade your JIRA instance.
Getting ready
The general prerequisite tasks to upgrade JIRA manually will remain the same as that of the installer. Refer to the previous recipe for the common tasks involved. As 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
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 into a different directory.
- Edit the
jira-application.properties
file in the new version of JIRA, which is 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 this directory. - Copy any modified files from the old JIRA instance into the new one.
- Start up the new JIRA instance.
- Update the add-ons once JIRA starts successfully.
- Remove the previous installation directory to avoid confusion.
How it works...
What we did here is essentially set up a new instance of JIRA and point it to the old JIRA instance's data. When we start up the new JIRA instance, 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.
- 新編Visual Basic程序設計上機實驗教程
- Learn TypeScript 3 by Building Web Applications
- 大學計算機基礎(第三版)
- 在最好的年紀學Python:小學生趣味編程
- Kali Linux Web Penetration Testing Cookbook
- 新一代通用視頻編碼H.266/VVC:原理、標準與實現
- 營銷數據科學:用R和Python進行預測分析的建模技術
- Learn Programming in Python with Cody Jackson
- Python高級機器學習
- MySQL數據庫管理與開發(慕課版)
- Backbone.js Blueprints
- Modern JavaScript Applications
- Getting Started with LLVM Core Libraries
- 微服務從小白到專家:Spring Cloud和Kubernetes實戰
- ASP.NET開發與應用教程