Nexcloud desktop app constantly not responding every 20 secs

[/details]

Nextcloud version ** 17.0.5 **
Operating system and version (Ubuntu 18.04 LTS):
Apache or nginx version (Unknown):
PHP version (Unkown):

The issue you are facing:

Nextcloud desktop client starts going into “Not Responding” after transferring about 50gbs of data to nextcloud server.

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

Steps to replicate it:

  1. Start Nextcloud app
  2. Reviews local files for what needs to be synced
  3. Starts to transfer files to Nextcloud server and starts Not Responding then responds then Not responding about 20 sec cycles

The output of your Nextcloud log in Admin > Logging:

Error	PHP	Invalid argument supplied for foreach() at /snap/nextcloud/20007/htdocs/apps/serverinfo/lib/Os.php#155
Error	PHP	Undefined variable: result at /snap/nextcloud/20007/htdocs/apps/serverinfo/lib/OperatingSystems/DefaultOs.php#173
Error	PHP	Invalid argument supplied for foreach() at /snap/nextcloud/20007/htdocs/apps/serverinfo/templates/settings-admin.php#101
Error	PHP	Undefined variable: result at /snap/nextcloud/20007/htdocs/apps/serverinfo/lib/OperatingSystems/DefaultOs.php#173
Fatal	webdav	Sabre\DAV\Exception\BadRequest: Expected filesize of 88187282 bytes but read (from Nextcloud client) and wrote (to Nextcloud storage) 55951360 bytes. Could either be a network problem on the sending side or a problem writing to the storage on the server side
Fatal	webdav	Sabre\DAV\Exception\BadRequest: Expected filesize of 15007270 bytes but read (from Nextcloud client) and wrote (to Nextcloud storage) 11370496 bytes. Could either be a network problem on the sending side or a problem writing to the storage on the server side.

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

<?php
$CONFIG = array (
  'apps_paths' =>
  array (
    0 =>
    array (
      'path' => '/snap/nextcloud/current/htdocs/apps',
      'url' => '/apps',
      'writable' => false,
    ),
    1 =>
    array (
      'path' => '/var/snap/nextcloud/current/nextcloud/extra-apps',
      'url' => '/extra-apps',
      'writable' => true,
    ),
  ),
  'supportedDatabases' =>
  array (
    0 => 'mysql',
  ),
  'memcache.locking' => '\\OC\\Memcache\\Redis',
  'memcache.local' => '\\OC\\Memcache\\Redis',
  'redis' =>
  array (
    'host' => '/tmp/sockets/redis.sock',
    'port' => 0,
  ),
  'instanceid' => '',
  'passwordsalt' => '',
  'secret' => '',
  'trusted_domains' =>
  array (
    0 => 'cloud.mydomain.com',
  ),
  'datadirectory' => '/var/snap/nextcloud/common/nextcloud/data',
  'dbtype' => 'mysql',
  'version' => '17.0.5.0',
  'overwrite.cli.url' => 'https://cloud.mydomain.com',
  'dbname' => 'nextcloud',
  'dbhost' => 'localhost:/tmp/sockets/mysql.sock',
  'dbport' => '',
  'dbtableprefix' => 'oc_',
  'mysql.utf8mb4' => true,
  'dbuser' => 'nextcloud',
  'dbpassword' => '',
  'installed' => true,
  'maintenance' => false,
  'theme' => '',
  'loglevel' => 2,
);

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

Using snap version can't find log file