Navigation Menu

Skip to content
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

Cannot find Boxstarter.zip because it does not exist when remoting #275

Closed
sanzoghenzo opened this issue Jul 18, 2017 · 3 comments
Closed
Labels
Bug Issues where something has happened which was not expected or intended

Comments

@sanzoghenzo
Copy link

Hi,
I'm trying to use Boxstarter to do dome remote deploying inside the domain;
I'm using a domain account with administrative privileges on my machine and installed boxstarter from the web with: . { iwr -useb http://boxstarter.org/bootstrapper.ps1 } | iex; get-boxstarter -Force.
Everything went fine and I can open the Boxstarter Shell;
To test it I tried to install DraftSight to a single remote machine (I enabled the PSremoting on the machine, and also created a GPO to enable it on the entire domain):

$cred=Get-Credential 'DOMAIN\it.software'
Install-BoxstarterPackage -ComputerName UT40 -PackageName draftsight -Credential $cred -Force

This is the result:

Boxstarter Version 2.9.27
(c) 2017 Matt Wrock. http://boxstarter.org

Boxstarter: Configuring local PowerShell Remoting settings...
Boxstarter: Configuring CredSSP settings...
Boxstarter: Testing remoting access on UT40...
Boxstarter: Remoting is accessible on UT40
Boxstarter: Copying Boxstarter Modules and LocalRepo packages at C:\Users\it.software\AppData\Roaming\Boxstarter to C:\Users\IT7029~1.SOF\AppData\Local\Temp on UT40...
Resolve-Path : Cannot find path 'C:\Users\it.software\AppData\Roaming\Boxstarter\Boxstarter.Chocolatey\Boxstarter.zip'
because it does not exist.
At C:\Users\it.software\AppData\Roaming\Boxstarter\Boxstarter.Chocolatey\Send-File.ps1:41 char:16
+ $sourcePath = (Resolve-Path $source).Path
+                ~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : ObjectNotFound: (C:\Users\it.sof...\Boxstarter.zip:String) [Resolve-Path], ItemNotFoundE
   xception
    + FullyQualifiedErrorId : PathNotFound,Microsoft.PowerShell.Commands.ResolvePathCommand

Boxstarter: Copying Boxstarter Modules and LocalRepo packages at C:\Users\it.software\AppData\Roaming\Boxstarter to C:\Users\IT7029~1.SOF\AppData\Local\Temp on UT40...
Resolve-Path : Cannot find path 'C:\Users\it.software\AppData\Roaming\Boxstarter\Boxstarter.Chocolatey\Boxstarter.zip'
because it does not exist.
At C:\Users\it.software\AppData\Roaming\Boxstarter\Boxstarter.Chocolatey\Send-File.ps1:41 char:16
+ $sourcePath = (Resolve-Path $source).Path
+                ~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : ObjectNotFound: (C:\Users\it.sof...\Boxstarter.zip:String) [Resolve-Path], ItemNotFoundE
   xception
    + FullyQualifiedErrorId : PathNotFound,Microsoft.PowerShell.Commands.ResolvePathCommand

Boxstarter: Copying Boxstarter Modules and LocalRepo packages at C:\Users\it.software\AppData\Roaming\Boxstarter to C:\Users\IT7029~1.SOF\AppData\Local\Temp on UT40...
Resolve-Path : Cannot find path 'C:\Users\it.software\AppData\Roaming\Boxstarter\Boxstarter.Chocolatey\Boxstarter.zip'
because it does not exist.
At C:\Users\it.software\AppData\Roaming\Boxstarter\Boxstarter.Chocolatey\Send-File.ps1:41 char:16
+ $sourcePath = (Resolve-Path $source).Path
+                ~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : ObjectNotFound: (C:\Users\it.sof...\Boxstarter.zip:String) [Resolve-Path], ItemNotFoundE
   xception
    + FullyQualifiedErrorId : PathNotFound,Microsoft.PowerShell.Commands.ResolvePathCommand

Boxstarter: Copying Boxstarter Modules and LocalRepo packages at C:\Users\it.software\AppData\Roaming\Boxstarter to C:\Users\IT7029~1.SOF\AppData\Local\Temp on UT40...
Resolve-Path : Cannot find path 'C:\Users\it.software\AppData\Roaming\Boxstarter\Boxstarter.Chocolatey\Boxstarter.zip'
because it does not exist.
At C:\Users\it.software\AppData\Roaming\Boxstarter\Boxstarter.Chocolatey\Send-File.ps1:41 char:16
+ $sourcePath = (Resolve-Path $source).Path
+                ~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : ObjectNotFound: (C:\Users\it.sof...\Boxstarter.zip:String) [Resolve-Path], ItemNotFoundE
   xception
    + FullyQualifiedErrorId : PathNotFound,Microsoft.PowerShell.Commands.ResolvePathCommand

Boxstarter: Copying Boxstarter Modules and LocalRepo packages at C:\Users\it.software\AppData\Roaming\Boxstarter to C:\Users\IT7029~1.SOF\AppData\Local\Temp on UT40...
Resolve-Path : Cannot find path 'C:\Users\it.software\AppData\Roaming\Boxstarter\Boxstarter.Chocolatey\Boxstarter.zip'
because it does not exist.
At C:\Users\it.software\AppData\Roaming\Boxstarter\Boxstarter.Chocolatey\Send-File.ps1:41 char:16
+ $sourcePath = (Resolve-Path $source).Path
+                ~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : ObjectNotFound: (C:\Users\it.sof...\Boxstarter.zip:String) [Resolve-Path], ItemNotFoundE
   xception
    + FullyQualifiedErrorId : PathNotFound,Microsoft.PowerShell.Commands.ResolvePathCommand

The specified module 'C:\Users\IT7029~1.SOF\AppData\Local\Temp\Boxstarter\Boxstarter.Common\Boxstarter.Common.psd1'
was not loaded because no valid module file was found in any module directory.
    + CategoryInfo          : ResourceUnavailable: (C:\Users\IT7029...ter.Common.psd1:String) [Import-Module], FileNot
   FoundException
    + FullyQualifiedErrorId : Modules_ModuleNotFound,Microsoft.PowerShell.Commands.ImportModuleCommand
    + PSComputerName        : UT40

The term 'Create-BoxstarterTask' is not recognized as the name of a cmdlet, function, script file, or operable
program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
    + CategoryInfo          : ObjectNotFound: (Create-BoxstarterTask:String) [], CommandNotFoundException
    + FullyQualifiedErrorId : CommandNotFoundException
    + PSComputerName        : UT40

The term 'Invoke-FromTask' is not recognized as the name of a cmdlet, function, script file, or operable program.
Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
    + CategoryInfo          : ObjectNotFound: (Invoke-FromTask:String) [], CommandNotFoundException
    + FullyQualifiedErrorId : CommandNotFoundException
    + PSComputerName        : UT40

The term 'Write-BoxstarterMessage' is not recognized as the name of a cmdlet, function, script file, or operable
program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
    + CategoryInfo          : ObjectNotFound: (Write-BoxstarterMessage:String) [], CommandNotFoundException
    + FullyQualifiedErrorId : CommandNotFoundException
    + PSComputerName        : UT40

The term 'Remove-BoxstarterTask' is not recognized as the name of a cmdlet, function, script file, or operable
program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
    + CategoryInfo          : ObjectNotFound: (Remove-BoxstarterTask:String) [], CommandNotFoundException
    + FullyQualifiedErrorId : CommandNotFoundException
    + PSComputerName        : UT40

Install-BoxstarterPackageOnComputer : The property 'Path' cannot be found on this object. Verify that the property
exists.
At C:\Users\it.software\AppData\Roaming\Boxstarter\Boxstarter.Chocolatey\Install-BoxstarterPackage.ps1:359 char:21
+ ...             Install-BoxstarterPackageOnComputer $_ $sessionArgs $Pack ...
+                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : NotSpecified: (:) [Write-Error], WriteErrorException
    + FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,Install-BoxstarterPackageOnComputer



Errors       : {The property 'Path' cannot be found on this object. Verify that the property exists., The property
               'Path' cannot be found on this object. Verify that the property exists., The term
               'Remove-BoxstarterTask' is not recognized as the name of a cmdlet, function, script file, or operable
               program. Check the spelling of the name, or if a path was included, verify that the path is correct and
               try again., The term 'Write-BoxstarterMessage' is not recognized as the name of a cmdlet, function,
               script file, or operable program. Check the spelling of the name, or if a path was included, verify
               that the path is correct and try again....}
ComputerName : UT40
Completed    : False
FinishTime   : 18/07/2017 15:15:58
StartTime    : 18/07/2017 15:15:57

Boxstarter: Rolling back remoting settings changed by Boxstarter...

The Boxstarter.zip file is in fact missing from the path.
What am I doing wrong?

@sanzoghenzo
Copy link
Author

Am I the only one having this problem?
What can I do to solve it?

@mwrock
Copy link
Member

mwrock commented Aug 12, 2017

Thats odd that the .zip is missing because it ships with the boxstarter modules. Do you see the boxstarter.chocolatey directory in C:\Users\it.software\AppData\Roaming\Boxstarter. It might also be worth trying the latest boxstarter v2.10 which no longer stores the modules in your roaming profile but in ProgramData instead.

@sanzoghenzo
Copy link
Author

Sorry for not replying sooner..
v2.10 solves the problem, thanks

@pauby pauby added Bug Issues where something has happened which was not expected or intended 4 - Done Code has been added to the repository, and has been reviewed by a team member and removed 4 - Done Code has been added to the repository, and has been reviewed by a team member labels Mar 18, 2019
@pauby pauby closed this as completed Mar 18, 2019
@pauby pauby changed the title Cannot find Boxstarter.zip because it does not exist. Cannot find Boxstarter.zip because it does not exist when remoting Mar 18, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Issues where something has happened which was not expected or intended
Projects
None yet
Development

No branches or pull requests

3 participants