Desktop client cannot sync files larger than100 MB - linux client

Support intro

Sorry to hear you’re facing problems :slightly_frowning_face:

help.nextcloud.com is for home/non-enterprise users. If you’re running a business, paid support can be accessed via portal.nextcloud.com where we can ensure your business keeps running smoothly.

In order to help you as quickly as possible, before clicking Create Topic please provide as much of the below as you can. Feel free to use a pastebin service for logs, otherwise either indent short log examples with four spaces:

example

Or for longer, use three backticks above and below the code snippet:

longer
example
here

Some or all of the below information will be requested if it isn’t supplied; for fastest response please provide as much as you can :heart:

Nextcloud version (eg, 20.0.5): 23.0.2 snap1
Operating system and version (eg, Ubuntu 20.04): server Ubuntu 20.04.4
Apache or nginx version (eg, Apache 2.4.25): using snap version
PHP version (eg, 7.4): 8.0.16

The issue you are facing:
My desktop client on my Manjaro v 3.4.3 cannot sync files larger than 100 MB.
It started to upload and after reaching 10 MB sync process fails.

The previous version of the NC 22 server worked fine.
I have been using snap from Nextcloud version 20
I tried the Appimage client for Linux v3.4.4 but the same results.
Disabling firewall on Ubuntu server and desktop did hot help.
Uploading larger files via browser is working.

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

Steps to replicate it:

  1. file over 100 MB copied to my Nextcloud folder
  2. Start syncing
  3. All files over 100 MB are not synced

The output of your Nextcloud log in Admin > Logging:

{"reqId":"JJFOPS1L4NQACF4XX26x","level":3,"time":"2022-04-04T11:36:10+00:00","remoteAddr":"","user":"--","app":"PHP","method":"","url":"--","message":"Undefined array key 0 at /var/snap/nextcloud/29929/nextcloud/extra-apps/contacts/lib/Service/SocialApiService.php#184","userAgent":"--","version":"23.0.2.1","exception":{"Exception":"Error","Message":"Undefined array key 0 at /var/snap/nextcloud/29929/nextcloud/extra-apps/contacts/lib/Service/SocialApiService.php#184","Code":0,"Trace":[{"file":"/var/snap/nextcloud/29929/nextcloud/extra-apps/contacts/lib/Service/SocialApiService.php","line":184,"function":"onError","class":"OC\\Log\\ErrorHandler","type":"::"},{"file":"/var/snap/nextcloud/29929/nextcloud/extra-apps/contacts/lib/Service/SocialApiService.php","line":410,"function":"updateContact","class":"OCA\\Contacts\\Service\\SocialApiService","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"/var/snap/nextcloud/29929/nextcloud/extra-apps/contacts/lib/Cron/SocialUpdate.php","line":56,"function":"updateAddressbooks","class":"OCA\\Contacts\\Service\\SocialApiService","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"/snap/nextcloud/29929/htdocs/lib/public/BackgroundJob/Job.php","line":79,"function":"run","class":"OCA\\Contacts\\Cron\\SocialUpdate","type":"->"},{"file":"/snap/nextcloud/29929/htdocs/lib/public/BackgroundJob/QueuedJob.php","line":47,"function":"execute","class":"OCP\\BackgroundJob\\Job","type":"->"},{"file":"/snap/nextcloud/29929/htdocs/cron.php","line":128,"function":"execute","class":"OCP\\BackgroundJob\\QueuedJob","type":"->"}],"File":"/snap/nextcloud/29929/htdocs/lib/private/Log/ErrorHandler.php","Line":92,"CustomMessage":"--"},"id":"624ad82a6857e"}

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,
  ),
  'log_type' => 'file',
  'logfile' => '/var/snap/nextcloud/current/logs/nextcloud.log',
  'logfilemode' => 416,
  'instanceid' => 'someletters',
  'passwordsalt' => 'somepassword',
  'secret' => 'somesecret',
  'trusted_domains' => 
  array (
    0 => 'mylocalIP',
    1 => 'mydomain',
  ),
  'datadirectory' => '/var/snap/nextcloud/common/nextcloud/data',
  'dbtype' => 'mysql',
  'version' => '23.0.2.1',
  'overwrite.cli.url' => 'http://mylocalip',
  'dbname' => 'nextcloud',
  'dbhost' => 'localhost:/tmp/sockets/mysql.sock',
  'dbport' => '',
  'dbtableprefix' => 'oc_',
  'mysql.utf8mb4' => true,
  'dbuser' => 'nextcloud',
  'dbpassword' => 'databasepassword',
  'installed' => true,
  'mail_smtpmode' => 'smtp',
  'mail_smtpsecure' => 'ssl',
  'mail_sendmailmode' => 'smtp',
  'mail_from_address' => 'email',
  'mail_domain' => 'mydomain',
  'mail_smtphost' => 'smtp.provider.sk',
  'mail_smtpauth' => 1,
  'mail_smtpport' => '465',
  'mail_smtpname' => 'someemail',
  'mail_smtppassword' => 'password',
  'maintenance' => false,
  'loglevel' => 2,
  'app_install_overwrite' => 
  array (
    0 => 'occweb',
    1 => 'radio',
  ),
  'default_phone_region' => 'SK',
  'theme' => '',
);

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

no idea how to find in snap installation

Please admin, close the topic.
I found the problem.
Not enough RAM on Ubuntu server.
Thank you.