Installing Jira Software or Service Management while Jira Core is running fails with "Jira Software / Service Management is currently unavailable. This might be because an upgrade task has failed to run or has not yet completed."
プラットフォームについて: Server および Data Center のみ。この記事は、Server および Data Center プラットフォームのアトラシアン製品にのみ適用されます。
Support for Server* products ended on February 15th 2024. If you are running a Server product, you can visit the Atlassian Server end of support announcement to review your migration options.
*Fisheye および Crucible は除く
問題
Admins are given the possibility to expand the Jira capabilities by installing Jira Software or Jira Service Management on top of Jira Core.
The installation is possible at runtime so admins don't have to shutdown Jira Core to perform the installation.
In some corner cases, the installation fails and Jira throws the following error message in the UI:
Jira Software is currently unavailable. This might be because an upgrade task has failed to run or has not yet completed.
診断
- No relevant log messages are logged on the server side.
- If you're running Data Center, you may end up with Jira Software / Service Management installed in only a subset of the nodes.
- Jira Software / Service Management functionality is not available.
原因
We are unable to reproduce this behaviour so we don't know the root cause.
回避策
To achieve a successful installation of Jira Software / Service Management, proceed as follows:
- Put Jira in safe mode
- Jira を停止します。
- Take a backup of the plugins directory <Jira-local-home>/plugins/installed-plugins (For DC: <Jira-shared-home>/plugins/installed-plugins)
- Delete all plugins from the folder
- Delete all the plugins temp directories:
- <Jira-shared-home>/plugins/.bundled-plugins/ (DC only)
- <Jira-shared-home>/plugins/.osgi-plugins/ (DC only)
- <Jira-local-home>/plugins/.bundled-plugins/
- <Jira-local-home>/plugins/.osgi-plugins/
- Download an uncompress the Jira Software / Service Management OBR from:
If you're installing Software and Service Management, install them one by one and not at the same time. - Move all of its JAR contents to the plugin directory
- Start Jira and validate Jira Software / Service Management functionalities
- Stop Jira
- Move all the JAR in the backup of the installed plugins directory into <Jira-local-or-shared-home>/plugins/installed-plugins
Make sure you don't overwrite any existing ones when copying the JARs (Tip: On Linux, usecp -n
). - Jira の起動
- Exit safe mode
- Validate all Jira functionality is there