NextCloud Version 12.0.4
Operating System Ubuntu
Operating System Version 16.04.3
Apache Version 2.4.18
PHP Version 7.0.28-0ubuntu0.16.04.1
Summary: Downloading Files are 0 bytes on some files
Is this the first time you’ve seen this error? Y
Details:
- NextCloud is connected to an SMB share for the data.
- Downloading files from nextcloud result in them being 0 bytes.
–> The preview shows the picture of the .jpg file
–> If I select the file and it shows a large preview and then select download it is correct.
–> The file on the SMB share is correct. - This is not happening to all files. Just random files it appears.
- The users are uploading files via the nextcloud webui and directly to the SMB share.
The output of your config.php file in `/path/to/nextcloud` (make sure you remove any identifiable information!):
<?php
$CONFIG = array (
'instanceid' => 'xxxx',
'passwordsalt' => 'xxxxxxx',
'secret' => 'xxxxxx',
'trusted_domains' =>
array (
0 => 'xxxxx.duckdns.org',
1 => 'x.x.x.x',
),
'datadirectory' => '/var/nextcloud_data',
'overwrite.cli.url' => 'https://xxxxxx.duckdns.org/nextcloud',
'dbtype' => 'mysql',
'version' => '12.0.4.3',
'dbname' => 'nextcloud',
'dbhost' => 'localhost',
'dbport' => '',
'dbtableprefix' => 'oc_',
'mysql.utf8mb4' => true,
'dbuser' => 'ncuser',
'dbpassword' => 'xxxx',
'installed' => true,
'memcache.local' => '\\OC\\Memcache\\APCu',
'memcache.locking' => '\\OC\\Memcache\\Redis',
'filelocking.enabled' => 'true',
'filesystem_check_changes' => 1,
'redis' =>
array (
'host' => '/var/run/redis/redis.sock',
'port' => 0,
'timeout' => 0.0,
),
'mail_smtpmode' => 'smtp',
'mail_smtpauthtype' => 'LOGIN',
'mail_smtpsecure' => 'ssl',
'mail_from_address' => 'xxxxxxx',
'mail_domain' => 'gmail.com',
'mail_smtpauth' => 1,
'mail_smtphost' => 'smtp.gmail.com',
'mail_smtpport' => '465',
'mail_smtpname' => 'xxxxxxx@gmail.com',
'mail_smtppassword' => 'xxxxxx',
);