Hi Dear
I am trying to install Linux tentacle. This is first time I am doing that. What I did is already install tentacle on the target box using these steps Linux Tentacle - Octopus Deploy.
After that I add new listening teatcle normaly on Octopus Web Portal. It add up correctly. But Check health is failing with below error
== Failed: Check QUANT-PRD01 health == 10:40:45 Info | Starting health check for a limited set of machines 10:40:45 Info | 1 machines will have their health checks taken. 10:40:45 Verbose | Checking for Tentacles to update 10:40:45 Fatal | The health check failed. One or more machines were not available. | | == Failed: Check deployment target: QUANT-PRD01 == 10:40:45 Verbose | Performing health check on machine 10:40:45 Verbose | Executable directory is /bin 10:40:45 Verbose | Executable name or full path: /bin/bash 10:40:45 Verbose | No user context provided. Running as current user. 10:40:45 Verbose | Starting /bin/bash in working directory ‘/etc/octopus/Tentacle/Work/20210211104045-179467-2’ using ‘Unicode (UTF-8)’ encoding running as ‘root’ with the same environment variables as the launching process 10:40:45 Error | /etc/octopus/Tentacle/Work/20210211104045-179467-2/Bootstrap.sh: line 2: =: command not found 10:40:45 Error | /etc/octopus/Tentacle/Work/20210211104045-179467-2/Bootstrap.sh: line 3: syntax error near unexpected token (' 10:40:45 Error | /etc/octopus/Tentacle/Work/20210211104045-179467-2/Bootstrap.sh: line 3:
$details = @()’ 10:40:45 Verbose | Process /bin/bash in /etc/octopus/Tentacle/Work/20210211104045-179467-2 exited with code 2 10:40:45 Fatal | The remote script failed with exit code 2 10:40:45 Verbose | The remote script failed with exit code 2 | Octopus.Server.Orchestration.Targets.Tasks.ActivityFailedException: The remote script failed with exit code 2 | at Octopus.Server.Orchestration.ServerTasks.Deploy.ActionDispatch.SuccessArbitrator.ThrowIfNotSuccessfull(ScriptResult result) | at Octopus.Server.Orchestration.ServerTasks.HealthCheck.HealthCheckService.PerformHealthCheck(Machine machine, ExceptionHandling exceptionHandling, Action`2 customAction) | Octopus.Server version 2018.9.7 (2018.9.7+Branch.master.Sha.bc1aa5ccec678935363ecf0dc4c018f3a4bafb82) 10:40:45 Verbose | Recording health check results | | == Failed: Summary == 10:40:45 Fatal | One or more machines were not available. Please see the output Log for details. |
Any idea
Octopus server version:- v2018.9.7
Tentacle version Installed is :- 6.0.390
Thanks
Sunil Bindra