1.Jira 重启后自动升级
1.1报错内容 jira应用版本与数据包内版本不一致
1 .Database:Failed to start JIRA due to a build number inconsistency.
The version of the data present in your database is higher than the version of JIRA you are trying to start.
* Database build number: 803001
* JIRA app build number: 78001
1.2 处理方法
1.官方文档
1. https://jira.atlassian.com/browse/JRASERVER-59790
2. https://confluence.atlassian.com/adminjiraserver070/setting-properties-and-options-on-startup-749383528.html
2. 白话操作 -Djira.downgrade.allowed=true
启动的时候加上参数 “ -Djira.downgrade.allowed=true ”
3. 关闭jira服务
[root@iZasdf3qjsdfZ bin]# ./shutdown.sh
[root@iZasdf3qjsdfZ bin]# ps -ef |grep java
root 3321 3276 0 23:44 pts/0 00:00:00 grep --color=auto java
4 .找到 jira启动目录下修改 setenv.sh 文件 添加如下启动内容即可
[root@iZasdf3qjsdfZ ~]# cd /opt/atlassian/jira/bin/
[root@iZasdf3qjsdfZ bin]# vim setenv.sh
JVM_SUPPORT_RECOMMENDED_ARGS="-Djira.downgrade.allowed=true"
5 .启动服务
[root@iZasdf3qjsdfZ bin]#./startup.sh
6 .启动服务
登陆页面查看即可恢复以前版本