Re: Lock file error
Patrick Giasson <[email protected]>
| Newsgroups | gmane.network.unison.general |
|---|---|
| Message-ID | <[email protected]> |
On Monday, December 18, 2023 at 9:50:33 AM UTC-5 Tõivo Leedjärv wrote: On Mon, 18 Dec 2023 at 14:56, Patrick Giasson <[email protected]> wrote: > > unison -testServer a.tmp ssh://server/a.tmp > Fatal error: cannot synchronize more than one remote root I think your default profile is interfering here. If you don't specify any profile name then settings are read from a profile called "default" (in a file .unison/default.prf). The end result is that there are now four roots specified: two in the default profile, two on the command line. To get around this either (temporarily, if you want) rename the default.prf or create a new empty file (for example noprofile.prf) and then invoke it as follows: unison -testServer noprofile a.tmp ssh://server/a.tmp You are right. I renamed my default.prf to somethingelse.prf and the -testServer command ran successfully: Unison 2.53.3 (ocaml 4.14.1): Contacting server... Connected [//client//home/SYNDICAT/user/a.tmp -> //server//home/SYNDICAT/user/a.tmp] However, the following command failed with the lock file error: $unison a.tmp ssh://server/a.tmp Unison 2.53.3 (ocaml 4.14.1): Contacting server... Connected [//client//home/SYNDICAT/user/a.tmp -> //server//home/SYNDICAT/user/a.tmp] Looking for changes Fatal error: Warning: the archives are locked. If no other instance of unison is running, the locks should be removed. The file /home/SYNDICAT/user/lk67e9fd1791d7565afcd5570b891953d0 on host server should be deleted Please delete lock files as appropriate and try again. Any idea? Patrick -- To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].