vscode-rsync icon indicating copy to clipboard operation
vscode-rsync copied to clipboard

rsync return 12

Open sadan opened this issue 6 years ago • 3 comments

Hey,

I am trying to setup edX devstack based on Vagrant with Vscode. I've a multi-root workspace environment. The good part is, my files are syncing perfectly. Here's my workspace settings

{
	"folders": [
		{
			"path": "devstack"
		},
		{
			"path": "nodebb"
		}
	],
	"settings": {
        "sync-rsync.sites": [
            {
                "localPath": "devstack/edx-platform/",
                "remotePath": "vagrant@vagrant:/edx/app/edxapp/edx-platform/",
                "shell": "ssh -p 2222"
            },
            {
                "localPath": "devstack/src/",
                "remotePath": "vagrant@vagrant:/edx/src/",
                "shell": "ssh -p 2222"
            }
        ],
        "sync-rsync.onSave": true,
        "sync-rsync.executableShell": "/bin/bash",
        "sync-rsync.notification": true
    }
}

Whenever I make changes in any of the files specified in localPath they appear on the remote machine. But the package shows me this error screen shot 2019-02-01 at 11 28 09 am

Am I missing something?

sadan avatar Feb 01 '19 07:02 sadan

It is saying rsync cannot connect to "vagrant" can you ping "vagrant" or ssh into it?

thisboyiscrazy avatar Feb 01 '19 20:02 thisboyiscrazy

@sadan Do you add vagrant resolve to your local hosts file?

lopsd07 avatar Feb 03 '19 03:02 lopsd07

have you confirmed you have rsync on your guest machine?

I have run into this issue before receiving that error code.

dambrogia avatar Apr 18 '19 16:04 dambrogia