Hi,
We use Octopus for a long time. But now I have to change some permissions and the configuration of some tentacles.
But now I’ve got a problem with the “Redgate - Deploy from Package” (version 11).
On the step “Import-DatabaseBuildArtifact” I got the following error:
“The specified path either doesn’t exist or can’t be accessed by the current Windows account”
Log:
July 29th 2019 15:58:55Error Import-DatabaseBuildArtifact : The specified path either doesn’t exist or can’t be accessed by the current Windows
July 29th 2019 15:58:55Error account: ‘D:\DLM\Demo’
July 29th 2019 15:58:55Error At C:\Octopus\Work\20190729135757-74869-203\Script.ps1:269 char:26
July 29th 2019 15:58:55Error + $importedBuildArtifact = Import-DatabaseBuildArtifact -Path $packageExtractPath
July 29th 2019 15:58:55Error + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
July 29th 2019 15:58:55Error + CategoryInfo : ObjectNotFound: (D:\DLM\Demo:String) [Import-DatabaseBuildArtifact], Terminat
July 29th 2019 15:58:55Error ingException
July 29th 2019 15:58:55Error + FullyQualifiedErrorId : PathNotFound,RedGate.Versioning.Automation.PowerShell.Commands.ImportDatabaseBuildArtifa
July 29th 2019 15:58:55Error ctCommand
July 29th 2019 15:58:57Fatal The remote script failed with exit code 1
I have checked the path multiple times, but the path does exist on the server with the Octopus Tentacle.
The artifact is also available on that location. So the next question is:“what is the current Windows account”. Is that the same user as the Octopus tentacle windows server is to assigned?
Can someone help me to solve this problem?