Backup restore fails when restoring ActiveObjects in Jira

お困りですか?

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

コミュニティに質問

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

    

要約

Backup restoration in Jira may fail when restoring ActiveObjects for numerous reasons. This article lists the most common causes and their respective resolutions.

ActiveObjects is a key part of Jira as it's where all plugin-enabled data and data definition are stored. You may find this List of Jira Server AO table names and vendors very useful in determining from which plugin the error messages refer to.


環境

Most the articles listed here apply to most versions of Jira, as the backup feature hasn't changed much between them. With few exceptions, they should be:

Jira Core: All versions 7 and 8.

Jira Software: All versions 7 and 8.

Jira Service Desk: All versions 3 and 4.


診断

The backup restore starts and then fails somewhere from the middle-to-the-end, when the ActiveObjects are being restored.

The backup restore has 3 major parts:

  1. Restore of the entities.xml
  2. Restore of the activeobjects.xml
  3. Reindex

On the atiassian-jira.log you'll find a message containing either of these exceprts:

There was a problem restoring ActiveObjects data
Error during ActiveObjects restore


原因

  1. Foreign key constraint

  2. Value is too big for column

  3. Restore fails silently due to low Heap space

  4. Backup restore fails with a syntax error in Jira

  5. Backup restore fails with OutOfMemoryError



ソリューション

  1. Foreign key constraint

  2. Value is too big for column

  3. Restore fails silently due to low Heap space

  4. Backup restore fails with a syntax error in Jira

  5. Backup restore fails with OutOfMemoryError




Last modified on Mar 15, 2021

この内容はお役に立ちましたか?

はい
いいえ
この記事についてのフィードバックを送信する
Powered by Confluence and Scroll Viewport.