Disable PDF Metadata

cancel
Showing results for 
Search instead for 
Did you mean: 
jeffreyman
Active Member II

Disable PDF Metadata

Jump to solution

We have added encryption on PDF file when importing into ACS. However, it shows the following error.

2021-03-18 00:00:18,171 WARN [org.alfresco.repo.content.metadata.AbstractMappingMetadataExtracter] [http-nio-8080-exec-6] Metadata extraction failed (turn on DEBUG for full error): Extracter: org.alfresco.repo.content.metadata.PdfBoxMetadataExtracter@31aa447 Content: ContentAccessor[ contentUrl=store://2021/3/18/0/0/a3babc45-ef23-4fe3-a6e7-aa83338cd6df.bin, mimetype=application/pdf, size=18483, encoding=UTF-8, locale=en_HK] Failure: Error: Header doesn't contain versioninfonull

How to disable this?

1 Solution

Accepted Solutions
sanjaybandhniya
Intermediate

Re: Disable PDF Metadata

Jump to solution

You can disable automatic metadata extraction.

extracter.PDFBox.enabled=false
extracter.TikaAuto.enabled=false

View solution in original post

2 Replies
sufo
Established Member II

Re: Disable PDF Metadata

Jump to solution

You can set loglevel to INFO on the class org.alfresco.repo.content.metadata.AbstractMappingMetadataExtracter, but you will not see other warnings from it.

sanjaybandhniya
Intermediate

Re: Disable PDF Metadata

Jump to solution

You can disable automatic metadata extraction.

extracter.PDFBox.enabled=false
extracter.TikaAuto.enabled=false