添付ファイルにラベルを追加できない

プラットフォームについて: 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 は除く

要約

症状

atlassian-confluence.log に次のエラーが返される。

2014-07-04 14:12:16,842 ERROR [http-apr-8080-exec-10] [confluence.ui.rest.LoggingExceptionMapper] toResponse Exception while processing REST request: Hibernate operation: could not insert: [com.atlassian.confluence.labels.Labelling#37289987]; SQL []; Column 'CONTENTID' cannot be null; nested exception is com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Column 'CONTENTID' cannot be null

ソリューション

In this case, labeling does not mean the label table. It means the content_label table.

ソリューション

  • Please ensure that you backup your database before making any modifications

  • Run the following query against the database:

    alter table content_label modify contentid bigint(20) null ;

    ⚠️ If you are unsure of the database connection parameters, refer to How to find Confluence's database connection parameters.

更新日時: September 26, 2025

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

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