Nextcloud version (eg, 12.0.2): 14.0.6
Operating system and version (eg, Ubuntu 17.04): centos 7 latest
Apache or nginx version (eg, Apache 2.4.25): httpd-2.4.6-88.el7.centos.x86_64
PHP version (eg, 7.1):php-7.2.14-1.el7.remi.x86_64
The issue you are facing:
Image thumbnails won’t be generated if the jpg file is larger than 50mb.
Is this the first time you’ve seen this error? (Y/N):Y
Steps to replicate it:
- Upload any Jpg image larger than 50mb
- Wait for image to upload. (no preview)
- Ran occ thumbnail regenerate all command.
The output of your Nextcloud log in Admin > Logging:
|Error|gallery|Exception: Preview generation has failed|2019-01-16T10:24:42-0500|
|---|---|---|---|
|Error|gallery|OCP\Files\NotFoundException: |2019-01-16T10:24:42-0500|
The output of your config.php file in /path/to/nextcloud
(make sure you remove any identifiable information!):
<?php
$CONFIG = array (
'instanceid' => '',
'passwordsalt' => '',
'secret' => '',
'trusted_domains' =>
array (
0 => '',
),
'datadirectory' => '/opt/nextcloud/',
'overwrite.cli.url' => '',
'dbtype' => 'mysql',
'version' => '14.0.6.0',
'dbname' => 'nextcloud',
'dbhost' => 'localhost',
'dbport' => '',
'dbtableprefix' => 'oc_',
'mysql.utf8mb4' => true,
'dbuser' => '',
'dbpassword' => '',
'installed' => true,
'memcache.local' => '\\OC\\Memcache\\APCu',
'maintenance' => false,
'theme' => '',
'loglevel' => 2,
'updater.secret' => '',
);
The output of your Apache/nginx/system log in /var/log/____
:
There are no error messages in the apache logs.