Unable to Delete Space

お困りですか?

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

コミュニティに質問

症状

An error is thrown when deleting a space. Appearing in the logs is one of:

  • a constraint violation
  • a NullPointerException
  • a org.springframework.dao.DataIntegrityViolationException

診断

There is an invalid entry or foreign key relationship in the database. Inspect the stack trace you receive from the error. See below for the corresponding solution.

原因とソリューション

 

org.springframework.dao.IncorrectResultSizeDataAccessException: query did not return a unique result

There are duplicate labels in the database. This issue is tracked in CONF-5254 - Getting issue details... STATUS .

org.springframework.dao.DataIntegrityViolationException: Hibernate operation: could not delete com.atlassian.confluence.pages.templates.PageTemplate

 

This issue is tracked in CONF-19490 - Getting issue details... STATUS . It was resolved in Confluence 3.3. Please see the bug report for the workaround if you are on 3.3 or before.

org.springframework.dao.DataIntegrityViolationException: Hibernate operation: could not delete com.atlassian.confluence.pages.Attachment

This issue is tracked in  CONF-19611 - Getting issue details... STATUS . It was resolved in Confluence 4.1.2. Please see the bug report for the workaround if you are on 4.1.2 or before.

Further Help

tip/resting Created with Sketch.

If you are unable to access the space at all from the UI, you can run the deletion from the URL directly at http://<baseURL>/spaces/removespace.action?key=<insert space key>. If that fails to work, refer to the documentation on Manually Deleting a Space.

If you find you're still having problems, you may need to get a bit more information about what specifically is causing problems.

  1. If you can reproduce the problem on a test instance, use these steps there before trying this in production.
  2. Confluence をシャットダウンします。
  3. Enable sql logging with parameters.
  4. Restart Confluence and attempt to delete the space, recreating the error.
  5. View the atlassian-confluence.log. You'll find the culprit space and the offending database row.
  6. If you have any questions about which rows to delete, create a support ticket and attach the detailed logs.

最終更新日: 2015 年 9 月 7 日

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

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