Fix SQL Exception on Jira Startup Due to Invalid or Missing Schema

プラットフォームについて: Data Center のみ。 - This article only applies to Atlassian apps on the Data Center プラットフォーム

この KB は Data Center バージョンの製品用に作成されています。Data Center 固有ではない機能の Data Center KB は、製品のサーバー バージョンでも動作する可能性はありますが、テストは行われていません。 Server* 製品のサポートは 2024 年 2 月 15 日に終了しました。Server 製品を実行している場合は、 アトラシアン Server サポート終了 のお知らせにアクセスして、移行オプションを確認してください。

*Fisheye および Crucible は除く

要約

Upon Jira starting up, the following errors are present in atlassian-jira.log:

2007-02-05 16:54:53,112 main WARN [core.entity.jdbc.DatabaseUtil] Entity "ColumnLayoutItem" has no table in the database 2007-02-05 16:54:53,114 main ERROR [core.entity.jdbc.DatabaseUtil] Could not create table "columnlayoutitem" 2007-02-05 16:54:53,114 main ERROR [core.entity.jdbc.DatabaseUtil] SQL Exception while executing the following: CREATE TABLE columnlayoutitem (ID NUMERIC NOT NULL, COLUMNLAYOUT NUMERIC, FIELDIDENTIFIER NVARCHAR(255), HORIZONTALPOSITION NUMERIC, CON STRAINT PK_columnlayoutitem PRIMARY KEY (ID)) Error was: java.sql.SQLException: There is already an object named 'columnlayoutitem' in the database.

ソリューション

原因

The dbconfig.xml file is missing the <schema-name> value. During startup, Jira tries to verify that the table exists - as it does not know what schema to check for, it will be unable to verify the table exists. Jira then tries to recreate the table, and the above exception occurs.

ソリューション

If the schema is not specific, MS SQL will default to dbo, which is not the recommended schema. To fix this, please refer to the steps in Incorrect MS SQL Schema Used.

更新日時: September 26, 2025

さらにヘルプが必要ですか?

アトラシアン コミュニティをご利用ください。