Nextcloud rename Files result in copies


Nextcloud version: 22.2.3
Operating system and version: Ubuntu 20.04.4 LTS
Apache or nginx version (eg, Apache 2.4.25): nginx version: nginx/1.18.0 (Ubuntu)
PHP version (eg, 7.4): PHP 7.4.26
Broswer (Chrome/FIrefox/Edge is used)
SMB external storage is used

The issue you are facing:

Is this the first time you’ve seen this error? (Y/N): Y

Steps to replicate it:

  1. Create a File like “Test.txt”
  2. Rename the file “Test.txt into test.txt”
  3. refresh the Browser an you should get two files with the same name except vor the capital letter… (you see: Test.txt and test.txt)
    Only Test.txt realy exist in the filesystem

The output of your Nextcloud log in Admin > Logging:

By reproducing the problem there was no error in the log for this timestamp

The output of your config.php file in /path/to/nextcloud (make sure you remove any identifiable information!):

$CONFIG = array (
  'instanceid' => 'XXXXXXXXXX',
  'passwordsalt' => 'XXXXXXXXXX',
  'secret' => 'XXXXXXXXXX',
  'trusted_domains' =>
  array (
    0 => 'XXXXXXXXXX',
  'datadirectory' => '/usr/share/nginx/nextcloud/data',
  'dbtype' => 'mysql',
  'version' => '',
  'overwrite.cli.url' => 'XXXXXXXXXX',
  'dbname' => 'nextcloud',
  'allow_local_remote_servers' => true,
  'dbhost' => 'localhost',
  'dbport' => '',
  'dbtableprefix' => 'oc_',
  'dbuser' => 'XXXXXXXXXX',
  'dbpassword' => 'XXXXXXXXXX',
  'installed' => true,
  'mail_smtpmode' => 'smtp',
  'mail_smtpsecure' => 'tls',
  'mail_sendmailmode' => 'smtp',
  'mail_from_address' => 'XXXXXXXXXX',
  'mail_domain' => 'XXXXXXXXXX',
  'mail_smtpauthtype' => 'LOGIN',
  'mail_smtpauth' => 1,
  'mail_smtphost' => 'XXXXXXXXXX',
  'mail_smtpport' => '587',
  'maintenance' => false,
  'overwriteprotocol' => 'https',
  'enable_avatars' => true,
  'ldapIgnoreNamingRules' => false,
  'ldapProviderFactory' => 'OCA\\User_LDAP\\LDAPProviderFactory',
  'mysql.utf8mb4' => true,
  'theme' => '',
  'loglevel' => 2,
  'mail_smtpname' => 'XXXXXXXXXX',
  'mail_smtppassword' => 'XXXXXXXXXX',
  'memcache.local' => '\\OC\\Memcache\\Redis',
  'memcache.locking' => '\\OC\\Memcache\\Redis',
  'filelocking.enabled' => 'true',
  'redis' =>
          array (
  'host' => '/var/run/redis/redis-server.sock',
  'port' => 0,
  'timeout' => 0.0,

The output of your Apache/nginx/system log in /var/log/____:


Output errors in nextcloud.log in /var/www/ or as admin user in top right menu, filtering for errors. Use a pastebin service if necessary.

By reproducing the problem there was no error in the log for this timestamp

Hi @IRS1,
You are missing the required support template. Please fill this form out and edit into your post.

This will give us the technical info and logs needed to help you! Thanks.

Does it work when you move from “Text.txt” → “something.txt” → “text.txt”. Could be that this is different and it might be done for some reason …


yes this (“Text.txt” into “something.txt” into “text.txt”) does work, after that there are no copies…
I will Provide the rest of the Logs later… hopefuly this day…