Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

最新版 Jira DC 安装报错 'Jira Cloud Migration Assistant' failed to load

YY Brother
Community Champion
April 24, 2023

当安装好最新版jira dc后,界面上配置好数据库后,访问Jira报下面错误,请问大家有什么修复建议吗?

http://xxxxxx/secure/SetupDatabase!default.jspa will return an error:

********************************************************************************************************************************************************************************************************
___ FAILED PLUGIN REPORT _____________________

1 plugin failed to load during Jira startup.

'com.atlassian.jira.migration.jira-migration-plugin' - 'Jira Cloud Migration Assistant' failed to load.
Error creating bean with name 'planExecutionService' defined in URL [bundle://92d9a414-561f-44be-9b97-672b68ce142b_93.0:1/com/atlassian/jira/migration/execution/PlanExecutionService.class]: Unsatisfied dependency expressed through constructor parameter 5; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'preflightService' defined in URL [bundle://92d9a414-561f-44be-9b97-672b68ce142b_93.0:1/com/atlassian/jira/migration/preflight/PreflightService.class]: Unsatisfied dependency expressed through constructor parameter 1; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'asyncCheckExecutor' defined in URL [bundle://92d9a414-561f-44be-9b97-672b68ce142b_93.0:1/com/atlassian/jira/migration/preflight/AsyncCheckExecutor.class]: Unsatisfied dependency expressed through constructor parameter 0; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'preflightCheckLookup' defined in URL [bundle://92d9a414-561f-44be-9b97-672b68ce142b_93.0:1/com/atlassian/jira/migration/preflight/PreflightCheckLookup.class]: Unsatisfied dependency expressed through constructor parameter 0; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'advancedRoadmapsOutdatedCheck' defined in URL [bundle://92d9a414-561f-44be-9b97-672b68ce142b_93.0:1/com/atlassian/jira/migration/preflight/AdvancedRoadmapsOutdatedCheck.class]: Bean instantiation via constructor failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [com.atlassian.jira.migration.preflight.AdvancedRoadmapsOutdatedCheck]: Constructor threw exception; nested exception is java.lang.IllegalArgumentException
Error creating bean with name 'preflightService' defined in URL [bundle://92d9a414-561f-44be-9b97-672b68ce142b_93.0:1/com/atlassian/jira/migration/preflight/PreflightService.class]: Unsatisfied dependency expressed through constructor parameter 1; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'asyncCheckExecutor' defined in URL [bundle://92d9a414-561f-44be-9b97-672b68ce142b_93.0:1/com/atlassian/jira/migration/preflight/AsyncCheckExecutor.class]: Unsatisfied dependency expressed through constructor parameter 0; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'preflightCheckLookup' defined in URL [bundle://92d9a414-561f-44be-9b97-672b68ce142b_93.0:1/com/atlassian/jira/migration/preflight/PreflightCheckLookup.class]: Unsatisfied dependency expressed through constructor parameter 0; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'advancedRoadmapsOutdatedCheck' defined in URL [bundle://92d9a414-561f-44be-9b97-672b68ce142b_93.0:1/com/atlassian/jira/migration/preflight/AdvancedRoadmapsOutdatedCheck.class]: Bean instantiation via constructor failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [com.atlassian.jira.migration.preflight.AdvancedRoadmapsOutdatedCheck]: Constructor threw exception; nested exception is java.lang.IllegalArgumentException
Error creating bean with name 'asyncCheckExecutor' defined in URL [bundle://92d9a414-561f-44be-9b97-672b68ce142b_93.0:1/com/atlassian/jira/migration/preflight/AsyncCheckExecutor.class]: Unsatisfied dependency expressed through constructor parameter 0; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'preflightCheckLookup' defined in URL [bundle://92d9a414-561f-44be-9b97-672b68ce142b_93.0:1/com/atlassian/jira/migration/preflight/PreflightCheckLookup.class]: Unsatisfied dependency expressed through constructor parameter 0; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'advancedRoadmapsOutdatedCheck' defined in URL [bundle://92d9a414-561f-44be-9b97-672b68ce142b_93.0:1/com/atlassian/jira/migration/preflight/AdvancedRoadmapsOutdatedCheck.class]: Bean instantiation via constructor failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [com.atlassian.jira.migration.preflight.AdvancedRoadmapsOutdatedCheck]: Constructor threw exception; nested exception is java.lang.IllegalArgumentException
Error creating bean with name 'preflightCheckLookup' defined in URL [bundle://92d9a414-561f-44be-9b97-672b68ce142b_93.0:1/com/atlassian/jira/migration/preflight/PreflightCheckLookup.class]: Unsatisfied dependency expressed through constructor parameter 0; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'advancedRoadmapsOutdatedCheck' defined in URL [bundle://92d9a414-561f-44be-9b97-672b68ce142b_93.0:1/com/atlassian/jira/migration/preflight/AdvancedRoadmapsOutdatedCheck.class]: Bean instantiation via constructor failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [com.atlassian.jira.migration.preflight.AdvancedRoadmapsOutdatedCheck]: Constructor threw exception; nested exception is java.lang.IllegalArgumentException
Error creating bean with name 'advancedRoadmapsOutdatedCheck' defined in URL [bundle://92d9a414-561f-44be-9b97-672b68ce142b_93.0:1/com/atlassian/jira/migration/preflight/AdvancedRoadmapsOutdatedCheck.class]: Bean instantiation via constructor failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [com.atlassian.jira.migration.preflight.AdvancedRoadmapsOutdatedCheck]: Constructor threw exception; nested exception is java.lang.IllegalArgumentException
Failed to instantiate [com.atlassian.jira.migration.preflight.AdvancedRoadmapsOutdatedCheck]: Constructor threw exception; nested exception is java.lang.IllegalArgumentException
null
null

It was loaded from /Users/yangyong/Atlassian/atlassian-jira-software-9.7.0-standalone/atlassian-jira/WEB-INF/atlassian-bundled-plugins/jira-migration-plugin-1.7.4-629ca9440.jar

********************************************************************************************************************************************************************************************************

2023-04-22 02:19:35,202+0800 JIRA-Bootstrap INFO [c.a.jira.startup.LauncherContextListener] Startup is complete. Jira is ready to serve.
2023-04-22 02:19:35,205+0800 JIRA-Bootstrap INFO [c.a.jira.startup.LauncherContextListener] Memory Usage:

2 comments

Comment

Log in or Sign up to comment
Tom Zhu
Community Champion
April 25, 2023

等待大神支持~

Kenny Jin
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
April 25, 2023

看起来是advancedRoadmapsOutdatedCheck的构造函数抛出了IllegalArgumentException异常,以至于JCMA插件的依赖无法满足,从而造成其无法启动而报错。

可以做两个尝试:

  1. 停掉Jira,然后清除插件缓存:https://confluence.atlassian.com/jirakb/how-to-clear-jira-s-plugin-cache-1157468195.html
  2. 把潜在应该开启插件而实际关闭的插件尝试打开,这部分信息都存在数据库pluginstate表中,其中pluginenabled字段控制了开启或者关闭。操作数据库务必做好备份。
Like # people like this
YY Brother
Community Champion
April 25, 2023

Hi @Kenny Jin 

 

  • 尝试了1的方法,还是那个错误。
  • 查了 pluginstate 表记录为空。

 

备注:我看了下正常使用的jira实例中,pluginstate 表有3条记录。

 

不知道是否有其他建议?谢谢~

Kenny Jin
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
April 26, 2023

正常实例中是不是有一条下面这个?

com.atlassian.jira.migration.jira-migration-plugin
YY Brother
Community Champion
April 26, 2023

没有,截图如下。

我目前场景是:同一个mac系统里面,安装了一个8.x jira dc(正常)。同时,想安装另外一个9.7 jira dc,安装文件在不同的目录,都是 mysql 数据库(DB名字不同),发现 9.7 jira dc 数据库都生产了数据表,到最后展示jira首页时报上面错误。当我stop service,重启 8.x service 时,发现其数据库中相关 Agile Board 表都需要重建索引(我自己已搞定,不是该问题的点,只是说明下,但是我不知道为什么会出现这个情况,不同数据库,还会相互影响,并不是我想象的那样独立)

image.png

Kenny Jin
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
April 27, 2023

同一个服务器下安装两个Jira肯定是可以的,只是提供服务的端口需要设置为不一样。现在的问题不太好定位的是到底是那个9.7的问题,还是什么其他问题。你都是用的Standalone安装吧(没有使用统一的JDK)?其次有没有可能另外一个装一个空的8.x试试,先排除是不是版本问题。

TAGS
AUG Leaders

Atlassian Community Events