I have a PowerShell script used to manually deploy a Nuget package onto client PCs. The following error is being thrown, although the install works perfectly well via the Octopus GUI.
Octopus version: v2018.10.2 LTS
Tentacle version on the client 3.3.4
Any ideas?
Value cannot be null.
Parameter name: path
System.ArgumentNullException
at Alphaleonis.Win32.Filesystem.Path.GetLongPathCore(String path, GetFullPath
Options options)
at Alphaleonis.Win32.Filesystem.Path.GetFullPathCore(KernelTransaction transa
ction, String path, GetFullPathOptions options)
at Alphaleonis.Win32.Filesystem.Path.GetExtendedLengthPathCore(KernelTransact
ion transaction, String sourcePath, PathFormat pathFormat, GetFullPathOptions op
tions)
at Alphaleonis.Win32.Filesystem.Directory.CreateDirectoryCore(KernelTransacti
on transaction, String path, String templatePath, ObjectSecurity directorySecuri
ty, Boolean compress, PathFormat pathFormat)
at Calamari.Integration.FileSystem.LongPathsDirectory.CreateDirectory(String
path)
at Calamari.Integration.FileSystem.CalamariPhysicalFileSystem.EnsureDirectory
Exists(String directoryPath)
at Calamari.Deployment.Journal.DeploymentJournal.Write(IEnumerable`1 elements
)
at Calamari.Deployment.Journal.DeploymentJournal.AddJournalEntry(JournalEntry
entry)
at Calamari.Commands.DeployPackageCommand.Execute(String[] commandLineArgumen
ts)
at Calamari.Program.Execute(String[] args)