Exception thrown when trying to deploy

Hello,

I get the following error when trying to deploy to one of my tentacle. There’s nothing in the log of the tentacle.
I checked and the tentacle has :

  • Log on as a service rights on the current machine
  • Can write to the home directory
  • Rights to view X.509 certificates in the local machine context <= How do I check that?

Thanks,
Carole

The actor TentacleScriptRun-Bw-vSpM21k3@SQ-WINT-DEV-VM029-D3222D08 cannot handle failure Octopus.Tentacle.Orchestration.Deploy.Mutex.AcquireCommand
System.InvalidOperationException: The actor TentacleScriptRun-Bw-vSpM21k3@SQ-WINT-DEV-VM029-D3222D08 cannot handle failure Octopus.Tentacle.Orchestration.Deploy.Mutex.AcquireCommand
at Pipefish.Actor.OnHandleFailedTyped[TBody](Message deliveryFailure, Message failedMessage, Error error) in c:\TeamCity\buildAgent\work\cf0b1f41263b24b9\source\Pipefish\Actor.cs:line 169

17:28:57

Fatal
The message could not be handled
System.UnauthorizedAccessException: Access to the path is denied.
at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.IO.File.InternalReplace(String sourceFileName, String destinationFileName, String destinationBackupFileName, Boolean ignoreMetadataErrors)
at Pipefish.Persistence.Filesystem.ActorStateFile.Save(ActorStateDictionary state) in c:\TeamCity\buildAgent\work\cf0b1f41263b24b9\source\Pipefish\Persistence\Filesystem\ActorStateFile.cs:line 91
at Pipefish.PersistentActor1.Save() in c:\TeamCity\buildAgent\work\cf0b1f41263b24b9\source\Pipefish\PersistentActor.cs:line 62 at Pipefish.PersistentActor1.d__0.MoveNext() in c:\TeamCity\buildAgent\work\cf0b1f41263b24b9\source\Pipefish\PersistentActor.cs:line 49

17:28:57

Fatal
The actor ProcedureCallOrchestrator-CA-vSpM5OMQ@SQ-WINT-DEV-VM029-D3222D08 cannot handle failure Pipefish.Messages.Timing.SetTimeoutCommand
System.InvalidOperationException: The actor ProcedureCallOrchestrator-CA-vSpM5OMQ@SQ-WINT-DEV-VM029-D3222D08 cannot handle failure Pipefish.Messages.Timing.SetTimeoutCommand
at Pipefish.Actor.OnHandleFailedTyped[TBody](Message deliveryFailure, Message failedMessage, Error error) in c:\TeamCity\buildAgent\work\cf0b1f41263b24b9\source\Pipefish\Actor.cs:line 169

Hello,
Anyone please?
Thanks

Hi Carole,

Sorry about the delay in getting back to you.

The service account must have write access (full control) over the Actors and Messages folders under the path in the message - probably the first thing to check.

It is possible there’s some kind of service, agent, security software or other factor involved. Antivirus would be my first guess, but I have a feeling we ruled that out in an earlier discussion. Do you have any ideas? Does the issue occur every single time you deploy to the problem machine, or only intermittently?

Hope this helps,

Nick

Hi Nick,

Giving Full Control permission worked. I thought read/write would be enough.

Thanks,
Carole