Hi there.
I followed this thread to install and setup preview generator and the the newest gallery app from the git repository.
Unfortunately I run into an error while generating previews. I tried to restart the process multiple times, without success.
I run the following command:
/var/www/nextcloud$ sudo -u www-data php -f /var/www/nextcloud/occ preview:generate-all
[sudo] Passwort für X:
PHP Fatal error: imagecreatefromjpeg(): gd-jpeg: JPEG library reports unrecoverable error: JPEG datastream contains no image in /var/www/nextcloud/lib/private/legacy/image.php on line 538
I am not shure how to interpret the error and kindly ask you for help.
System information:
Ubuntu 16.04 LTS
Nginx, MySQL, PHP-FPM