Nextcloud version : 18.0.3-1
Operating system and version: Arch Linux
nginx version: nginx/1.16.1
PHP version :PHP 7.4.4
The issue you are facing:
When Uploading file via the nextcloud client syncing fails and it is not possible to upload
Is this the first time you’ve seen this error? (Y/N): N
Steps to replicate it:
- Install nextcloud client
- cp file >80 MB to nextcloud destination
The output of your Nextcloud log in Admin > Logging:
no nextcloud logs refering to this issue
The output of your config.php file in /path/to/nextcloud
(make sure you remove any identifiable information!):
<?php
$CONFIG = array (
'instanceid' => 'ocl1',
'passwordsalt' => '9qKIB2',
'secret' => '2A4a',
'trusted_domains' =>
array (
0 => 'mycloud',
),
'datadirectory' => '/media/hdd1',
'dbtype' => 'mysql',
'version' => '18.0.3.0',
'overwrite.cli.url' => 'https://mycloud.com',
'dbname' => 'nextcloud',
'dbhost' => 'localhost',
'dbport' => '',
'dbtableprefix' => 'oc_',
'mysql.utf8mb4' => true,
'dbuser' => 'nextclouduser',
'dbpassword' => 'password',
'installed' => true,
'memcache.distributed' => '\\OC\\Memcache\\Redis',
'memcache.local' => '\\OC\\Memcache\\Redis',
'memcache.locking' => '\\OC\\Memcache\\Redis',
'redis' =>
array (
'host' => 'localhost',
'port' => 6379,
),
'maintenance' => false,
'theme' => '',
'loglevel' => 2,
);
The output of your Apache/nginx/system log in /var/log/____
:
12 Mar 31 11:49:50 alarmpi nginx[338]: 2020/03/31 11:49:50 [crit] 338#338: *18 SSL_read() failed (SSL: error:14095126:SSL routines:ssl3_read_n:unexpected eof while reading) while sending to client, client: 7, ser ver: , request: "PUT /remote.php/dav/uploads//2596988781/00000001 HTTP/1.1", upstream: "fastcgi://unix:/run/php-fpm/php-fpm.sock", host: ""
13 Mar 31 11:49:51 alarmpi nginx[338]: 2020/03/31 11:49:51 [crit] 338#338: *21 SSL_read() failed (SSL: error:14095126:SSL routines:ssl3_read_n:unexpected eof while reading) while sending to client, client: 7, ser ver: , request: "PUT /remote.php/dav/uploads//2596988781/00000001 HTTP/1.1", upstream: "fastcgi://unix:/run/php-fpm/php-fpm.sock", host: ""
14 Mar 31 11:51:54 alarmpi nginx[338]: 2020/03/31 11:51:54 [crit] 338#338: *35 SSL_read() failed (SSL: error:14095126:SSL routines:ssl3_read_n:unexpected eof while reading) while keepalive, client: , server: 0.0. 0.0:443
15 Mar 31 11:51:55 alarmpi nginx[338]: 2020/03/31 11:51:55 [crit] 338#338: *38 SSL_read() failed (SSL: error:14095126:SSL routines:ssl3_read_n:unexpected eof while reading) while keepalive, client: , server: 0.0. 0.0:443
16 Mar 31 11:52:11 alarmpi nginx[338]: 2020/03/31 11:52:11 [crit] 338#338: *49 SSL_read() failed (SSL: error:14095126:SSL routines:ssl3_read_n:unexpected eof while reading) while waiting for request00.118.12, ser ver: 0.0.0.0:443
17 Mar 31 11:52:15 alarmpi nginx[338]: 2020/03/31 11:52:15 [crit] 338#338: *48 SSL_read() failed (SSL: error:14095126:SSL routines:ssl3_read_n:unexpected eof while reading) while keepalive, client: server: 0.0.0 .0:443
18 Mar 31 11:52:15 alarmpi nginx[338]: 2020/03/31 11:52:15 [crit] 338#338: *43 SSL_read() failed (SSL: error:14095126:SSL routines:ssl3_read_n:unexpected eof while reading) while keepalive, client: server: 0.0.0 .0:443
19 Mar 31 11:52:15 alarmpi nginx[338]: 2020/03/31 11:52:15 [crit] 338#338: *55 SSL_read() failed (SSL: error:14095126:SSL routines:ssl3_read_n:unexpected eof while reading) while keepalive, client: server: 0.0.0 .0:443
20 Mar 31 11:52:15 alarmpi nginx[338]: 2020/03/31 11:52:15 [crit] 338#338: *47 SSL_read() failed (SSL: error:14095126:SSL routines:ssl3_read_n:unexpected eof while reading) while keepalive, client: server: 0.0.0 .0:443
21 Mar 31 11:52:15 alarmpi nginx[338]: 2020/03/31 11:52:15 [crit] 338#338: *46 SSL_read() failed (SSL: error:14095126:SSL routines:ssl3_read_n:unexpected eof while reading) while keepalive, client: server: 0.0.0 .0:443
I changed the upload limit in the /etc/php/php.ini
upload_max_filesize = 16G
max_execution_time = 86400
max_input_time = 86400
post_max_size = 16G
There is no code block in the nginx config with location ~ /\.(?!file).* {
In the Admin overview i have the following issues
-
It was not possible to execute the cron job via CLI. The following technical errors have appeared:
- Your data directory is invalid Ensure there is a file called “.ocdata” in the root of the data directory.
-
The “X-Frame-Options” HTTP header is not set to “SAMEORIGIN”. This is a potential security or privacy risk, as it is recommended to adjust this setting accordingly.
-
The “Strict-Transport-Security” HTTP header is not set to at least “15552000” seconds. For enhanced security, it is recommended to enable HSTS as described in the security tips .
-
The “Referrer-Policy” HTTP header is not set to “no-referrer”, “no-referrer-when-downgrade”, “strict-origin”, “strict-origin-when-cross-origin” or “same-origin”. This can leak referer information. See the W3C Recommendation .
for the first error this is weird since
$ ls -al /media/hdd1 | grep -i .ocdata /usr/share/webapps/nextcloud
-rw-r--r-- 1 http http 0 Mar 25 15:24 .ocdata