Closed FatherShawn closed 7 years ago
The issue seems to be fsmonitor. I like the idea of no changes on the host but maybe this isn't going to work with my setup. fsmonitor is running but unison just sits here after the initial sync:
bg-sync_1 | Reconciling changes
bg-sync_1 | [recon] reconcileAll
bg-sync_1 | [recon] reconcile: 0 results
bg-sync_1 | [update] Marking 0 paths equal
bg-sync_1 | Nothing to do: replicas have not changed since last sync.
By default the contents from the source folder (inside the container) are left unchanged. You have to set SYNC_PREFER: newer
.
I have your container running via docker-compose without detaching docker-compose so I can watch the logs. If I change a file on my Mac and then inspect
/source
by executing a shell in your container, I can see the file changed in source, but there is no reaction in the log and the change does not propogate to destination. Here's the compose section:Any recommendation on how to debug?