[Bug] drag and drop new files failed when files exists

Hello all,

I’m facing a bug with Nextcloud 29.

Nextcloud version : 29.0.2
Operating system and version : ubuntu 22.04 Linux 5.15.0-112-generic aarch64
PHP version : 8.3.8

The issue you are facing:
when uploading files with drag and drop, if a file already exists, new files are not copied.

Is this the first time you’ve seen this error? Yes

Steps to replicate it:

  1. upload a file named 1 in a folder
  2. upload files (at the same time) named 1 & 2
  3. nextcloud says that file 1 exists. Select skip it
  4. file 2 is not uploaded and nextcloud says upload is successful.
    if “overwrite” is selected, then file 2 (and 1) is copied.

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

$CONFIG = array (
  'datadirectory' => '/data',
  'instanceid' => '',
  'passwordsalt' => '',
  'secret' => '',
  'trusted_domains' =>
  array (
    0 => '',
  ),
  'dbtype' => 'sqlite3',
  'trusted_proxies' =>
  array (,
  ),
  'version' => '29.0.2.2',
  'overwrite.cli.url' => '',
  'overwritewebroot' => '//',
  'installed' => true,
  'default_phone_region' => 'FR',
  'memcache.local' => '\\OC\\Memcache\\APCu',
  'filelocking.enabled' => true,
  'memcache.locking' => '\\OC\\Memcache\\APCu',
  'upgrade.disable-web' => true,
  'mail_from_address' => 'webmaster',
  'mail_smtpmode' => 'smtp',
  'mail_sendmailmode' => 'smtp',
  'mail_domain' => '',
  'mail_smtpauth' => 1,
  'mail_smtphost' => '',
  'mail_smtpport' => '587',
  'mail_smtpname' => '',
  'mail_smtppassword' => 'a',
  'memories.exiftool' => '/config/www/nextcloud/apps/memories/bin-ext/exiftool-amd64-musl',
  'memories.vod.path' => '/config/www/nextcloud/apps/memories/bin-ext/go-vod-amd64',
  'memories.vod.ffmpeg' => '/usr/bin/ffmpeg',
  'memories.vod.ffprobe' => '/usr/bin/ffprobe',
  'memories.exiftool_no_local' => true,
  'maintenance' => false,
  'loglevel' => 2,
  'enabledPreviewProviders' =>
  array (
    0 => 'OC\\Preview\\Imaginary',
  ),
  'preview_imaginary_url' => 'http://imaginary:9000',
  'maintenance_window_start' => 1,
  'app_install_overwrite' =>
  array (
    0 => 'files_rightclick',
    1 => 'news',
    2 => 'gpxedit',
  ),
  'allow_user_to_change_display_name' => false,
  'lost_password_link' => 'disabled',
  'oidc_login_provider_url' => 'a',
  'oidc_login_client_id' => 'a',
  'oidc_login_client_secret' => 'a',
  'oidc_login_auto_redirect' => false,
  'oidc_login_end_session_redirect' => false,
  'oidc_login_button_text' => 'Log in with Authelia',
  'oidc_login_hide_password_form' => false,
  'oidc_login_use_id_token' => true,
  'oidc_login_attributes' =>
  array (
    'id' => 'preferred_username',
    'name' => 'name',
    'mail' => 'email',
    'groups' => 'groups',
  ),
  'oidc_login_default_group' => 'oidc',
  'oidc_login_use_external_storage' => false,
  'oidc_login_scope' => 'openid profile email groups',
  'oidc_login_proxy_ldap' => false,
  'oidc_login_disable_registration' => true,
  'oidc_login_redir_fallback' => false,
  'oidc_login_tls_verify' => true,
  'oidc_create_groups' => false,
  'oidc_login_webdav_enabled' => false,
  'oidc_login_password_authentication' => false,
  'oidc_login_public_key_caching_time' => 86400,
  'oidc_login_min_time_between_jwks_requests' => 10,
  'oidc_login_well_known_caching_time' => 86400,
  'oidc_login_update_avatar' => false,
  'memories.db.triggers.fcu' => true,
  'updater.release.channel' => 'stable',
);

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.

no error before/after

Thank!
Best