PSD icon indicating copy to clipboard operation
PSD copied to clipboard

Error during deployroot network access validation

Open yckbrd opened this issue 3 years ago • 2 comments

Get-PSDContent_return_var_001 Get-PSDContent_return_var_002 Get-PSDContent_return_var_003 Get-PSDContent_return_var_004

yckbrd avatar Sep 18 '22 01:09 yckbrd

The error is not rooted network access denial as it might seem on the first look. The files are copied without problems. The error comes from an erronous variable which is returned after the execution of Get-PSDContent which includes the output of Copy-PSDFolder. Strangely this only happens when Get-PSDContent is called whithin the script. When I tried the command $control = Get-PSDContent -Content "Control" manually in a separate window the variable was fine.

Adding | out-null to Get-PSDContentUNC -content $content -destination $dest in PSDDeploymentShare.psm1 (Line 212) fixed the issue for me.

yckbrd avatar Sep 18 '22 01:09 yckbrd

Probably it's the output from xcopy #49 However a new version was just released. In this version the xcopy output is nulled.

ASlowTurtle avatar Sep 22 '22 15:09 ASlowTurtle

The error is not rooted network access denial as it might seem on the first look. The files are copied without problems. The error comes from an erronous variable which is returned after the execution of Get-PSDContent which includes the output of Copy-PSDFolder. Strangely this only happens when Get-PSDContent is called whithin the script. When I tried the command $control = Get-PSDContent -Content "Control" manually in a separate window the variable was fine.

Adding | out-null to Get-PSDContentUNC -content $content -destination $dest in PSDDeploymentShare.psm1 (Line 212) fixed the issue for me.

Can you please provide the Bootstrap.ini settings for the deployment share? My understanding from the shots above is that you're using the UNC path of the Deployment Share but this method is not supported, you have to use the http/https based url of your Deployment Share. The boot media must be rebuild after any change in BootStrap.ini by right-clicking on the Deployment Share in the Deployment Workbench UI and selecting "Update Deployment Share". The solution contains all the needed scripts to prepare the infrastructure (IIS, Standalone CA) to support https based installations, you will find them in the Tools folder of PSD.

GeoSimos avatar Oct 27 '22 21:10 GeoSimos

And check the guidance provided here too https://github.com/FriendsOfMDT/PSD/issues/54#issuecomment-1294141151.

GeoSimos avatar Oct 27 '22 22:10 GeoSimos