Jira Cloud から Jira Server への移行後に Websudo が無効になる
プラットフォームについて: サーバーと Data Center のみ。この記事は、サーバーおよび Data Center プラットフォームのアトラシアン製品にのみ適用されます。
プラットフォームについて: Server、Data Center、および Cloud (状況に応じる) - この記事はアトラシアンの Server および Data Center プラットフォーム向けに記述されていますが、Atlassian Cloud のカスタマーも記事の内容を利用できる可能性があります。この記事で説明されている手順の実施が役立つと考えられる場合、アトラシアン サポートにお問い合わせのうえ、この記事について言及してください。
問題
After migrating from JIRA Cloud to JIRA Server, Secure Administrator Sessions are disabled. When you go to the administrator page section it does not ask for your password again.
診断
- Run below SQL query. This will return one entry if exist in JIRA database, list down the ID # which will be needed under workaround section. If no results return, DO NOT perform the workaround. NOTE: Even editing the jira-config.properties file with jira.websudo.is.disabled = false (or toggling it between false and true) does not enable the Secure Administrator session login prompt.
select * from propertyentry where property_key like '%websudo%';
Example Output:
id | entity_name | entity_id | property_key | propertytype
-------+-----------------+-----------+--------------------------+--------------
10044 | jira.properties | 1 | jira.websudo.is.disabled | 1
原因
JIRA database data came from cloud instance will have this entry jira.websudo.is.disabled property and propertytype set to 1(True) in DB propertyentry table.
回避策
データベースの変更を行う場合は必ず事前にバックアップを取得してください。可能な場合は、まずステージング サーバーで SQL コマンドの変更、挿入、更新、または削除を行うようにします。
Perform below steps if you get a result from above SQL query and propertytype is 1.
- Shutdown JIRA
Run below SQL query to update the propertytype value from 1 (T) to 0 (F). Replace <ID> below with the correct ID(above example would be 10044).
UPDATE propertyentry set propertytype=0 where id=<ID>;
- Jira を起動します。
- Log-in to JIRA and verify the change under Administration -> System Info page, search for jira.websudo.is.disabled property and value should show as false.
Reference:
JRA-44554 - Cannot enable Secure Administrator Sessions after Cloud Migration.