Nextcloud Client Not Syncing

Nextcloud version: 21.0.3
Operating system and version: Ubuntu 20.04.2 LTS
Installed via snap
PHP version: 7.4.21

The issue you are facing:
Nextcloud client isn’t syncing. Been sitting alternating between “reconciling changes…” and “waiting” for over 5 hours. Encryption is not enabled on this server.

Apparently I’m not alone here:

Is there anything that can be done here?..

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

The output of your Nextcloud log in Admin > Logging:
Empty.

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' => 'oc7n2gnsms03', 'passwordsalt' => 'AsQY2+nsk6egmzf9m4KDoU', 'secret' => 'AE4kFXs5l7crLiS+PpFl2/weGUNYnHSLuSZbz', 'trusted_domains' => array ( 0 => 'NEXTCLOUD.URL', ), 'datadirectory' => '/var/snap/nextcloud/common/nextcloud/data', 'dbtype' => 'mysql', 'version' => '21.0.1.1', 'overwrite.cli.url' => 'NEXTCLOUD.URL', 'dbname' => 'nextcloud', 'dbhost' => 'localhost:/tmp/sockets/mysql.sock', 'dbport' => '', 'dbtableprefix' => 'oc_', 'mysql.utf8mb4' => true, 'dbuser' => 'nextcloud', 'dbpassword' => 'IMvHLvcn5YVEuroaLtWumR1aJqeR8-fK2Q9HOvL4d_vJXQ7', 'installed' => true, ); The output of your Apache/nginx/system log in `/var/log/____`: N/A

Hi @kwriley87, have you try to install this app ?
https://apps.nextcloud.com/apps/notify_push

Well… the issue isn’t resolved but a work around has been found… Using virtual files with large directories appears to cause the syncing to completely hang. As soon as I disabled virtual files and synced everything locally, it works.

That being said, not exactly an ideal solution here but it works.

Why do virtual files not work with large directories?