Calamari upgrade issue

When I try to run a deployment it says calamari needs to be updated but then it doesn’t work:

Octopus 3.3.5 and Tentacle 3.3.5

This server does not have version 3.3.5 of the Calamari package. It will be pushed automatically.
16:26:09Info
C:\Octopus\Calamari\3.3.5\Success.txt
16:26:57Error
C:\Octopus\Work\20160331152604-2\Bootstrap.ps1 : Calamari extraction failed
16:26:57Error
At line:1 char:37
16:26:57Error

  • $ErrorActionPreference = ‘Stop’; . {.
    16:26:57Error
    ’C:\Octopus\Work\20160331152604-2\Bootstra …
    16:26:57Error

16:26:57Error

16:26:57Error
    + CategoryInfo          : NotSpecified: (:) [Write-Error], WriteErrorExcep 
16:26:57Error
   tion
16:26:57Error
    + FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorExceptio 
16:26:57Error
   n,Bootstrap.ps1

Any idea what's going on here?
Log attached.

Tried to reinstall tentacle, same story

<a class="attachment" href="//octopus-help.s3-us-west-2.amazonaws.com/original/2X/2/297429b4281b83eddd9f19a3dcc5ab9e1664b053.txt">ServerTasks-1417.log.txt</a> (82 KB)

Hi Ricardo,

The log has this line:

16:26:09   Verbose  |         System.UnauthorizedAccessException: Access to the path 'C:\Octopus\Calamari\3.3.5\Calamari.exe' is denied.

Is your Tentacle running as a custom user account? Perhaps that user doesn’t have permission to write to that folder.

Paul

The custom user is an administrator on that box, weird…

tried to add specific folder perms to that user on that folder, issue persists.

Reboot fixed it…

now getting this…

Program ‘Calamari.exe’ failed to run: Access is deniedAt
18:29:23Error
C:\Octopus\Work\20160331172922-1\Bootstrap.ps1:17 char:1
18:29:23Error

  • & “${env:TentacleHome}\Calamari\3.3.5\Calamari.exe” run-script -script
    18:29:23Error
    "Script.p …
    18:29:23Error

18:29:23Error

18:29:23Error
At C:\Octopus\Work\20160331172922-1\Bootstrap.ps1:17 char:1
18:29:23Error
+ & "${env:TentacleHome}\Calamari\3.3.5\Calamari.exe" run-script -script 
18:29:23Error
"Script.p ...
18:29:23Error
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
18:29:23Error

18:29:23Error
+ CategoryInfo : ResourceUnavailable: (:slight_smile: [], ParentContainsError
18:29:23Error
RecordException
18:29:23Error
+ FullyQualifiedErrorId : NativeCommandFailed

My Antivirus Qihoo was detecting Calamari to be a virus so was blocking it! I got it because I was logged on while re-deploying and got the notification. How about that?!