Hello,
I have a strange error a the end of a file upload.
Nextcloud version : 16.0.3
Operating system and version : Ubuntu 18.04 LTS
Apache or nginx version : Apache 2.4.29
PHP version : 7.3
The issue you are facing:
Error when assembling chunks, status code 504
Is this the first time you’ve seen this error? (Y/N): Yes (fresh installation)
Steps to replicate it:
- Upload a large file (1.9GB in my example)
- Wait for the and of the transfer, the error message is displayed
After less than a minute, If I refresh the page, the file is well accessible.
The output of your Nextcloud log in Admin > Logging:
Nothing here :/
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' => '/var/data/nextcloud/',
'dbtype' => 'mysql',
'version' => '16.0.3.0',
'overwrite.cli.url' => 'https://********/',
'dbname' => '********',
'dbhost' => '********',
'dbport' => '',
'dbtableprefix' => 'oc_',
'mysql.utf8mb4' => true,
'dbuser' => '********',
'dbpassword' => '********',
'installed' => true,
'updater.release.channel' => 'production',
'ldapIgnoreNamingRules' => false,
'ldapProviderFactory' => 'OCA\\User_LDAP\\LDAPProviderFactory',
'default_language' => 'fr',
'skeletondirectory' => '',
'trusted_proxies' =>
array (
0 => '********',
),
'forwarded_for_headers' =>
array (
0 => 'HTTP_X_FORWARDED_FOR',
),
'versions_retention_obligation' => 'disabled',
'memcache.local' => '\\OC\\Memcache\\APCu',
'memcache.distributed' => '\\OC\\Memcache\\Redis',
'memcache.locking' => '\\OC\\Memcache\\Redis',
'redis' =>
array (
'host' => '********',
'port' => 6379,
'password' => '********',
),
'htaccess.RewriteBase' => '/',
'mail_smtpmode' => 'smtp',
'mail_sendmailmode' => 'smtp',
'mail_from_address' => '********-noreply',
'mail_domain' => '********',
'mail_smtphost' => '********',
'mail_smtpport' => '25',
'maintenance' => false,
'theme' => '',
'loglevel' => 1,
'log_type' => 'file',
'logfile' => '/var/log/nextcloud/nextcloud.log',
'tempdirectory' => '/tmp', // Doesn't seemd used anyway o_O
);
The output of your Apache log in /var/log/apache2/nextcloud_access.log
:
77.158.xxx.xxx - - [16/Jul/2019:16:13:56 +0200] "MOVE /remote.php/dav/uploads/********/web-file-upload-d042998e989dcf265656cbcb4a8d0c40-1563286115438/.file HTTP/1.0" 504 676 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:68.0) Gecko/20100101 Firefox/68.0"
The output of your Apache log in /var/log/apache2/nextcloud_error.log
(don’t know if it is relevant):
[Tue Jul 16 16:14:06.509389 2019] [proxy_fcgi:error] [pid 9529:tid 140092236625664] (70007)The timeout specified has expired: [client 10.0.100.10:51346] AH01075: Error dispatching request to : (polling)
Regards.