Missing files after uploading a folder

Hi!

When uploading a folder with a lot of files and subfolders through the drag and drop feature in the browser. I get a lot of these errors:
Bildschirmfoto 2021-08-15 um 23.01.06 2

After the upload, files are missing randomly.

Nextcloud version: 22.1.0
with nextcloud/docker

Is this the first time you’ve seen this error? No (happens on every upload)

Steps to replicate it:

  1. Upload a folder with a lot of files and subfolders through the drag and drop feature in the browser
  2. Download the uploaded folder from the Nextcloud
  3. Compare if files are missing (check errors shown in the browser)

My config.php file:

<?php
$CONFIG = array (
  'htaccess.RewriteBase' => '/',
  'memcache.local' => '\\OC\\Memcache\\APCu',
  'memcache.distributed' => '\\OC\\Memcache\\Redis',
  'memcache.locking' => '\\OC\\Memcache\\Redis',
  'redis' =>
  array (
    'host' => 'redis',
    'password' => 'REDACTED',
    'port' => REDACTED,
  ),
  'apps_paths' =>
  array (
    0 =>
    array (
      'path' => '/var/www/html/apps',
      'url' => '/apps',
      'writable' => false,
    ),
    1 =>
    array (
      'path' => '/var/www/html/custom_apps',
      'url' => '/custom_apps',
      'writable' => true,
    ),
  ),
  'instanceid' => 'REDACTED',
  'passwordsalt' => 'REDACTED',
  'secret' => 'REDACTED',
  'trusted_proxies' =>
  array (
    0 => 'REDACTED',
  ),
  'trusted_domains' =>
  array (
    0 => 'REDACTED',
  ),
  'default_phone_region' => 'REDACTED',
  'datadirectory' => 'REDACTED',
  'dbtype' => 'mysql',
  'version' => '22.1.0.1',
  'overwritehost' => 'REDACTED',
  'overwriteprotocol' => 'https',
  'overwrite.cli.url' => 'REDACTED',
  'dbname' => 'REDACTED',
  'dbhost' => 'REDACTED',
  'dbport' => '',
  'dbtableprefix' => 'oc_',
  'dbuser' => 'REDACTED',
  'dbpassword' => 'REDACTED'
  'installed' => true,
  'maintenance' => false,
  'preview_max_x' => '2048',
  'preview_max_y' => '2048',
  'jpeg_quality' => '60',
  'logfile' => '/var/log/nextcloud.log',
  'logtimezone' => 'REDACTED',
  'mail_smtpmode' => 'smtp',
  'mail_smtphost' => 'REDACTED',
  'mail_smtpport' => '465',
  'mail_smtpsecure' => 'ssl',
  'mail_smtpauth' => true,
  'mail_smtpauthtype' => 'PLAIN',
  'mail_smtpname' => 'REDACTED',
  'mail_smtppassword' => 'REDACTED',
  'mail_from_address' => 'REDACTED',
  'mail_domain' => 'REDACTED',
  'loglevel' => 2,
);

What causes this? Any idea?

Currently I am using this workaround:
Upload a .zip file and extracting it on the Nextcloud using the “Extract” Addon.

Thanks for your help!

Hi!

I’m facing the same issue, I have uploaded many folders with a lot of files, but some of them are missing.
They are not too many, but is still a major problem, because I have to go trought all uploaded folders to find them.

Schermata da 2021-11-08 11-58-17
For example in this photo are missing 6 images on a total of 3.517.

When I was uploading via drag 'n drop i faced some errors, but they were not specified (“An error occurred”)

Scanning with occ command did not help:
sudo docker exec --user www-data f296ae7c31b3 php occ files:scan --all