Confluence fails to rebuild index and hangs
Platform Notice: Data Center Only - This article only applies to Atlassian apps 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
Confluence fails to rebuild indices. The log contains warning messages like the following:
WARN [confluence-interactive-reindexing-thread] [atlassian.bonnie.index.BaseMultiThreadedIndexer] reindex Timed out while waiting for reindexing threads to terminate. Continuing to wait...
Cause
There is a misconfigured confluence.cfg.xml.
Resolution
Edit <confluence-home>/confluence.cfg.xml. Review the datasource and confirm that it points to the correct datasource rather than (for example) the datasource defined for JIRA user integration.
Was this helpful?