-
Notifications
You must be signed in to change notification settings - Fork 4.4k
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
Rsync not working properly #3925
Comments
What is the output when you run Please provide detailed steps to reproduce, your platform, etc. We need as much information as possible to be able to fix this. Everything in your Vagrantfile on first glance looks fine. |
Output from Output from I'm on Window 7 Enterprise 64 Bit and have the vagrant-vbguest plugin installed. Otherwise it's all setup as-is. The Rsync I am using is the one located within |
Sorry can you attach the debut put (gist), by running with It looks like on the surface everything is working. The reason a cygwin-style path is shown is because Vagrant detects that the rsync it is using is compiled with cygwin and it requires those paths. Everything looks good. You may just have a broken rsync, although I've never seen that. I've also just never seen rsync fail like this, very odd. |
@mitchellh Here is the debug output, fair warning it's really long. |
Hi, got the same problem. Tracked it down to this part: from C:\HashiCorp\Vagrant\embedded\gems\gems\vagrant-1.6.3\lib\vagrant\util\platform.rb:59
It seems that the variable cygwin is not set properly, so cygpath ... isn't executed. Thus the fallback will be executed and there is the problem. I have installed cygwin and gitbash in parallel. POC: gitbash: cygwin: $ cd C:\projects && pwd so we have 2 problems:
for me this works temporarily:
;) HTH Majk |
Version 1.5.4 worked, but version 1.6.3 broke. It treats c:\Users as /c/Users, which doesn't work on Windows. It should use the colon:
This is from the same console window in which I was using 1.5.4 previously today:
Even if I try to change the line in Vagrantfile to
Then it tries to synch the root and produces this error
|
Same problem here - I updated to 1.6.3 from 1.6.2 and rsync broke (apparently due to the change in parameters, since my output is /c/Users... |
I think I found a workaround - so far I was running vagrant rsync from a git bash (MINGW32); running it from an actual Cygwin shell removed all errors and seems to work correctly (both vagrant rsync and vagrant rsync-auto). |
You could change cygdrive prefix from default /cygdrive to /. See #3913 |
This should be fixed. Other various Windows issues are tracked in other bugs, which are still open. |
I have a Vagrantbox setup with Rsync and for some reason any changes I make to the VM do not propogate to my host machine, even with using the
vagrant rsync
command. I've included a link to my VagrantFile.https://gist.github.com/cc514c7c3441a90ff391
The text was updated successfully, but these errors were encountered: