Global Mail Settings redirect to HTTP Status 405 – Method Not Allowed
プラットフォームについて: 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 は除く
要約
Observed HTTP Status 405 – Method Not Allowed error while accessing Global Mail Settings page navigated from System -> Mail -> Global Mail Settings
環境
Jira Server / Data Center.
診断
The initial log analysis shows below the error message in atlassian-jira.log:
http-nio-8080-exec-23 WARN XXXX 325x2074x1 xxxxxxx 0:0:0:0:0:0:0:1 /secure/admin/GlobalMailSettings.jspa [c.a.j.web.dispatcher.JiraWebworkActionDispatcher] Action 'com.atlassian.jira.internal.mail.processor.webwork.GlobalMailSettingsAction!renderGlobalMailSettingsPage' does not support 'GET' request method
原因
This issue is observed when
- You have Jira Service Management and Jira Software installed
- Later Jira service management is removed/uninstalled and upgrade is performed for Jira Software only.
Post upgrade HTTP Status 405 – Method Not Allowed issue is observed on Global Mail settings page, as this is a feature of Jira Service Management(JSM) and uninstallation of JSM doesn't not completely remove all the jar files related to Jira Service Management.
See more at: Jira Service Management Upgrade Failed With Error "Failed to resolve plugin dependencies within OBR"
グローバルメール設定を管理する
There are two global mail settings—email puller and email processor—that are used by Jira Service Management only. They don’t impact any other email settings you have set up for Jira.
グローバル メール設定を管理する方法は、次のとおりです。
- Select Administration > System.
- [メール] で、[グローバル メール設定] を選択します。
- 以下のいずれかを選択します。
- メールのプル機能: 毎分メール サーバーに接続し、メール データをデータベースに取得します。25 MB を超えるサイズのファイルが添付されたメールは受信されません。
- メールのプロセス機能: データベースに保存されている情報をもとに、メールのフィルタリングを行います (自動返信と迷惑メールの除外など)。
ソリューション
ソリューション 1
If there is plan to continue using Jira Service Management. In this case problem will be solved after properly installing JSM.
ソリューション 2
If there are no plans to continue with Jira Service Management.
Solution 2.1
Disable the jira-email-processor-plugin from the Manage Apps page.
Solution 2.2
Remove the jar file jira-email-processor-plugin-xxx.jar from the directory <Jira_HOME>/plugins/installed-plugins
- Jira を停止します。
Clear your plugin cache. To do this, delete completely the 2 following folders.
Not to worry, these 2 folders will be rebuilt when Jira starts:<Jira_HOME>/plugins/.osgi-plugins/ <Jira_HOME>/plugins/.bundled-plugins/
- Go to the directory <Jira_HOME>/plugins/installed-plugins/ and remove jira-email-processor-plugin-xxx.jar
- Jira を起動します。