Uploaded image for project: 'Nuxeo Platform'
  1. Nuxeo Platform
  2. NXP-31919

Update ImageMagick in 2021 Docker Image

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2021.40
    • Component/s: Docker Image
    • Release Notes Summary:
      ImageMagick was updated to 6.9.12.90-1.el7 in the Nuxeo Docker image.
    • Backlog priority:
      700
    • Sprint:
      nxplatform #90, nxplatform #91

      Description

      Request to update imagemagick in the docker image to the same version used by cloud, which is this version: https://packages.nuxeo.com/#browse/browse:yum-registry:ImageMagick-6.9.12-14.nux.x86_64.rpm

      Scenario:

      • Add the attached xml config to the nxserver/config directory (it converts tiff files to PDFs)
      • Create a Picture document with the tiff file found here

      The following error is seen in the logs:

      org.nuxeo.ecm.platform.commandline.executor.api.CommandException: Error code 134 after 13.19s for command: identify -define registry:temporary-path=#{nuxeo.tmp.dir} -quiet -ping -format '%m %w %h %z %[colorspace]' #{inputFilePath}[0], parameters: java.io.tmpdir=/tmp, nuxeo.tmp.dir=/tmp, inputFilePath=/tmp/clc-convertTIFFToPDF-14778940290097579793/14471993087407231596.tmp.pdf
      

      Running the above command on the server with the PDF that is generated

      [nuxeo@fb558c51db99 tmp]$ identify -define registry:temporary-path=/tmp -quiet -ping -format '%m %w %h %z %[colorspace]' /tmp/clc-convertTIFFToPDF-14778940290097579793/14471993087407231596.tmp.pdf[0]
      Aborted
      [nuxeo@fb558c51db99 tmp]$ echo $?
      134
      

       

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: