Bash script failing with error code 136

Hi, can anyone suggest why this is happening I can;t seem to run even the simplest of bsah commands.
This is the detail from the task log:
Executing script on '**************'
November 1st 2017 16:22:13
Error
Failed to load �^�, error: libunwind.so.8: cannot open shared object file: No such file or directory
November 1st 2017 16:22:13
Error
Failed to bind to CoreCLR at '/home/ec2-user/.octopus/OctopusServer/Calamari/linux-x64/3.7.112/libcoreclr.so’
November 1st 2017 16:22:14
Fatal
The remote script failed with exit code 136
November 1st 2017 16:22:14
Fatal

Actually on further investigation this is resolved:
Looked at a past issue in here and it suggests installing libunwind8.
However, that is not needed just to run a script if you set a variable OctopusUseRawScript to True then it resolves the issue. See this document:
https://octopus.com/docs/deploying-applications/custom-scripts/raw-scripting

Hi Mike,

Thank you for contacting Octopus Deploy support in regards to this query,

I’m glad to hear you have a solution. As explained in the documentation you provided, Mono is a pre-requisite for Calamari to run on SSH endpoints, and this “OctopusUseRawScript” variable is needed.

If you require any further assistance or clarification please let us know :slight_smile:

Kind Regards,

Reece