官术网_书友最值得收藏!

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:

  1. Back up the JIRA database with its native backup utility
  2. Back up the JIRA_INSTALL directory
  3. Back up the JIRA_HOME directory
  4. Get a list of all the customized files in the JIRA_INSTALL directory from the System Info page in JIRA
  5. For the WAR distribution, prepare and configure the installation files

How to do it…

To manually upgrade your JIRA instance, perform the following steps:

  1. Take your current JIRA offline.
  2. Install the new version of JIRA.
  3. Edit the jira-application.properties file in this version of JIRA, located in the JIRA_INSTALL/atlassian-jira/WEB-INF/classes directory.
  4. Update the value of jira.home to the current JIRA_HOME directory or to a copy of that directory.
  5. Copy any modified files.
  6. Start up the new JIRA.
  7. Update the add-ons once JIRA starts successfully.
  8. 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.

主站蜘蛛池模板: 青铜峡市| 舒兰市| 桑日县| 东源县| 高密市| 犍为县| 新蔡县| 洪雅县| 进贤县| 阿拉善右旗| 峡江县| 泰州市| SHOW| 阳原县| 右玉县| 黎城县| 湘乡市| 进贤县| 剑川县| 沙坪坝区| 景德镇市| 普兰店市| 攀枝花市| 沁源县| 米易县| 伊金霍洛旗| 玉树县| 东乌珠穆沁旗| 郁南县| 射阳县| 罗田县| 甘肃省| 赣榆县| 崇信县| 图们市| 科技| 聊城市| 丰顺县| 新龙县| 高州市| 水城县|