I'm trying to get Unison to sync two folders, one on my Ubuntu computer and one on my Mac. (I was able to get Rsync working earlier, but I want bidirectional syncing, so I'm looking at Unison). As a test, I created a simple folder on my Ubuntu machine named syncTest that contains two text files, file1.txt and file2.txt. Then I used this command:

unison ~/syncTest/ ssh://admin@Macbook.local//Users/Admin/syncTest

The output of the command is this:

Contacting server...Connected [//MacBook.local//Users/Admin/syncTest -
> //notre-ubuntu//home/notre/syncTest]
Looking for changes
Warning: No archive files were found for these roots, whose canonical 
names are:
This can happen either
because this is the first time you have synchronized these roots, 
or because you have upgraded Unison to a new version with a different
archive format.  

 Update detection may take a while on this run if the replicas are 

 Unison will assume that the 'last synchronized state' of both 
 replicas was completely empty.  This means that any files that are 
 different will be reported as conflicts, and any files that exist 
 only on one replica will be judged as new and propagated to the other 
 replica. If the two replicas are identical, then no changes will be 

 If you see this message repeatedly, it may be because one of your 
 machines is getting its address from DHCP, which is causing its host 
 name to change between synchronizations.  See the documentation for 
 the UNISONLOCALHOSTNAME environment variable for advice on how to 
 correct this.

 Donations to the Unison project are gratefully accepted: 

 Press return to continue.[<spc>]   Waiting for changes from server
 Reconciling changes

 local          MacBook.l...       
 dir      ---->            /  [f]

At this point, nothing further happens. It appears to be sitting indefinitely on my Ubuntu computer. Any ideas on what might be going wrong?

Thank you!


You'll have to press the f-key. Unison is waiting for you to confirm to proceed with the synchronization. The arrow means that it will sync from local to MacBook.l.

  • Ok, badly formulated answer. I'll edit it to be more clear. – Mitra Mai Jan 3 '18 at 9:06
  • Ok, I feel like an idiot. Thanks Melebius, that worked! – Notre Jan 3 '18 at 15:49

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.