Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The system cannot find the path specified. / Unison not running in VM #16

Open
pbowyer opened this issue Apr 20, 2016 · 5 comments
Open

Comments

@pbowyer
Copy link

pbowyer commented Apr 20, 2016

The speedup of using Unison instead of NFS is awesome (I have just got it installed 👍 ) but I'm getting this message all the time throughout the polling. Host is Windows 7 Pro, Guest is Ubuntu 14.04.

λ vagrant unison-sync-polling
Unisoning changes from {host}::D:/ia/ --> {guest VM}::/var/www
Running unison D:/ia/ ssh://vagrant@127.0.0.1//var/www -terse -repeat 1 -sshargs "-p 2222  -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -o IdentitiesOnly=yes -i D:/ia/.vagrant/machines/iadev/virtualbox/private_key"
Warning: Permanently added '[127.0.0.1]:2222' (RSA) to the list of known hosts.
The system cannot find the path specified.
The system cannot find the path specified.
Unison not running in VM
changed  ---->            .idea/workspace.xml
changed  ---->            Vagrantfile
[BGN] Updating file .idea/workspace.xml from D:/ia to //iadev//var/www
[BGN] Updating file Vagrantfile from D:/ia to //iadev//var/www
[END] Updating file .idea/workspace.xml
[END] Updating file Vagrantfile
Synchronization complete at 16:34:05  (2 items transferred, 0 skipped, 0 failed)
The system cannot find the path specified.
The system cannot find the path specified.
Unison not running in VM
The system cannot find the path specified.
The system cannot find the path specified.
Unison not running in VM
         <---- new file   test.txt
[BGN] Copying test.txt from //iadev//var/www to D:/ia
Shortcut: copied D:/ia/test.txt from local file D:/ia/web/vendor/phpforce/soap-client/tests/Phpforce/SoapClient/Tests/AbstractResultTest.php
[END] Copying test.txt
Synchronization complete at 16:34:31  (1 item transferred, 0 skipped, 0 failed)
The system cannot find the path specified.
The system cannot find the path specified.
Unison not running in VM
The system cannot find the path specified.
The system cannot find the path specified.
Unison not running in VM

What does it mean, and is there any option to turn on a more verbose output?

@dcosson
Copy link
Owner

dcosson commented Jun 15, 2016

Sorry for the delayed response

Could it be a combination of windows & unix paths? For instance, shouldn't all the windows paths be using backslashes?

Try running the unison command explicitly in your host, i.e:

unison D:/ia/ ssh://vagrant@127.0.0.1//var/www -terse -repeat 1 -sshargs "-p 2222  -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -o IdentitiesOnly=yes -i D:/ia/.vagrant/machines/iadev/virtualbox/private_key

If that still shows the error, i would try removing the /dev/null part since i don't think that makes sense on windows, and double check that the private_key path is correct, maybe it needs to be changed to use backslashes?

I don't have a windows host to test this on (or own a windows license to install as a vagrant guest) so unfortunately I can't be much help in debugging this.

@denblackstache
Copy link

denblackstache commented Aug 16, 2016

@dcosson Yeah, with windows paths specified to use backslashes there is no such error about hosts.

Warning: Permanently added '[127.0.0.1]:2222' (RSA) to the list of known hosts.

Also I cannot reproduce this subject error after that manipulation. Maybe it also fixes that.

@dcosson
Copy link
Owner

dcosson commented Sep 7, 2016

Also I cannot reproduce thid subject error after that manipulation. Maybe it also fixes that.

@HyperC0der Not sure I follow, sorry. Are you referring to the ssh warning quoted? That's because of the ssh settings with user known hosts being set to /dev/null, if you have a solution that'll let us not skip ssh authentication but will continue to work if you destroy & re-create the vm I'd love to fix this.

@dcosson
Copy link
Owner

dcosson commented Sep 7, 2016

@pbowyer If you got this working and want to submit a patch that'll use the right paths on Windows or OSX, that would be awesome. I don't ever use a Windows host.

@pbowyer
Copy link
Author

pbowyer commented Sep 8, 2016

@dcosson I got it working and will have to dig out this VM to see how (haven't used it for a few months). I had it working well for our 2-person team (one a Windows host, the other OSX)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants