-
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
Vagrant not working with rsync on Windows 10 #6677
Comments
just if I may ask, what are you trying to achieve with rsync. If it's about synced folders, I would rather advise you to go for "smb" type folders, enforcing smb3 and mfsymlinks:
Advantages:
|
I believe I'm having a similar problem (Windows 10, Cygwin (x64) with Rsync 3.1.1 and OpenSSH):
The directory structure gets synced, but no files are transferred. Calling the
but other times syncs the files as expected! Exactly the same setup - same project, Vagrantfile and Cygwin/Rsync install - works for me on another machine on Windows 7. As far as I can tell, the "only" difference is the OS. For clarity, here's the raw rsync command I'm calling from the command line that sometimes does and sometimes doesn't sync the files:
|
Hi @Perni1984 thanks for the suggestion. The issues with this are that it doesn't work reliably across all platforms. Also, it requires vagrant to be ran in administrator mode and needs the machines local username/password each time you run it. Ideally I'd like to switch back to using the default VirtualBox synced folders, however unfortunately there is no way to do this. As it stands I have to use |
@LondonAppDev: I understand, I have this Setup here working quite well in my Windows Environments. For smb3, I would only advise you to do so if you have Windows 8 & 10 as your host, as only those Support smb3. For Windows 7 you would have to switch back to smb 2 or just smb. Other than that supporting guest OS symlinks without touching my host OS file structure was key for me, that's what mfsymlinks does. Administrator mode is currently required that's true. I guess this could be worked around with having a dedicated user on the host system that is allowed to access smb shares, but I have not looked into that. |
I have another Windows 10 / cygwin / rsync problem
It states that it may ask for a password, but it does not. If i run rsync manually as someone did here (http://stackoverflow.com/questions/33751174/rsync-permission-denied-error-using-vagrants-docker-provider-on-windows/34812874#34812874) |
The controlpath for cygwin seems wrong, it should have been /cygdrive/c/.... ControlPath=C:/cygwin/tmp/ssh.311 On Sat, Jan 16, 2016 at 8:28 AM, Dennis notifications@github.com wrote:
|
@nuncanada Indeed this seems to be the issue. The The same issue is #6696 |
Having this same issue. Windows 10 cygwin (64bit) rsync 3.1.2-1 Virtualbox 5.0.14 |
@LondonAppDev @ctaorminainn I also had the I found that the issue was because I didn't have the The fix was to add Cygwin's version of Hopefully this fixes it for you both. |
For Broken pipe error while
It will give more time for |
Closing this as root cause seems to be configuration error. If the behavior persists, please feel free to open a new issue. Cheers! |
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further. |
I am using Windows 10 with the latest updates. When I run
vagrant up
on a project which usesdebian/jessie64 (virtualbox, 8.2.2)
, I get the following error:I am using VirtualBox 5.0.10 and I have installed rsync 3.1.1 with cygwin (32bit). Rsync is added to the system PATH.
The text was updated successfully, but these errors were encountered: