CameraRAW Preview not working!

Detailed Information

convert -version
Version: ImageMagick 6.9.10-23 Q16 arm 20190101

ldconfig -p | grep libjpeg
libjpegxr.so.0 (libc6,hard-float) => /usr/lib/arm-linux-gnueabihf/libjpegxr.so.0
libjpeg.so.62 (libc6,hard-float) => /usr/lib/arm-linux-gnueabihf/libjpeg.so.62

convert -list format

   Format  Module    Mode  Description
-------------------------------------------------------------------------------
      3FR  DNG       r--   Hasselblad CFV/H3D39II
      3G2  MPEG      r--   Media Container
      3GP  MPEG      r--   Media Container
      AAI* AAI       rw+   AAI Dune image
       AI  PDF       rw-   Adobe Illustrator CS2
      ART* ART       rw-   PFS: 1st Publisher Clip Art
      ARW  DNG       r--   Sony Alpha Raw Image Format
      AVI  MPEG      r--   Microsoft Audio/Visual Interleaved
      AVS* AVS       rw+   AVS X image
      BGR* BGR       rw+   Raw blue, green, and red samples
     BGRA* BGR       rw+   Raw blue, green, red, and alpha samples
     BGRO* BGR       rw+   Raw blue, green, red, and opacity samples
      BIE* JBIG      rw-   Joint Bi-level Image experts Group interchange format (2.1)
      BMP* BMP       rw-   Microsoft Windows bitmap image
     BMP2* BMP       rw-   Microsoft Windows bitmap image (V2)
     BMP3* BMP       rw-   Microsoft Windows bitmap image (V3)
      BRF* BRAILLE   -w-   BRF ASCII Braille format
      CAL* CALS      rw-   Continuous Acquisition and Life-cycle Support Type 1
           Specified in MIL-R-28002 and MIL-PRF-28002
     CALS* CALS      rw-   Continuous Acquisition and Life-cycle Support Type 1
           Specified in MIL-R-28002 and MIL-PRF-28002
   CANVAS* XC        r--   Constant image uniform color
  CAPTION* CAPTION   r--   Caption
      CIN* CIN       rw-   Cineon Image File
      CIP* CIP       -w-   Cisco IP phone image format
     CLIP* CLIP      rw+   Image Clip Mask
     CMYK* CMYK      rw+   Raw cyan, magenta, yellow, and black samples
    CMYKA* CMYK      rw+   Raw cyan, magenta, yellow, black, and alpha samples
      CR2  DNG       r--   Canon Digital Camera Raw Image Format
      CRW  DNG       r--   Canon Digital Camera Raw Image Format
      CUR* ICON      rw-   Microsoft icon
      CUT* CUT       r--   DR Halo
     DATA* INLINE    rw+   Base64-encoded inline images
      DCM* DCM       r--   Digital Imaging and Communications in Medicine image
           DICOM is used by the medical community for images like X-rays.  The
           specification, "Digital Imaging and Communications in Medicine
           (DICOM)", is available at http://medical.nema.org/.  In particular,
           see part 5 which describes the image encoding (RLE, JPEG, JPEG-LS),
           and supplement 61 which adds JPEG-2000 encoding.
      DCR  DNG       r--   Kodak Digital Camera Raw Image File
      DCX* PCX       rw+   ZSoft IBM PC multi-page Paintbrush
      DDS* DDS       rw+   Microsoft DirectDraw Surface
    DFONT* TTF       r--   Multi-face font package (Freetype 2.9.1)
     DJVU* DJVU      r--   Deja vu
           See http://www.djvuzone.org/ for details about the DJVU format.  The
           DJVU 1.2 specification is available there and at
           ftp://swrinde.nde.swri.edu/pub/djvu/documents/.
      DNG  DNG       r--   Digital Negative
      DOT  DOT       ---   Graphviz
      DPX* DPX       rw-   SMPTE 268M-2003 (DPX 2.0)
           Digital Moving Picture Exchange Bitmap, Version 2.0.
           See SMPTE 268M-2003 specification at http://www.smtpe.org

     DXT1* DDS       rw+   Microsoft DirectDraw Surface
     DXT5* DDS       rw+   Microsoft DirectDraw Surface
     EPDF  PDF       rw-   Encapsulated Portable Document Format
      EPI  PS        rw-   Encapsulated PostScript Interchange format
      EPS  PS        rw-   Encapsulated PostScript
     EPS2  PS2       -w-   Level II Encapsulated PostScript
     EPS3  PS3       -w+   Level III Encapsulated PostScript
     EPSF  PS        rw-   Encapsulated PostScript
     EPSI  PS        rw-   Encapsulated PostScript Interchange format
      EPT  EPT       rw-   Encapsulated PostScript with TIFF preview
     EPT2  EPT       rw-   Encapsulated PostScript Level II with TIFF preview
     EPT3  EPT       rw+   Encapsulated PostScript Level III with TIFF preview
      ERF  DNG       r--   Epson Raw Format
      EXR  EXR       rw-   High Dynamic-range (HDR)
      FAX* FAX       rw+   Group 3 FAX
           FAX machines use non-square pixels which are 1.5 times wider than
           they are tall but computer displays use square pixels, therefore
           FAX images may appear to be narrow unless they are explicitly
           resized using a geometry of "150x100%".

     FILE* URL       r--   Uniform Resource Locator (file://)
     FITS* FITS      rw-   Flexible Image Transport System
  FRACTAL* PLASMA    r--   Plasma fractal image
      FTP* URL       r--   Uniform Resource Locator (ftp://)
      FTS* FITS      rw-   Flexible Image Transport System
       G3* FAX       rw-   Group 3 FAX
       G4* FAX       rw-   Group 4 FAX
      GIF* GIF       rw+   CompuServe graphics interchange format
    GIF87* GIF       rw-   CompuServe graphics interchange format (version 87a)
 GRADIENT* GRADIENT  r--   Gradual linear passing from one shade to another
     GRAY* GRAY      rw+   Raw gray samples
    GRAYA* GRAY      rw+   Raw gray and alpha samples
   GROUP4* TIFF      rw-   Raw CCITT Group4
       GV  DOT       ---   Graphviz
        H* MAGICK    -w-   Image expressed as a 'C/C++' char array
     HALD* HALD      r--   Identity Hald color lookup table image
      HDR* HDR       rw+   Radiance RGBE image format
     HEIC* GIF       rw-   Apple High efficiency Image Format
HISTOGRAM* HISTOGRAM -w-   Histogram of the image
      HRZ* HRZ       rw-   Slow Scan TeleVision
      HTM* HTML      -w-   Hypertext Markup Language and a client-side image map
     HTML* HTML      -w-   Hypertext Markup Language and a client-side image map
     HTTP* URL       r--   Uniform Resource Locator (http://)
    HTTPS* URL       ---   Uniform Resource Locator (https://)
      ICB* TGA       rw-   Truevision Targa image
      ICO* ICON      rw+   Microsoft icon
     ICON* ICON      rw-   Microsoft icon
      IIQ  DNG       r--   Phase One Raw Image Format
     INFO  INFO      -w+   The image format and characteristics
   INLINE* INLINE    rw+   Base64-encoded inline images
      IPL* IPL       rw+   IPL Image Sequence
   ISOBRL* BRAILLE   -w-   ISO/TR 11548-1 format
  ISOBRL6* BRAILLE   -w-   ISO/TR 11548-1 format 6dot
      J2C* JP2       rw-   JPEG-2000 Code Stream Syntax (2.3.0)
      J2K* JP2       rw-   JPEG-2000 Code Stream Syntax (2.3.0)
      JBG* JBIG      rw+   Joint Bi-level Image experts Group interchange format (2.1)
     JBIG* JBIG      rw+   Joint Bi-level Image experts Group interchange format (2.1)
      JNG* PNG       rw-   JPEG Network Graphics
           See http://www.libpng.org/pub/mng/ for details about the JNG
           format.
      JNX* JNX       r--   Garmin tile format
      JP2* JP2       rw-   JPEG-2000 File Format Syntax (2.3.0)
      JPC* JP2       rw-   JPEG-2000 Code Stream Syntax (2.3.0)
      JPE* JPEG      rw-   Joint Photographic Experts Group JFIF format (libjpeg-turbo 1.5.2)
     JPEG* JPEG      rw-   Joint Photographic Experts Group JFIF format (libjpeg-turbo 1.5.2)
      JPG* JPEG      rw-   Joint Photographic Experts Group JFIF format (libjpeg-turbo 1.5.2)
      JPM* JP2       rw-   JPEG-2000 Code Stream Syntax (2.3.0)
      JPS* JPEG      rw-   Joint Photographic Experts Group JFIF format (libjpeg-turbo 1.5.2)
      JPT* JP2       rw-   JPEG-2000 File Format Syntax (2.3.0)
     JSON  JSON      -w+   The image format and characteristics
      K25  DNG       r--   Kodak Digital Camera Raw Image Format
      KDC  DNG       r--   Kodak Digital Camera Raw Image Format
    LABEL* LABEL     r--   Image label
      M2V  MPEG      rw+   MPEG Video Stream
      M4V  MPEG      rw+   Raw MPEG-4 Video
      MAC* MAC       r--   MAC Paint
   MAGICK* MAGICK    rw-   Predefined Magick Image (LOGO, ROSE, etc.); output same as 'H'
      MAP* MAP       rw-   Colormap intensities and indices
     MASK* MASK      rw+   Image Clip Mask
      MAT  MAT       rw+   MATLAB level 5 image format
    MATTE* MATTE     -w+   MATTE format
      MEF  DNG       r--   Mamiya Raw Image File
     MIFF* MIFF      rw+   Magick Image File Format
      MKV  MPEG      rw+   Multimedia Container
      MNG* PNG       rw+   Multiple-image Network Graphics (libpng 1.6.36)
           See http://www.libpng.org/pub/mng/ for details about the MNG
           format.
     MONO* MONO      rw-   Raw bi-level bitmap
      MOV  MPEG      rw+   MPEG Video Stream
      MP4  MPEG      rw+   MPEG-4 Video Stream
      MPC* MPC       rw+   Magick Persistent Cache image format
     MPEG  MPEG      rw+   MPEG Video Stream
      MPG  MPEG      rw+   MPEG Video Stream
      MRW  DNG       r--   Sony (Minolta) Raw Image File
      MSL* MSL       rw+   Magick Scripting Language
     MSVG  SVG       rw+   ImageMagick's own SVG internal renderer
      MTV* MTV       rw+   MTV Raytracing image format
      MVG* MVG       rw-   Magick Vector Graphics
      NEF  DNG       r--   Nikon Digital SLR Camera Raw Image File
      NRW  DNG       r--   Nikon Digital SLR Camera Raw Image File
     NULL* NULL      rw-   Constant image of uniform color
      ORF  DNG       r--   Olympus Digital Camera Raw Image File
      OTB* OTB       rw-   On-the-air bitmap
      OTF* TTF       r--   Open Type font (Freetype 2.9.1)
      PAL* UYVY      rw-   16bit/pixel interleaved YUV
     PALM* PALM      rw+   Palm pixmap
      PAM* PNM       rw+   Common 2-dimensional bitmap format
    PANGO* PANGO     r--   Pango Markup Language (Pangocairo 1.42.3)
  PATTERN* PATTERN   r--   Predefined pattern
      PBM* PNM       rw+   Portable bitmap format (black and white)
      PCD* PCD       rw-   Photo CD
     PCDS* PCD       rw-   Photo CD
      PCL  PCL       rw+   Printer Control Language
      PCT* PICT      rw-   Apple Macintosh QuickDraw/PICT
      PCX* PCX       rw-   ZSoft IBM PC Paintbrush
      PDB* PDB       rw+   Palm Database ImageViewer Format
      PDF  PDF       rw+   Portable Document Format
     PDFA  PDF       rw+   Portable Document Archive Format
      PEF  DNG       r--   Pentax Electronic File
      PES* PES       r--   Embrid Embroidery Format
      PFA* TTF       r--   Postscript Type 1 font (ASCII) (Freetype 2.9.1)
      PFB* TTF       r--   Postscript Type 1 font (binary) (Freetype 2.9.1)
      PFM* PFM       rw+   Portable float format
      PGM* PNM       rw+   Portable graymap format (gray scale)
      PGX* PGX       rw-   JPEG 2000 uncompressed format
    PICON* XPM       rw-   Personal Icon
     PICT* PICT      rw-   Apple Macintosh QuickDraw/PICT
      PIX* PIX       r--   Alias/Wavefront RLE image format
    PJPEG* JPEG      rw-   Joint Photographic Experts Group JFIF format (libjpeg-turbo 1.5.2)
   PLASMA* PLASMA    r--   Plasma fractal image
      PNG* PNG       rw-   Portable Network Graphics (libpng 1.6.36)
           See http://www.libpng.org/ for details about the PNG format.
    PNG00* PNG       rw-   PNG inheriting bit-depth, color-type from original if possible
    PNG24* PNG       rw-   opaque or binary transparent 24-bit RGB (zlib 1.2.11)
    PNG32* PNG       rw-   opaque or transparent 32-bit RGBA
    PNG48* PNG       rw-   opaque or binary transparent 48-bit RGB
    PNG64* PNG       rw-   opaque or transparent 64-bit RGBA
     PNG8* PNG       rw-   8-bit indexed with optional binary transparency
      PNM* PNM       rw+   Portable anymap
      PPM* PNM       rw+   Portable pixmap format (color)
  PREVIEW* PREVIEW   -w-   Show a preview an image enhancement, effect, or f/x
       PS  PS        rw+   PostScript
      PS2  PS2       -w+   Level II PostScript
      PS3  PS3       -w+   Level III PostScript
      PSB* PSD       rw+   Adobe Large Document Format
      PSD* PSD       rw+   Adobe Photoshop bitmap
     PTIF* TIFF      rw+   Pyramid encoded TIFF
      PWP* PWP       r--   Seattle Film Works
RADIAL-GRADIENT* GRADIENT  r--   Gradual radial passing from one shade to another
      RAF  DNG       r--   Fuji CCD-RAW Graphic File
      RAS* SUN       rw+   SUN Rasterfile
      RAW  DNG       r--   Raw
      RGB* RGB       rw+   Raw red, green, and blue samples
     RGBA* RGB       rw+   Raw red, green, blue, and alpha samples
     RGBO* RGB       rw+   Raw red, green, blue, and opacity samples
      RGF* RGF       rw-   LEGO Mindstorms EV3 Robot Graphic Format (black and white)
      RLA* RLA       r--   Alias/Wavefront image
      RLE* RLE       r--   Utah Run length encoded image
      RMF  DNG       r--   Raw Media Format
      RW2  DNG       r--   Panasonic Lumix Raw Image
      SCR* SCR       r--   ZX-Spectrum SCREEN$
      SCT* SCT       r--   Scitex HandShake
      SFW* SFW       r--   Seattle Film Works
      SGI* SGI       rw+   Irix RGB image
    SHTML* HTML      -w-   Hypertext Markup Language and a client-side image map
      SIX* SIXEL     rw-   DEC SIXEL Graphics Format
    SIXEL* SIXEL     rw-   DEC SIXEL Graphics Format
SPARSE-COLOR* TXT       -w+   Sparse Color
      SR2  DNG       r--   Sony Raw Format 2
      SRF  DNG       r--   Sony Raw Format
  STEGANO* STEGANO   r--   Steganographic image
      SUN* SUN       rw+   SUN Rasterfile
      SVG  SVG       rw+   Scalable Vector Graphics (XML 2.9.4)
     SVGZ  SVG       rw+   Compressed Scalable Vector Graphics (XML 2.9.4)
     TEXT* TXT       rw+   Text
      TGA* TGA       rw-   Truevision Targa image
THUMBNAIL* THUMBNAIL -w+   EXIF Profile Thumbnail
     TIFF* TIFF      rw+   Tagged Image File Format (LIBTIFF, Version 4.1.0)
   TIFF64* TIFF      rw-   Tagged Image File Format (64-bit) (LIBTIFF, Version 4.1.0)
     TILE* TILE      r--   Tile image with a texture
      TIM* TIM       r--   PSX TIM
      TTC* TTF       r--   TrueType font collection (Freetype 2.9.1)
      TTF* TTF       r--   TrueType font (Freetype 2.9.1)
      TXT* TXT       rw+   Text
     UBRL* BRAILLE   -w-   Unicode Text format
    UBRL6* BRAILLE   -w-   Unicode Text format 6dot
      UIL* UIL       -w-   X-Motif UIL table
     UYVY* UYVY      rw-   16bit/pixel interleaved YUV
      VDA* TGA       rw-   Truevision Targa image
    VICAR* VICAR     rw-   VICAR rasterfile format
      VID* VID       rw+   Visual Image Directory
     VIFF* VIFF      rw+   Khoros Visualization image
     VIPS* VIPS      rw+   VIPS image
      VST* TGA       rw-   Truevision Targa image
     WBMP* WBMP      rw-   Wireless Bitmap (level 0) image
     WEBP* WEBP      rw-   WebP Image Format (libwebp 0.6.1[0208])
      WMF* WMF       r--   Windows Meta File
      WMV  MPEG      rw+   Windows Media Video
      WMZ* WMF       r--   Compressed Windows Meta File
      WPG* WPG       r--   Word Perfect Graphics
        X* X         rw+   X Image
      X3F  DNG       r--   Sigma Camera RAW Picture File
      XBM* XBM       rw-   X Windows system bitmap (black and white)
       XC* XC        r--   Constant image uniform color
      XCF* XCF       r--   GIMP image
      XPM* XPM       rw-   X Windows system pixmap (color)
      XPS  XPS       r--   Microsoft XML Paper Specification
       XV* VIFF      rw+   Khoros Visualization image
      XWD* XWD       rw-   X Windows system window dump (color)
    YCbCr* YCbCr     rw+   Raw Y, Cb, and Cr samples
   YCbCrA* YCbCr     rw+   Raw Y, Cb, Cr, and alpha samples
      YUV* YUV       rw-   CCIR 601 4:1:1 or 4:2:2

* native blob support
r read support
w write support
+ support for multiple images

The output of your Nextcloud log in Admin > Logging:

[camerarawpreviews] Error: Intervention\Image\Exception\NotReadableException: Unable to read image from path (/media/myCloudDrive/ncdata/tmp/160bf0ad7e16c6848a91ce7f3c466ce5.jpg). at <<closure>>

 0. /var/www/nextcloud/apps/camerarawpreviews/vendor/intervention/image/src/Intervention/Image/AbstractDecoder.php line 339
    Intervention\Image\Imagick\Decoder->initFromPath("/media/myCloudD ... g")
 1. /var/www/nextcloud/apps/camerarawpreviews/vendor/intervention/image/src/Intervention/Image/AbstractDriver.php line 66
    Intervention\Image\AbstractDecoder->init("/media/myCloudD ... g")
 2. /var/www/nextcloud/apps/camerarawpreviews/vendor/intervention/image/src/Intervention/Image/ImageManager.php line 54
    Intervention\Image\AbstractDriver->init("/media/myCloudD ... g")
 3. /var/www/nextcloud/apps/camerarawpreviews/vendor/intervention/image/src/Intervention/Image/ImageManagerStatic.php line 58
    Intervention\Image\ImageManager->make("/media/myCloudD ... g")
 4. /var/www/nextcloud/apps/camerarawpreviews/lib/RawPreviewBase.php line 133
    Intervention\Image\ImageManagerStatic::make("/media/myCloudD ... g")
 5. /var/www/nextcloud/apps/camerarawpreviews/lib/RawPreviewBase.php line 61
    OCA\CameraRawPreviews\RawPreviewBase->getResizedPreview("/media/myCloudD ... W", 2048, 2048)
 6. /var/www/nextcloud/apps/camerarawpreviews/lib/RawPreviewIProviderV2.php line 25
    OCA\CameraRawPreviews\RawPreviewBase->getThumbnailInternal(OC\Files\Node\File {}, 2048, 2048)
 7. /var/www/nextcloud/lib/private/Preview/GeneratorHelper.php line 62
    OCA\CameraRawPreviews\RawPreviewIProviderV2->getThumbnail(OC\Files\Node\File {}, 2048, 2048)
 8. /var/www/nextcloud/lib/private/Preview/Generator.php line 205
    OC\Preview\GeneratorHelper->getThumbnail(OCA\CameraRawPre ... {}, OC\Files\Node\File {}, 2048, 2048)
 9. /var/www/nextcloud/lib/private/Preview/Generator.php line 127
    OC\Preview\Generator->getMaxPreview(OC\Files\SimpleFS\SimpleFolder {}, OC\Files\Node\File {}, "image/x-dcraw", "")
10. /var/www/nextcloud/lib/private/PreviewManager.php line 185
    OC\Preview\Generator->getPreview(OC\Files\Node\File {}, 424, 880, false, "fill", "image/x-dcraw")
11. /var/www/nextcloud/core/Controller/PreviewController.php line 172
    OC\PreviewManager->getPreview(OC\Files\Node\File {}, 424, 880, false, "fill")
12. /var/www/nextcloud/core/Controller/PreviewController.php line 144
    OC\Core\Controller\PreviewController->fetchPreview(OC\Files\Node\File {}, 424, 880, true, true, "fill")
13. /var/www/nextcloud/lib/private/AppFramework/Http/Dispatcher.php line 170
    OC\Core\Controller\PreviewController->getPreviewByFileId(508881, 424, 880, true, true, "fill")
14. /var/www/nextcloud/lib/private/AppFramework/Http/Dispatcher.php line 99
    OC\AppFramework\Http\Dispatcher->executeController(OC\Core\Controller\PreviewController {}, "getPreviewByFileId")
15. /var/www/nextcloud/lib/private/AppFramework/App.php line 125
    OC\AppFramework\Http\Dispatcher->dispatch(OC\Core\Controller\PreviewController {}, "getPreviewByFileId")
16. /var/www/nextcloud/lib/private/AppFramework/Routing/RouteActionHandler.php line 47
    OC\AppFramework\App::main("OC\\Core\\Controller\\PreviewController", "getPreviewByFileId", OC\AppFramework\ ... {}, {_route: "core.P ... "})
17. <<closure>>
    OC\AppFramework\Routing\RouteActionHandler->__invoke({_route: "core.P ... "})
18. /var/www/nextcloud/lib/private/Route/Router.php line 299
    call_user_func(OC\AppFramework\ ... {}, {_route: "core.P ... "})
19. /var/www/nextcloud/lib/base.php line 1008
    OC\Route\Router->match("/core/preview")
20. /var/www/nextcloud/index.php line 38
    OC::handleRequest()

GET /core/preview?fileId=508881&x=424&y=880&a=true
from 217.225.93.143 by Private at 2020-08-15T10:54:45+00:00

Caused by ImagickException: Wrong JPEG library version: library is 80, caller expects 62 `/media/myCloudDrive/ncdata/tmp/160bf0ad7e16c6848a91ce7f3c466ce5.jpg' @ error/jpeg.c/JPEGErrorHandler/335

    /var/www/nextcloud/apps/camerarawpreviews/vendor/intervention/image/src/Intervention/Image/Imagick/Decoder.php - line 25:

    Imagick->readimage("/media/myCl ... g")

    /var/www/nextcloud/apps/camerarawpreviews/vendor/intervention/image/src/Intervention/Image/AbstractDecoder.php - line 339:

    Intervention\Image\Imagick\Decoder->initFromPath("/media/myCl ... g")

    /var/www/nextcloud/apps/camerarawpreviews/vendor/intervention/image/src/Intervention/Image/AbstractDriver.php - line 66:

    Intervention\Image\AbstractDecoder->init("/media/myCl ... g")

    /var/www/nextcloud/apps/camerarawpreviews/vendor/intervention/image/src/Intervention/Image/ImageManager.php - line 54:

    Intervention\Image\AbstractDriver->init("/media/myCl ... g")

    /var/www/nextcloud/apps/camerarawpreviews/vendor/intervention/image/src/Intervention/Image/ImageManagerStatic.php - line 58:

    Intervention\Image\ImageManager->make("/media/myCl ... g")

    /var/www/nextcloud/apps/camerarawpreviews/lib/RawPreviewBase.php - line 133:

    Intervention\Image\ImageManagerStatic::make("/media/myCl ... g")

    /var/www/nextcloud/apps/camerarawpreviews/lib/RawPreviewBase.php - line 61:

    OCA\CameraRawPreviews\RawPreviewBase->getResizedPreview("/media/myCl ... W", 2048, 2048)

    /var/www/nextcloud/apps/camerarawpreviews/lib/RawPreviewIProviderV2.php - line 25:

    OCA\CameraRawPreviews\RawPreviewBase->getThumbnailInternal(OC\Files\Node\File {}, 2048, 2048)

    /var/www/nextcloud/lib/private/Preview/GeneratorHelper.php - line 62:

    OCA\CameraRawPreviews\RawPreviewIProviderV2->getThumbnail(OC\Files\Node\File {}, 2048, 2048)

    /var/www/nextcloud/lib/private/Preview/Generator.php - line 205:

    OC\Preview\GeneratorHelper->getThumbnail(OCA\CameraRa ... {}, OC\Files\Node\File {}, 2048, 2048)

    /var/www/nextcloud/lib/private/Preview/Generator.php - line 127:

    OC\Preview\Generator->getMaxPreview(OC\Files\Sim ... {}, OC\Files\Node\File {}, "image/x-dcraw", "")

    /var/www/nextcloud/lib/private/PreviewManager.php - line 185:

    OC\Preview\Generator->getPreview(OC\Files\Node\File {}, 424, 880, false, "fill", "image/x-dcraw")

    /var/www/nextcloud/core/Controller/PreviewController.php - line 172:

    OC\PreviewManager->getPreview(OC\Files\Node\File {}, 424, 880, false, "fill")

    /var/www/nextcloud/core/Controller/PreviewController.php - line 144:

    OC\Core\Controller\PreviewController->fetchPreview(OC\Files\Node\File {}, 424, 880, true, true, "fill")

    /var/www/nextcloud/lib/private/AppFramework/Http/Dispatcher.php - line 170:

    OC\Core\Controller\PreviewController->getPreviewByFileId(508881, 424, 880, true, true, "fill")

    /var/www/nextcloud/lib/private/AppFramework/Http/Dispatcher.php - line 99:

    OC\AppFramework\Http\Dispatcher->executeController(OC\Core\Cont ... {}, "getPreviewByFileId")

    /var/www/nextcloud/lib/private/AppFramework/App.php - line 125:

    OC\AppFramework\Http\Dispatcher->dispatch(OC\Core\Cont ... {}, "getPreviewByFileId")

    /var/www/nextcloud/lib/private/AppFramework/Routing/RouteActionHandler.php - line 47:

    OC\AppFramework\App::main("OC\\Core\\C ... r", "getPreviewByFileId", OC\AppFramew ... {}, { _route: "c ... "})

    <<closure>>

    OC\AppFramework\Routing\RouteActionHandler->__invoke({ _route: "c ... "})

    /var/www/nextcloud/lib/private/Route/Router.php - line 299:

    call_user_func(OC\AppFramew ... {}, { _route: "c ... "})

    /var/www/nextcloud/lib/base.php - line 1008:

    OC\Route\Router->match("/core/preview")

    /var/www/nextcloud/index.php - line 38:

    OC::handleRequest()

Enabled Preview Providers:

0 OC\Preview\TXT
1 OC\Preview\MarkDown
2 OC\Preview\OpenDocument
3 OC\Preview\PDF
4 OC\Preview\MSOffice2003
5 OC\Preview\MSOfficeDoc
6 OC\Preview\PDF
7 OC\Preview\Image
8 OC\Preview\Photoshop
9 OC\Preview\TIFF
10 OC\Preview\SVG
11 OC\Preview\Font
12 OC\Preview\MP3
13 OC\Preview\Movie
14 OC\Preview\MKV
15 OC\Preview\MP4
16 OC\Preview\AVI

Nextcloud version: 18.0.7.1
Operating system and version: Raspbian GNU/Linux 10 \n \l
Apache version: Apache/2.4.38 (Raspbian)
PHP version_: PHP 7.3.19-1~deb10u1 (cli) (built: Jul 5 2020 06:46:45) ( NTS )

Hi everyone,
normally I don’t post my issues but I really can’t figure this problem out by myself. I am quite new to Nextcloud and Linux in general.
The CameraRAW App is not working for me which is very unfortunate because I work with many ARW files. Other previews are working fine tho (exept CameraRAW).

The Log is attached and I recognized “Caused by ImagickException: Wrong JPEG library version: library is 80, caller expects 62”. Dont really understand what that means because I think I have the expected version installed. All information attached in “Detailed Information”
Also, sorry for my bad english

I hope someone can help me?
Cheers Simon

Hi Simon,
it looks to me, you need exactly that library version that’s expected by CameraRaw Preview App. I did’nt look far into it rn, but i recommend to upgrade your Nextcloud Version to the latest version available, update all your apps, activate CameraRaw Preview again and watch your logfile. (i just tried that with a fresh installed NC19 with that app and it worked fine)

regrads,
crazy

Thanks, currently I am on Vacation but I will try that in 2 weeks :slight_smile:

I thought this meant that I had the right version installed because the expected lib seems to be 62. Maybe I am wrong and I have to install lib 80 for it to work :thinking:

Thanks for your response!

Can anyone who’s CameraRAW Previews are working maybe tell me their libjpeg version?
(following command: ldconfig -p | grep libjpeg)
That would be really helpful to me :slight_smile:

Finally I was able to resolve the issue!
First I went to the /usr/lib/arm-linux-gnueabihf/libjpeg.so.62 directory and renamed all libs I didnt want to use. Then I recognized that libjpeg62-turbo was installed, so I removed that with
apt-get remove libjpeg62-turbo
while doing so my whole GD Library got removed because it was “not needed anymore”
(The following packages were automatically installed and are no longer required: followed by a long list of libraries)

Then I got the following error in the nextcloud logs: “Intervention\Image\Exception\NotSupportedException: GD Library extension not available with this PHP installation.”
which I could resolve by installing the right GD Library for my system with
sudo apt-get install php7.3-gd
Apparently I installed a wrong version before.