Hello !
this error has been driving me crazy since a week.
I have this error when I upload a file exactly named ‘readme.txt’ in Nextcloud (‘readme 2.txt’ upload fine).
I didn’t see anything in nextcloud.log and apache log.
I’m not sure this error is due to nextcloud, but if anyone has an idea…
Nextcloud version 19.0.3:
Operating system and version Ubuntu:
Apache or nginx version Apache 2.4.29 Nginx 1.18.0:
PHP version 7.3.22:
The output of your config.php file in /path/to/nextcloud
(make sure you remove any identifiable information!):
<?php
$CONFIG = array (
'passwordsalt' => 'xxx',
'secret' => 'xxx',
'trusted_domains' =>
array (
0 => 'localhost',
1 => 'xxx.fr',
2 => 'www.xxx.fr',
),
'memcache.distributed' => '\\OC\\Memcache\\Redis',
'memcache.local' => '\\OC\\Memcache\\Redis',
'memcache.locking' => '\\OC\\Memcache\\Redis',
'redis' =>
array (
'host' => 'localhost',
'port' => 6379,
),
'datadirectory' => '/var/www/vhosts/xxx.fr/.nextcloud/data/9d67e72f9807',
'dbtype' => 'mysql',
'version' => '19.0.3.1',
'overwrite.cli.url' => 'http://localhost',
'dbname' => 'nextcloud_075209c5',
'dbhost' => 'localhost:3306',
'dbport' => '',
'dbtableprefix' => 'oc_',
'mysql.utf8mb4' => true,
'dbuser' => 'xxx',
'dbpassword' => 'xxx',
'installed' => true,
'instanceid' => 'ocatmf6l879y',
'app_install_overwrite' =>
array (
0 => 'joplin',
1 => 'bookmarks_fulltextsearch',
),
'maintenance' => false,
'mail_domain' => 'xxx',
'mail_from_address' => 'xxx',
'mail_smtpmode' => 'smtp',
'mail_sendmailmode' => 'smtp',
'mail_smtpauthtype' => 'LOGIN',
'mail_smtphost' => 'ssl0.ovh.net',
'mail_smtpauth' => 1,
'mail_smtpport' => '465',
'mail_smtpname' => 'xxx',
'mail_smtppassword' => 'xxx',
'mail_smtpsecure' => 'ssl',
'twofactor_enforced' => 'true',
'twofactor_enforced_groups' =>
array (
),
'twofactor_enforced_excluded_groups' =>
array (
),
'loglevel' => 0,
'log_type' => 'file',
'logfile' => 'nextcloud.log',
'logdateformat' => 'F d, Y H:i:s',
);