Space Deletion Hangs While Flushing Index Queue

Still need help?

The Atlassian Community is here for you.

Ask the community

Symptoms

Unable to remove a Confluence space, and the process stalls without any progress after a period of time. The message displayed in the process is bar is "Flushing index queue before space removal", as seen in the attachment below:

The following appears in the atlassian-confluence.log:

2014-08-17 15:30:33,567 ERROR [Long running task: Space removal long running task] [officeconnector.index.excel.ExcelXMLTextExtractor] endDocument expected [ 201 ] entries but read [ 205 ]
 -- space: 40402945 | url: /confluence/spaces/doremovespace.action | userName: admin | referer: http://localhost:8090/confluence/spaces/removespace.action?key=~test | action: doremovespace
2014-08-17 15:30:45,509 WARN [Long running task: Space removal long running task] [bonnie.search.extractor.BaseAttachmentContentExtractor] addFields Error indexing attachment (Attachment: test.xls v.1 (1920998888) admin)
 -- space: 40402945 | url: /confluence/spaces/doremovespace.action | userName: admin | referer: http://localhost:8090/confluence/spaces/removespace.action?key=~test | action: doremovespace
com.atlassian.bonnie.search.extractor.ExtractorException: Error reading content of Excel document: Invalid header signature; read 0x6D78206C6D74683C, expected 0xE11AB1A1E011CFD0

Cause

The cause of the issue is due to a bug in Confluence attachment indexing logged here:  CONF-23376 - Getting issue details... STATUS

Resolution

  1. Go to the Confluence administration page and Disable attachment indexing.
  2. Once it's disabled, try to Rebuild indices from scratch
  3. Try to remove the space again

Last modified on Nov 15, 2018

Was this helpful?

Yes
No
Provide feedback about this article
Powered by Confluence and Scroll Viewport.