RAW file preview not working

Hi, I’m running NC 10.0 on Ubuntu 16.04 LTS.

I’ve been fiddling with getting Gallery (or Galleryplus) to display my pictures in RAW CR2 format. I got from a german speaking thread where a user had been using imagick and its PECL, together with some definitions in the config.php file. Now, with that installed, I define this in config.php, but no dice. Is this feature not available at all, or am I doing it all wrong?

Any insight is much appreciated.

'enable_previews' => true,
'enabledPreviewProviders' => 
array (
0 => 'OC\Preview\BMP',
1 => 'OC\Preview\Font',
2 => 'OC\Preview\GIF',
3 => 'OC\Preview\Illustrator',
4 => 'OC\Preview\JPEG',
5 => 'OC\Preview\MarkDown',
6 => 'OC\Preview\Movie',
7 => 'OC\Preview\MP3',
8 => 'OC\Preview\PDF',
9 => 'OC\Preview\Photoshop',
10 => 'OC\Preview\PNG',
11 => 'OC\Preview\Postscript',
12 => 'OC\Preview\Raw',
13 => 'OC\Preview\SVG',
14 => 'OC\Preview\TIFF',
15 => 'OC\Preview\TXT',
16 => 'OC\Preview\XBitmap',


I have the same problem and would be happy to receive some tips as well. I added ‘OC\Preview\TIFF’, restarted Apache, but nothing changes. There is no preview for the tiff files in my folder.

Nextcloud 10.0
Ubuntu 16.4 LTS
Latest Apache

Somebody with an idea?

Are they larger than 50 MB?
-> setting in config/config.php: ‘preview_max_filesize_image’ => 50,

Can you check your logfile for errors?

The files are only 7 MB big.

Oh yes, there is an error message:
apache2[30332]: {PHP} Uncaught Error: Access to undeclared static property: OC\Files\Filesystem::$normalizedPathCache in /var/www/nextcloud/lib/private/Files/Filesystem.php:773#012Stack trace:#012#0 /var/www/nextcloud/lib/private/Files/View.php(2034): OC\Files\Filesystem::normalizePath('/Name/files...')#012#1 /var/www/nextcloud/lib/private/Files/View.php(1152): OC\Files\View->unlockFile('/Photos/raw...', 1)#012#2 [internal function]: OC\Files\View->OC\Files\{closure}()#012#3 /var/www/nextcloud/3rdparty/icewind/streams/src/CallbackWrapper.php(109): call_user_func(Object(Closure))#012#4 [internal function]: Icewind\Streams\CallbackWrapper->stream_close()#012#5 {main}#012 thrown at /var/www/nextcloud/lib/private/Files/Filesystem.php#773

Don’t know what that means.

Thanks for your help!

There are already a number of similar errors on the bug tracker. Check if any of the cases applies to yours, if not open a new issue.