Cannot Restore XML Backup due to Database Encoding

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

症状

When importing an XML backup, the following messages appear in the logs:

ERROR [Importing data task] [sf.hibernate.util.JDBCExceptionReporter] logExceptions Duplicate entry '295213' for key 1 - url: /setup/setup-restore.action \| userName: anonymous \| action: setup-restore
ERROR [Importing data task] [sf.hibernate.util.JDBCExceptionReporter] logExceptions Incorrect string value: '\xEF\x81\xA9 No...' for column 'BODY' at row 1 - url: /setup/setup-restore.action | userName: anonymous | action: setup-restore

原因

The database is not set to the correct encoding.

ソリューション

Make sure your database is using the correct encoding. Follow the guide Configuring Database Character Encoding. Confirm that the database is set to UTF-8.

更新日時: September 25, 2025

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

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