Alfresco Transformer Error

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

Alfresco Transformer Error

Jump to solution

Hi Everyone,

Recently in log file of alfresco miss errror:

org.alfresco.service.cmr.rendition.RenditionServiceException: 06240958 Transformer for 'application/x-rar' source mime type and 'image/png' target mime type was not found. Operation can't be performed
at org.alfresco.repo.rendition.executer.AbstractTransformationRenderingEngine.render(AbstractTransformationRenderingEngine.java:194)
at org.alfresco.repo.rendition.executer.ImageRenderingEngine.render(ImageRenderingEngine.java:272)
at org.alfresco.repo.rendition.executer.AbstractRenderingEngine.executeRenditionImpl(AbstractRenderingEngine.java:530)
at org.alfresco.repo.rendition.executer.AbstractRenderingEngine$1.doWork(AbstractRenderingEngine.java:462)
at org.alfresco.repo.rendition.executer.AbstractRenderingEngine$1.doWork(AbstractRenderingEngine.java:1)
at org.alfresco.repo.security.authentication.AuthenticationUtil.runAs(AuthenticationUtil.java:555)
at org.alfresco.repo.rendition.executer.AbstractRenderingEngine.executeImpl(AbstractRenderingEngine.java:444)
at org.alfresco.repo.rendition.executer.AbstractRenderingEngine.executeImpl(AbstractRenderingEngine.java:387)
at org.alfresco.repo.action.executer.ActionExecuterAbstractBase.execute(ActionExecuterAbstractBase.java:273)
at org.alfresco.repo.action.ActionServiceImpl.directActionExecution(ActionServiceImpl.java:856)
at org.alfresco.repo.action.ActionServiceImpl.executeActionImpl(ActionServiceImpl.java:757)
at org.alfresco.repo.action.AsynchronousActionExecutionQueueImpl$ActionExecutionWrapper$1$1.execute(AsynchronousActionExecutionQueueImpl.java:430)
at org.alfresco.repo.transaction.RetryingTransactionHelper.doInTransaction(RetryingTransactionHelper.java:464)
at org.alfresco.repo.transaction.RetryingTransactionHelper.doInTransaction(RetryingTransactionHelper.java:333)
at org.alfresco.repo.action.AsynchronousActionExecutionQueueImpl$ActionExecutionWrapper$1.doWork(AsynchronousActionExecutionQueueImpl.java:439)
at org.alfresco.repo.tenant.TenantUtil.runAsWork(TenantUtil.java:126)
at org.alfresco.repo.tenant.TenantUtil.runAsTenant(TenantUtil.java:95)
at org.alfresco.repo.tenant.TenantUtil$1.doWork(TenantUtil.java:69)
at org.alfresco.repo.security.authentication.AuthenticationUtil.runAs(AuthenticationUtil.java:555)
at org.alfresco.repo.tenant.TenantUtil.runAsUserTenant(TenantUtil.java:65)
at org.alfresco.repo.action.AsynchronousActionExecutionQueueImpl$ActionExecutionWrapper.run(AsynchronousActionExecutionQueueImpl.java:442)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)

In alfresco-global.properties, I've already config 


ooo.enabled=true
ooo.port=8100
ooo.host=libreoffice.los.shbfinance.com.vn

img.root=/usr/share/doc/ImageMagick-6.7.8.9
img.exe=/usr/bin/convert
img.config=${img.root}
img.coders=/usr/lib64/ImageMagick-6.7.8/modules-Q16/coders
img.dyn=/usr/local/lib
img.gslib=/usr/local/lib


alfresco-pdf-renderer.root=/opt
alfresco-pdf-renderer.exe=${alfresco-pdf-renderer.root}/alfresco-pdf-renderer

cifs.enabled=false
ftp.enabled=false
imap.server.enabled=false
alfresco.rmi.services.host=0.0.0.0
monitor.rmi.service.port=0

index.subsystem.name=solr6

solr.host=solr6.los.shbfinance.com.vn
solr.port=8983
solr.port.ssl=8984
solr.secureComms=none


extracter.TikaAuto.enabled=false

### E-mail site invitation setting ###
notification.email.siteinvite=false
# 21012019
content.transformer.OpenOffice.extensions.docx.pdf.maxSourceSizeKBytes=10240
# golive
activities.feed.notifier.enabled=false
content.transformer.retryOn.different.mimetype=true
content.transformer.strict.mimetype.check=true
transformer.strict.mimetype.check.whitelist.mimetypes= text/csv;application/msword;application/vnd.openxmlformats-officedocument.wordprocessingml.document;image/jpeg;application/vnd.oasis.opendocument.presentation;application/vnd.oasis.opendocument.spreadsheet;application/vnd.oasis.opendocument.text;image/png;application/pdf;application/vnd.ms-excel;application/vnd.openxmlformats-officedocument.spreadsheetml.sheet;application/zip;text/plain;image/gif

So anyone can give some advise about this?

1 Solution

Accepted Solutions
Highlighted
Intermediate II

Re: Alfresco Transformer Error

Jump to solution

application/vnd.openxmlformats-officedocument.wordprocessingml.document is the mimetype of docx ,it has noting to do with that you cannot preview documents on alfresco share.

Please check you that you installed trasform service and enabled it in your alfresco-global.properties 

local.transform.service.enabled=true

or you enabled legacy transform service

legacy.transform.service.enabled=true

 

View solution in original post

4 Replies
Highlighted
Active Member II

Re: Alfresco Transformer Error

Jump to solution

Hi,

 

I got the same error since i upgrade my alfresco community 5.2 -GA for 6.1.2 -GA ,  strangely the format of microsoft word documents (doc, docx, ppt, xls) changed to the format application/vnd.openxmlformats-officedocument.wordprocessingml.document'  and i cannot preview documents on alfresco share. 

does anyone know how to solve this problem?

 

Thanks,MymeType error alfresco transform microsoft officeMymeType error alfresco transform microsoft office

Highlighted
Intermediate II

Re: Alfresco Transformer Error

Jump to solution

application/vnd.openxmlformats-officedocument.wordprocessingml.document is the mimetype of docx ,it has noting to do with that you cannot preview documents on alfresco share.

Please check you that you installed trasform service and enabled it in your alfresco-global.properties 

local.transform.service.enabled=true

or you enabled legacy transform service

legacy.transform.service.enabled=true

 

View solution in original post

Highlighted
Active Member II

Re: Alfresco Transformer Error

Jump to solution

Hi, @kaynezhang ,

Thanks for the rapid response,

Now it works, i was missing the parameter 

local.transform.service.enabled=true

 

 

Highlighted
Community Manager
Community Manager

Re: Alfresco Transformer Error

Jump to solution

Hi @dnhatsave,

Great that you've now got it working & thanks for updating your thread. I'll mark @kaynezhang's answer as solution to help others. 

Best wishes,

Digital Community Manager, Alfresco Software.
Problem solved? Click Accept as Solution!