Cannot index test instance confluence
Asked by Rahul Aich [Nagra]:

Hi

I recently created a test confluence instance. Got a copy of the database and copied over the entire attachments folder over to test server. But now when i try to do content index it throws errors

How do i get rid of these errors?

reindex  
2014-09-26 06:23:20,850 ERROR \[Indexer: 2\] \[atlassian.confluence.pages.DefaultAttachmentManager\] getAttachmentData Could not find data for attachment: Attachment: TeleNotesR1.33.33.3.2.pdf v.1 (7034) [wcssfs@oszddsfsd.com](mailto:wcssfs@oszddsfsd.com) - [java.io](http://java.io).FileNotFoundException: D:\\Confluence\\Application Data\\Confluence\\attachments\\ver02\\242442\\22\\4343\\3434\\2323\\23323086 (The system cannot find the path specified)

reindex  
2014-09-26 06:23:26,147 ERROR \[Indexer: 2\] \[pdfbox.pdmodel.font.PDCIDFont\] determineEncoding Error: Could not parse predefined CMAP file for 'Adobe-S2'

reindex  
2014-09-26 06:23:38,663 ERROR \[Indexer: 2\] \[atlassian.confluence.pages.DefaultAttachmentManager\] getAttachmentData Could not find data for attachment: Attachment: Misdfcn N2fr443v2A.xml v.1 (70942883) twang - [java.io](http://java.io).FileNotFoundException: D:\\Conf\\Application Data\\Confluence\\attachments\\ver003\\8322\\2324\\243243\\343\\2883 (The system cannot find the path specified)

reindex  
2014-09-26 06:23:39,834 ERROR \[Indexer: 1\] \[pdfbox.pdmodel.font.PDCIDFont\] determineEncoding Error: Could not parse predefined CMAP file for 'AdozscsadUCS2'

reindex  
2014-09-26 06:07:04,657 ERROR \[Indexer: 2\] \[confluence.extra.calendar3.DefaultEmbeddedSubCalendarsParser\] getEmbeddedSubCalendarIds Unable to parse sub-calendars embedded in spacedesc: NAND Flash Support v.2 (376sdfsdf8)

com.atlassian.confluence.content.render.xhtml.XhtmlParsingException: The XML content could not be parsed. There is a problem at line 1, column 733. Parser message: Unexpected character \&#39; \&#39; (code 32) (missing name?)  
at \[row,col {unknown-source}\]: \[1,761\]


Answers:
author: Septa Cahyadiputra
body: Hi Aich,

Regarding this ERROR

```
2014-09-26 06:23:26,147 ERROR [Indexer: 2] [pdfbox.pdmodel.font.PDCIDFont] determineEncoding Error: Could not parse predefined CMAP file for 'Adobe-S2'
```

This is due to Confluence unable to open the pdf file, possibly because it's encrypted. Please refer to our bug report here:

<https://jira.atlassian.com/browse/CONF-25164>

You might want to [disable attachment indexing](https://confluence.atlassian.com/display/CONFKB/How+Do+I+Disable+Indexing+of+Attachments).

Regarding this ERROR

```
2014-09-26 06:23:38,663 ERROR [Indexer: 2] [atlassian.confluence.pages.DefaultAttachmentManager] getAttachmentData Could not find data for attachment: Attachment: Misdfcn N2fr443v2A.xml v.1 (70942883) twang - java.io.FileNotFoundException: D:\Conf\Application Data\Confluence\attachments\ver003\8322\2324\243243\343\2883 (The system cannot find the path specified)
```

You could try to review our knowledge base article [here](https://confluence.atlassian.com/display/CONFKB/Resolve+Missing+Attachments+in+Confluence).

Hope it helps.

Cheers,  
Septa Cahyadiputra

comments: author: Rahul Aich [Nagra]
body: thanks Septa...that helps


Tags: confluence-administration