cancel
Showing results for 
Search instead for 
Did you mean: 

Can´t figure out where to put metadata extractor inside ACS 7.0 transform-core-aio docker image

iohann95
Confirmed Champ
Confirmed Champ

Hello,

I'm trying to change the default property mappings on PDF metadata extraction, as explained on the official documentation:

https://docs.alfresco.com/content-services/community/develop/repo-ext-points/metadata-extractors/#ch...

But i can't figure out where to put the PdfBoxMetadataExtractor_metadata_extract.properties

I suppose it's inside the transform-core-aio image, but I can't figure out in what directory.

I knew how to do it on version 6.0, with the old xml method, but seems that it changed.

Thank you all!

2 ACCEPTED ANSWERS

angelborroy
Community Manager Community Manager
Community Manager

afaust
Legendary Innovator
Legendary Innovator

You need to put it in the directory that Angel linked, and re-build the image as a custom image for your deployment from the source project. AFAIK there is no support for a simple "configuration file mounted into container" type of extension that you may be looking for, where you only put the file into the container at a particular path.

View answer in original post

4 REPLIES 4

angelborroy
Community Manager Community Manager
Community Manager

On the configuration link, you are redirected to:

https://github.com/Alfresco/alfresco-transform-core/blob/master/alfresco-transform-tika/alfresco-tra...

Hyland Developer Evangelist

Hello, thank you the explanation.

But I read the article, and the link doesn't explain in what directory to put the configuration file.

Regards.

afaust
Legendary Innovator
Legendary Innovator

You need to put it in the directory that Angel linked, and re-build the image as a custom image for your deployment from the source project. AFAIK there is no support for a simple "configuration file mounted into container" type of extension that you may be looking for, where you only put the file into the container at a particular path.

Unfortunately, no matter what I do, I just can't compile this project.

In the end, I always get the same error:

[ERROR] F8: Failed to execute the build: io.fabric8.maven.docker.access.DockerAccessException: Unable to build image [alfresco/alfresco-imagemagick:latest] : Connection reset by peer

If anone knows what may be going on, I would appreciate it. Thanks!