Synology Drive on-demand sync empty on macOS 27

After upgrading a Mac to macOS 27, a new Synology Drive on-demand sync task stayed empty. The client reported a healthy connection, but ~/Library/CloudStorage/SynologyDrive-<task name> contained nothing. This post covers the cause and the workaround that fixed it.

Environment

ItemValue
Affected MacApple silicon, macOS 27.2.1
Working MacmacOS 26.6.2, on-demand task
ClientSynology Drive Client 4.2.1-20062 (3.5.2-16111 behaved the same)
Drive Server3.5.0-26088

Symptom

  • The task shows as connected, and the NAS folder list loads in the setup wizard.
  • The on-demand folder holds only .SynologyWorkingDirectory and .Trash.
  • ui.log repeats Failed to get file provider's syncing info with session #1.
  • The system log shows SynologyDriveFileProvider retrying every few milliseconds with Failed to convert anchor 0 bytes, followed by enumerateChangesFromToken failing with FP -1002.

The client logs are in ~/Library/Application Support/SynologyDrive/log/. The extension messages come from the unified log:

/usr/bin/log show --last 5m --style compact --predicate 'process == "SynologyDriveFileProvider"'

Cause

On macOS 27 the File Provider extension cannot reach the NAS. The Local Network list in System Settings > Privacy & Security only shows SynologyDrive, with no entry for SynologyDriveFileProvider, so there is no toggle to enable.

The extension is a separate process with its own permission, so the main daemon holding an established connection to the NAS (and nc to port 6690 succeeding) says nothing about whether the extension can connect. A community thread reports the same logs and the same fix, with the extension failing to open a channel to the NAS (rc -2) while the main app connects normally. Synology Support suggested a system-level Local Network exception. Synology has not confirmed this as the root cause, and the evidence here is that the exception resolves it.

Fix

The exception allows every app on the Mac to reach the listed address. Using the NAS address with /32 keeps it narrow.

  1. Add the exception, replacing <NAS IP> with the address of the NAS:

    sudo defaults write com.apple.network.local-network AllowedEthernetLocalNetworkAddresses -array "<NAS IP>/32"
    sudo defaults write com.apple.network.local-network AllowedWiFiLocalNetworkAddresses -array "<NAS IP>/32"
    
  2. Check the values:

    sudo defaults read com.apple.network.local-network
    
  3. Restart the Mac. With System Integrity Protection (SIP) enabled, macOS only reads these keys at startup, so a logout is not enough.

  4. Create the on-demand task with Enable On-demand Sync ticked. In the latest option, it is the defaul and there is no checkbox.

To remove the exception later, delete the keys and restart again:

sudo defaults delete com.apple.network.local-network AllowedEthernetLocalNetworkAddresses
sudo defaults delete com.apple.network.local-network AllowedWiFiLocalNetworkAddresses

The thread also describes a second method that disables SIP and runs a script. The method above works with SIP enabled.

Verification

The top-level NAS folders appeared within a minute of creating the task. Check that the files are placeholders and not full copies:

ls -lO ~/Library/CloudStorage/SynologyDrive-<task name>/<folder> | head
du -sh ~/Library/CloudStorage/SynologyDrive-<task name>

References