7 hours ago
Hello,
I have installed Alfresco 23.2.1. This installation runs fine (with ooo and imagemagick). Some users now ask me why imagemagick converter doesn't run anymore.
Of course, I have checked catalina.out output and I have found:
Caused by: org.alfresco.error.AlfrescoRuntimeException: 08091105 imagemagick returned a 400 status Transformer exit code was not 0: \nCannot run program \"/usr/bin/convert\": error=0, Failed to exec spawn helper: pid: 31305, exit value: 1 http://localhost:8090/transform targetExtension=jpg startPage=0 resizeWidth=960 sourceEncoding=UTF-8 alphaRemove=true autoOrient=true endPage=0 resizeHeight=960 allowEnlargement=false maintainAspectRatio=true sourceMimetype=image/jpeg sourceExtension=jpg targetMimetype=image/jpeg
OK. Cannot run program \"/usr/bin/convert\"... I understand that transform core cannot execute /usr/bin/convert.
But /usr/bin/convert exists:
Root rayleigh:[/var/log/tomcat10] > ls -l /usr/bin/convert
lrwxrwxrwx 1 root root 25 3 nov. 2016 /usr/bin/convert -> /etc/alternatives/convert
Root rayleigh:[/var/log/tomcat10] > ls -l /etc/alternatives/convert
lrwxrwxrwx 1 root root 24 3 nov. 2016 /etc/alternatives/convert -> /usr/bin/convert-im7.q16
Root rayleigh:[/var/log/tomcat10] > ls -l /usr/bin/convert-im6.q16
-rwxr-xr-x 1 root root 14720 15 oct. 2024 /usr/bin/convert-im6.q16
Executable runs fine from command line.
Help will be welcome.
Regards,
JB
7 hours ago
Sorry for the noise. I have tried to found a solution since this morning. I suppose core-transform has crashed. I have restarted once again core-transform and now, imagemagick runs as expected.
Explore our Alfresco products with the links below. Use labels to filter content by product module.