Nextcloud version: 16.0.1
Operating system and version: Kubuntu 18.04
Nginx version: 1.17.0
PHP version: 7.2.19
The issue you are facing:
File upload fails with no error messages when trying to upload file with scandinavian letters (ä, å, ö, ø, etc) in the file name
Is this the first time you’ve seen this error? (Y/N): Y
Steps to replicate it:
- Have your Nextcloud server running, I have encryption enabled, but I don’t know does it affect the issue
- prepare any file to upload, for example a png image, and rename it to ö.png or ä.png
- Drag it to the nextcloud browser window, or use the upload button. This issue occurs on android too
The output of your Nextcloud log in Admin > Logging:
No server logs
Everything is working fine
For some reason all logs have been disappeared. There were a few of errors
The output of your config.php file in /path/to/nextcloud
(make sure you remove any identifiable information!):
<?php
$CONFIG = array (
'instanceid' => 'xxxxxxxxxx',
'passwordsalt' => 'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx',
'secret' => 'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx',
'trusted_domains' =>
array (
0 => 'mydomain.com',
),
'datadirectory' => '/disks/Cloud/Nextcloud-data',
'dbtype' => 'mysql',
'version' => '16.0.1.1',
'overwrite.cli.url' => 'https://mydomain.com',
'dbname' => 'nextcloud',
'dbhost' => 'localhost:50689',
'dbport' => '',
'dbtableprefix' => 'oc_',
'mysql.utf8mb4' => true,
'dbuser' => 'NEXTCLOUD',
'dbpassword' => 'xxxxxxxxxxxxxxxxxxxx',
'installed' => true,
'twofactor_enforced' => 'false',
'twofactor_enforced_groups' =>
array (
),
'twofactor_enforced_excluded_groups' =>
array (
),
'mail_smtpmode' => 'smtp',
'mail_smtpauth' => 1,
'mail_sendmailmode' => 'smtp',
'mail_smtpauthtype' => 'LOGIN',
'mail_from_address' => 'address',
'mail_domain' => 'domain.com',
'mail_smtphost' => 'smtp.domain.com',
'mail_smtpport' => '587',
'mail_smtpsecure' => 'tls',
'mail_smtpname' => 'address@domain.com',
'mail_smtppassword' => 'xxxxxxxxxxxxxxxxxxxx',
);
The output of your Apache/nginx/system log in /var/log/____
:
Access log (both logs may contain
MY-IP - - [09/Jun/2019:17:16:37 +0300] "GET /ocs/v2.php/apps/notifications/api/v2/notifications HTTP/2.0" 304 0 "-" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/75.0.3770.80 Safari/537.36"
MY-IP - - [09/Jun/2019:17:17:08 +0300] "GET /ocs/v2.php/apps/notifications/api/v2/notifications HTTP/2.0" 304 0 "-" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/75.0.3770.80 Safari/537.36"
MY-IP - - [09/Jun/2019:17:17:38 +0300] "GET /ocs/v2.php/apps/notifications/api/v2/notifications HTTP/2.0" 304 0 "-" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/75.0.3770.80 Safari/537.36"
MY-IP - - [09/Jun/2019:17:18:08 +0300] "GET /ocs/v2.php/apps/notifications/api/v2/notifications HTTP/2.0" 304 0 "-" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/75.0.3770.80 Safari/537.36"
MY-IP - - [09/Jun/2019:17:18:38 +0300] "GET /ocs/v2.php/apps/notifications/api/v2/notifications HTTP/2.0" 304 0 "-" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/75.0.3770.80 Safari/537.36"
MY-IP - - [09/Jun/2019:17:19:08 +0300] "GET /ocs/v2.php/apps/notifications/api/v2/notifications HTTP/2.0" 304 0 "-" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/75.0.3770.80 Safari/537.36"
SOMEONE RANDOM SNIFFING FROM BRAZIL - - [09/Jun/2019:17:19:23 +0300] "GET / HTTP/1.1" 307 164 "-" "Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/52.0.2743.116 Safari/537.36"
MY-IP - - [09/Jun/2019:17:19:38 +0300] "GET /ocs/v2.php/apps/notifications/api/v2/notifications HTTP/2.0" 304 0 "-" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/75.0.3770.80 Safari/537.36"
MY-IP - - [09/Jun/2019:17:20:08 +0300] "GET /ocs/v2.php/apps/notifications/api/v2/notifications HTTP/2.0" 304 0 "-" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/75.0.3770.80 Safari/537.36"
MY-IP - - [09/Jun/2019:17:20:38 +0300] "GET /ocs/v2.php/apps/notifications/api/v2/notifications HTTP/2.0" 304 0 "-" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/75.0.3770.80 Safari/537.36"
MY-IP - - [09/Jun/2019:17:21:08 +0300] "GET /ocs/v2.php/apps/notifications/api/v2/notifications HTTP/2.0" 304 0 "-" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/75.0.3770.80 Safari/537.36"
Error log - - It is just full of rate limiting errors, due to too strict policy, I think it is now fixed
2019/06/09 00:30:10 [error] 16711#16711: *775 limiting requests, excess: 1.000 by zone "SEKUNTI", client: MY-IP, server: domain.com, request: "PROPFIND /remote.php/dav HTTP/2.0", host: "domain.com"
2019/06/09 00:30:33 [error] 16711#16711: *1024 limiting requests, excess: 0.984 by zone "SEKUNTI", client: 95.217.53.149, server: domain.com, request: "GET /nextcloud/status.php HTTP/1.1", host: "domain.com"