Skip to content
This repository has been archived by the owner on Jul 1, 2021. It is now read-only.

For local (SMB) deploy to Windows Server, Deploy fails trying to make existing dir #157

Open
boarmanc opened this issue Oct 12, 2018 · 0 comments

Comments

@boarmanc
Copy link

I am trying to deploy to a windows file share named htdocs on server win-efedehe4j1i. Deploy fails trying to call mkdir on a dir (//win-efedehe4j1i/htdocs) that is already there. The share is fully accessible from the client; I have no problem creating or copying files from the client to the share manually.

Here are the settings:

 `"deploy": {
		"packages": [
			{
				"name": "eSM ",
				"description": "eSM version x",
				"files": [
					"Source/htdocs/**/*.php"
				]
			}
		],
		"targets": [
			{
				"type": "local",
				"name": "Remote htdocs",
				"description": "htdocs on win-efedehe4j1i",
				"dir": "//win-efedehe4j1i/htdocs",
				"mappings": [
					{
						"source": "Source/htdocs",
						"target": "/"
					}
				]	
			}
		]			
	}`

When deploying a single test file with the above settings, I get:

Could not deploy file 'c:\Code\eSM\cboarman_APERIO-01644_eSlideManager_Dev\Source\htdocs\Login.php': Error: UNKNOWN: unknown error, mkdir '\win-efedehe4j1i\htdocs'

Why is it trying to create a directory that is already there?

When I replace "local" with "test", it passes and I get:

Deploying file 'c:\Code\eSM\cboarman_APERIO-01644_eSlideManager_Dev\Source\htdocs\Login.php' to '/Login.php' ('Remote htdocs')... [OK]
Finished

@boarmanc boarmanc changed the title For local (SMB) deploy to Windows Server 2016, Deploy fails trying to make existing dir For local (SMB) deploy to Windows Server, Deploy fails trying to make existing dir Oct 12, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant