Synchronisation from server to client doesn't work (other way around does)

Nextcloud version: 24.0.1
Operating system and version: FreeBSD 12.3-RELEASE (server) Windows 10/Mac OS/Linux flavors (clients)
Apache or nginx version: 2.4.54
PHP version: 7.4.29

The issue you are facing:
I’m troubleshooting for weeks now, but I can’t find the solution to the problem. Synchronization of Group Folders seems to work only in one direction, from the local NextCloud client to the NextCloud server. But when adding a file via the webGUI, it won’t get synced to the local NextCloud clients.

What works:

  1. When adding the folder-to-be-synchronized for the first time, when breaking and remaking the link or when switching between Virtual File Support or no Virtual File Support, all files (including files previously not synced) get synchronized successfully from NextCloud server to NextCloud client.
  2. When adding files via the local NextCloud client (in a folder on one of the clients) it gets synchronized immediately to the NextCloud server.

So it only works one way (Client → Server) sadly. First I thought it was because of the recent issues with the Bulk Upload feature that was broken in some versions of NextCloud clients. So I updated all clients and the server to their most recent versions, but alas that didn’t work as well.

I enabled logging on clients on Windows, Linux and Mac OS and on all of them there is no trace of something malfunctioning in the client logs. Also the server logs are completely silent about this issue. The clients just tell me that everything is okay and synchronized successfully.

This instance only uses Group Folders (everything is shared with all users in different folders) and the personal storage has been limited. I did check to see whether having personal storage or not would make a difference regarding this issue, but it did not.

Is there anyone who has some suggestions or pointers to fix this problem?

Thanks in advance! And don’t hesitate to ask for more information.

Steps to replicate it:

  1. Have a NextCloud instance with Group Folders.
  2. Try to sync a newly added file (via webGUI) to the local NextCloud client.

The output of your Nextcloud log in Admin > Logging:

n/a

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

<?php
$CONFIG = array (
  'instanceid' => '...',
  'passwordsalt' => '...',
  'secret' => '...',
  'trusted_domains' =>
  array (
    0 => 'cloud.domain.tld',
  ),
  'datadirectory' => '/usr/local/www/cloud.domain.tld/data',
  'dbtype' => 'mysql',
  'version' => '24.0.1.1',
  'overwrite.cli.url' => 'https://cloud.domain.tld',
  'dbname' => '...',
  'dbhost' => 'localhost',
  'dbport' => '',
  'dbtableprefix' => 'oc_',
  'mysql.utf8mb4' => true,
  'dbuser' => '...',
  'dbpassword' => '...',
  'installed' => true,
  'default_phone_region' => '...',
  'twofactor_enforced' => 'true',
  'twofactor_enforced_groups' =>
  array (
    0 => '...',
    1 => '...',
    2 => '...',
    3 => '...',
    4 => '...',
    5 => '...',
    6 => '...',
    7 => '...',
  ),
  'twofactor_enforced_excluded_groups' =>
  array (
  ),
  'mail_from_address' => '...',
  'mail_smtpmode' => 'smtp',
  'mail_sendmailmode' => 'smtp',
  'mail_domain' => 'domain.tld',
  'mail_smtpauthtype' => 'LOGIN',
  'mail_smtpauth' => 1,
  'mail_smtphost' => '...',
  'mail_smtpport' => '587',
  'mail_smtpsecure' => 'tls',
  'mail_smtpname' => '...',
  'mail_smtppassword' => '...',
  'maintenance' => false,
  'theme' => '',
  'loglevel' => 2,
  'memcache.local' => '\\OC\\Memcache\\APCu',
  'updater.secret' => '...',
  'app_install_overwrite' =>
  array (
    0 => 'twofactor_admin',
  ),
);

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

Just the usual entries for:
AH01797: client denied by server configuration: /usr/local/www/cloud.domain.nl/data/.ocdata

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.

n/a

Anyone with some guidance? :slight_smile: