JIRA从3.6.2旧版升级到新版6.0.8详细图解过程

JIRA是Atlassian公司出品的项目与事务跟踪工具,被广泛应用于缺陷跟踪、客户服务、需求收集、流程审批、任务跟踪、项目跟踪和敏捷管理等工作领域。

公司原来用的是JIRA 3.6.2版本,Atlassian官方已不推荐使用JIRA 4.4之前的版本,之前的版本有漏洞也已不再更新,同事已经安装好了JIRA6.0.8版本,新版的JIRA界面扁平化设计,支持移动端浏览,很符合移动互联网企业的风格,现在JIRA升级到了新的版本JIRA 6.1.7,但是在迁移数据的时候,直接从3.6.2迁移到6.0.8失败,google了很久,才发现需要在4.4.5上面将数据转换一下,在此记录一下数据迁移步骤。

思路:(1),安装Jira4.4.5;(2),将Jira3.6.2的数据导入到Jira4.4.5后再导出;(3),再将从4.4.5导出的数据导入到6.0.8版本中,这样就完成了数据的迁移工作,升级也完成了。

准备工作,JIRA3.6.2以及JIRA6.0.8已经安装,还需要安装的是中间的过度版本4.4.5

CentOS 6.5下JIRA安装部署

CentOS 6.5安装配置Jira、Confluence集成环境

CentOS 5.3 安装配置JIRA与Confluence手记

1,下载Jira4.4.5

Jira下载地址:

2,安装Jira4.4.5

[root@name01 ~]# tar -xvf atlassian-jira-4.4.5.tar.gz

[root@name01 ~]# cd atlassian-jira-4.4.5-standalone/

[root@name01 atlassian-jira-4.4.5-standalone]# find / -name start-jira.sh

/root/atlassian-jira-4.4.5-standalone/bin/start-jira.sh

[root@name01 atlassian-jira-4.4.5-standalone]#

[root@name01 atlassian-jira-4.4.5-standalone]#

[root@name01 atlassian-jira-4.4.5-standalone]# /root/atlassian-jira-4.4.5-standalone/bin/start-jira.sh

To run JIRA in the foreground, start the server with start-jira.sh -fg

Server startup logs are located in /root/atlassian-jira-4.4.5-standalone/logs/catalina.out

executing as current user

MMMMMMMMMMM .,MMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMM

MMMMMM. OMM. ~MM.. MMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMM

MMMDMMZ7MMMMMMMMN7DMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMM

MMMDMMMMMMMMMMMMMMMMMNMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMM

MMMMZ  IMMM ..MMN= ,8MO  8  IN    +DM8    ?MMMMMMMMMMMMMMMMMMMMMMMMM

MMMMMM ..OI . 8I...MMMO  8  IN      M7    ,MMMMMMMMMMMMMMMMMMMMMMMMM

MMMMMMMN,  .  +MMMMMO  8  IN  =O  M~  ~..$MMMMMMMMMMMMMMMMMMMMMMMM

MMMMMMMMM~...  +MMMMMMO  8  IN  . . IN  I..+MMMMMMMMMMMMMMMMMMMMMMMM

MMMMMMMMMMI . OMMMMMMMO  8  IN  :=  ,O  =8  MMMMMMMMMMMMMMMMMMMMMMMM

MMMMMMMMD ...  .MMMMMMO  8  IN  =O  +      .MMMMMMMMMMMMMMMMMMMMMMMM

MMMMMMMM,  =N. .7MMMM~.  8  IN  =O  :. =M. .MMMMMMMMMMMMMMMMMMMMMMMM

MMMMMMM, . MMD. .+MMM=  :$M  IN  =O  ,  IM: .MMMMMMMMMMMMMMMMMMMMMMMM

MMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMM

__  __              __                        _                          __

\ \/ /___  __  __  / /_  ____ __  _____    (_)___________  _____  _____/ /

\  / __ \/ / / /  / __ \/ __ `/ | / / _ \  / / ___/ ___/ / / / _ \/ ___/ /

/ / /_/ / /_/ /  / / / / /_/ /| |/ /  __/  / (__  |__  ) /_/ /  __(__  )_/

/_/\____/\__,_/  /_/ /_/\__,_/ |___/\___/  /_/____/____/\__,_/\___/____(_) 

JIRA Standalone Edition

Version : 4.4.5

Detecting JVM PermGen support...

PermGen switch is supported. Setting to 256m

If you encounter issues starting or stopping JIRA Standalone Edition, please see the Troubleshooting guide at +Troubleshooting+Guide

Using CATALINA_BASE:  /root/atlassian-jira-4.4.5-standalone

Using CATALINA_HOME:  /root/atlassian-jira-4.4.5-standalone

Using CATALINA_TMPDIR: /root/atlassian-jira-4.4.5-standalone/temp

Using JRE_HOME:        /usr/lib/jvm/jdk1.7.0_60/jre

Using CLASSPATH:      /root/atlassian-jira-4.4.5-standalone/bin/bootstrap.jar

Using CATALINA_PID:    /root/atlassian-jira-4.4.5-standalone/work/catalina.pid

[root@name01 atlassian-jira-4.4.5-standalone]#

3,Jira4.4.5配置过程

安装完后可以直接访问:8080/,进行Jira配置步骤。

3.1,访问报错问题 

如果访问出现该页面,是因为我们还没有配置JIRA HOME的路径,需要设置Java_home路径,先去查看下JAVA_HOME路径为:

[root@name01 atlassian-jira-4.4.5-standalone]# echo $JAVA_HOME

/usr/lib/jvm/jdk1.7.0_60

[root@name01 atlassian-jira-4.4.5-standalone]#

找到jira的配置文件

[root@name01 atlassian-jira-4.4.5-standalone]# find /root/atlassian-jira-4.4.5-standalone -name jira-application.properties

/root/atlassian-jira-4.4.5-standalone/atlassian-jira/WEB-INF/classes/jira-application.properties

[root@name01 atlassian-jira-4.4.5-standalone]#

[root@name01 atlassian-jira-4.4.5-standalone]# vim /root/atlassian-jira-4.4.5-standalone/atlassian-jira/WEB-INF/classes/jira-application.properties

# Do not modify this file unless instructed. It is here to store the location of the JIRA home directory only and is typically written to by the installer.

jira.home = /usr/lib/jvm/jdk1.7.0_60

在jira.home = 后面添加上JAVA_HOME的路径,保存配置文件后再重启JIRA。

3.2,配置好jira.home后重启Jira

[root@name01 atlassian-jira-4.4.5-standalone]# /root/atlassian-jira-4.4.5-standalone/bin/shutdown.sh

MMMMMMMMMMM .,MMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMM

MMMMMM. OMM. ~MM.. MMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMM

MMMDMMZ7MMMMMMMMN7DMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMM

MMMDMMMMMMMMMMMMMMMMMNMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMM

MMMMZ  IMMM ..MMN= ,8MO  8  IN    +DM8    ?MMMMMMMMMMMMMMMMMMMMMMMMM

MMMMMM ..OI . 8I...MMMO  8  IN      M7    ,MMMMMMMMMMMMMMMMMMMMMMMMM

MMMMMMMN,  .  +MMMMMO  8  IN  =O  M~  ~..$MMMMMMMMMMMMMMMMMMMMMMMM

MMMMMMMMM~...  +MMMMMMO  8  IN  . . IN  I..+MMMMMMMMMMMMMMMMMMMMMMMM

MMMMMMMMMMI . OMMMMMMMO  8  IN  :=  ,O  =8  MMMMMMMMMMMMMMMMMMMMMMMM

MMMMMMMMD ...  .MMMMMMO  8  IN  =O  +      .MMMMMMMMMMMMMMMMMMMMMMMM

MMMMMMMM,  =N. .7MMMM~.  8  IN  =O  :. =M. .MMMMMMMMMMMMMMMMMMMMMMMM

MMMMMMM, . MMD. .+MMM=  :$M  IN  =O  ,  IM: .MMMMMMMMMMMMMMMMMMMMMMMM

MMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMM

__  __              __                        _                          __

\ \/ /___  __  __  / /_  ____ __  _____    (_)___________  _____  _____/ /

\  / __ \/ / / /  / __ \/ __ `/ | / / _ \  / / ___/ ___/ / / / _ \/ ___/ /

/ / /_/ / /_/ /  / / / / /_/ /| |/ /  __/  / (__  |__  ) /_/ /  __(__  )_/

/_/\____/\__,_/  /_/ /_/\__,_/ |___/\___/  /_/____/____/\__,_/\___/____(_) 

JIRA Standalone Edition

Version : 4.4.5

Detecting JVM PermGen support...

PermGen switch is supported. Setting to 256m

If you encounter issues starting or stopping JIRA Standalone Edition, please see the Troubleshooting guide at +Troubleshooting+Guide

Using CATALINA_BASE:  /root/atlassian-jira-4.4.5-standalone

Using CATALINA_HOME:  /root/atlassian-jira-4.4.5-standalone

Using CATALINA_TMPDIR: /root/atlassian-jira-4.4.5-standalone/temp

Using JRE_HOME:        /usr/lib/jvm/jdk1.7.0_60/jre

Using CLASSPATH:      /root/atlassian-jira-4.4.5-standalone/bin/bootstrap.jar

Using CATALINA_PID:    /root/atlassian-jira-4.4.5-standalone/work/catalina.pid

[root@name01 atlassian-jira-4.4.5-standalone]#

内容版权声明:除非注明,否则皆为本站原创文章。

转载注明出处:http://www.heiqu.com/17533.html