'Detected ancestors table corruption' error in Confluence 6.5 or later
Platform Notice: Data Center Only - This article only applies to Atlassian products on the Data Center platform.
Note that this KB was created for the Data Center version of the product. Data Center KBs for non-Data-Center-specific features may also work for Server versions of the product, however they have not been tested. 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.
*Except Fisheye and Crucible
Problem
Users report that they can no longer see pages that they would expect to be able to see, and the following appears in the atlassian-confluence.log
:
1
2
3
Detected ancestors table corruption for pageId: 1234567.
Access to this page is blocked for all users as inherited permissions cannot be determined.
To resolve this, rebuild the ancestors table. See https://confluence.atlassian.com/display/DOC/Rebuilding+the+Ancestor+Table
Cause
In Confluence, view page restrictions are inherited from the parent page. This behaviour relies on the ancestors
table in the database. If Confluence detects that there are missing ancestor table entries for a page that a user is trying to access, it will block access to that page. This prevents people inadvertently viewing a page that should not be visible to them (because of the inherited view restrictions).
Resolution
To resolve this issue, you will need to Rebuild the Ancestor Table.
Was this helpful?