Preview stop working after an update with error "Abnormal program termination: 1"

Symptons

After an OpenKM upgrade the preview feature stopped to working. The application raise an error "Abnormal program termination: 1".

2018-10-15 09:21:03,881 [http-bio-0.0.0.0-8180-exec-1] WARN  c.o.p.c.RemoteMsOfficeToPdfConversion - Empty 'remote.msoffice.conversion.service' configuration property
2018-10-15 09:21:04,052 [http-bio-0.0.0.0-8180-exec-1] WARN  com.openkm.util.ExecutionUtils - Abnormal program termination: 1
2018-10-15 09:21:04,052 [http-bio-0.0.0.0-8180-exec-1] WARN  com.openkm.util.ExecutionUtils - CommandLine: [/usr/bin/convert, -bordercolor, #FFF, -border, 2x2, -density, 150, -quality, 100, /tmp/okm6333058056076744327.docx[0], /tmp/okm5351749050081971472.png]
2018-10-15 09:21:04,052 [http-bio-0.0.0.0-8180-exec-1] WARN  com.openkm.util.ExecutionUtils - STDERR: convert: unable to open image `/tmp/okm6333058056076744327.docx': No existe el archivo o el directorio @ error/blob.c/OpenBlob/2641.
convert: no decode delegate for this image format `/tmp/okm6333058056076744327.docx' @ error/constitute.c/ReadImage/544.
convert: no images defined `/tmp/okm5351749050081971472.png' @ error/convert.c/ConvertImageCommand/3044.

Cause

After an OpenKM upgrade has been enabled by default the Convert plugin named "RemoteMsOfficeToPdfConversion" or "OfficeUnoToPdfConversion". Both should be disabled.

Solution

  • Go to Administration > Tools > Plugins.
  • In the top right choose Plugins com.openkm.plugin.conversion.Converter.
  • Disable the plugins named:
    • com.openkm.plugin.conversion.OfficeUnoToPdfConversion
    • com.openkm.plugin.conversion.RemoteMsOfficeToPdfConversion

Properties

Properties

Date

2018-10-15

Applies to

  • Core

Keywords

  • Professional
  •   
  • 6.4.x_Pro
  •