-
Notifications
You must be signed in to change notification settings - Fork 572
keep getting rsync error "The source and destination cannot both be remote." #27
Comments
Is this running within Cygwin or something of the sort? I haven't tested this very well on Windows. Can you get me the VAGRANT_LOG=debug output as well? |
Thanks for your quick response. I tried that in both windows command prompt and Cygwin terminal. Same error. Below is the debug output: DEBUG ssh: == Net-SSH connection debug-level log END == DEBUG ssh: Exit status: 0 DEBUG ssh: Exit status: 0 Host path: C:/Project/vagrant/ INFO warden: Beginning recovery process... Host path: C:/Project/vagrant/ INFO warden: Beginning recovery process... Host path: C:/Project/vagrant/
Host path: C:/Project/vagrant/ ERROR vagrant: C:/cygwin/home/Tim/.vagrant.d/gems/gems/vagrant-aws-0.1.2/lib/vagrant-aws/action/sync_folders.rb:47:in INFO interface: error: There was an error when attemping to rsync a share folder. Please inspect the error message below for more info. Host path: C:/Project/vagrant/ There was an error when attemping to rsync a share folder. Host path: C:/Project/vagrant/ |
I am having this issue as well. After a little research I found this: http://superuser.com/questions/337958/rsync-on-windows Running my rsync commands by hand (as assembled by vagrant-aws) from command prompt gave me read errors, running it from cygwin gave no errors, but also created no files on my EC2 instance. Still some work to be done, but I hope this helps! |
I submitted a fix for this: As all rsync implmentations on windows I know of are based on cygwin I think its safe to convert the homepath to the cygdrive version on windows in general for now. |
👍 for fixing this! Added #77 as another candidate... |
Having this problem too. |
Just ran into this on a machine; running 'where' on rsync revealed: Thanks for the reminder of the /cygdrive/ paths, I was able to do a disk to disk copy with rsync -av /cygdrive/i/ /cygdrive/j/ without having to go find another binary, at 2PM on a friday. Sorry to driveby necropost; but this is one of the top results on google for "rsync windows the source and destination cannot both be remote". |
Hi,
I am trying to provision a AWS box using below configuration through windows.
But there seems to be an issue with rsync. I keep getting this error:
The text was updated successfully, but these errors were encountered: