Tentacles crashed while updating

We recently updated our server from 3.3.6 to 3.11.10.
After the server was updated successful I started the task to update all tentacles.

All tentacle processes (services) crashed during this update:

2017-03-13 09:27:26.8000      7 FATAL  Normalerweise darf jede Socketadresse (Protokoll, Netzwerkadresse oder Anschluss) nur jeweils einmal verwendet werden
System.Net.Sockets.SocketException (0x80004005): Normalerweise darf jede Socketadresse (Protokoll, Netzwerkadresse oder Anschluss) nur jeweils einmal verwendet werden
   bei System.Net.Sockets.Socket.DoBind(EndPoint endPointSnapshot, SocketAddress socketAddress)
   bei System.Net.Sockets.Socket.Bind(EndPoint localEP)
   bei System.Net.Sockets.TcpListener.Start(Int32 backlog)
   bei Halibut.Transport.SecureListener.Start()
   bei Octopus.Tentacle.Communications.HalibutInitializer.Start() in Z:\buildAgent\workDir\eec88466c176b607\source\Octopus.Tentacle\Communications\HalibutInitializer.cs:Zeile 47.
   bei Octopus.Tentacle.Commands.RunAgentCommand.Start() in Z:\buildAgent\workDir\eec88466c176b607\source\Octopus.Tentacle\Commands\RunAgentCommand.cs:Zeile 84.
   bei Octopus.Shared.Startup.AbstractCommand.Octopus.Shared.Startup.ICommand.Start(String[] commandLineArguments, ICommandRuntime commandRuntime, OptionSet commonOptions, String displayName, String version, String informationalVersion, String[] environmentInformation, String instanceName) in Z:\buildAgent\workDir\eec88466c176b607\source\Octopus.Shared\Startup\AbstractCommand.cs:Zeile 78.
   bei Octopus.Shared.Startup.OctopusProgram.Start(ICommandRuntime commandRuntime) in Z:\buildAgent\workDir\eec88466c176b607\source\Octopus.Shared\Startup\OctopusProgram.cs:Zeile 235.
   bei Octopus.Shared.Startup.WindowsServiceHost.<>c__DisplayClass1_0.<Run>b__0() in Z:\buildAgent\workDir\eec88466c176b607\source\Octopus.Shared\Startup\WindowsServiceHost.cs:Zeile 20.
   bei Octopus.Shared.Startup.WindowsServiceAdapter.RunService() in Z:\buildAgent\workDir\eec88466c176b607\source\Octopus.Shared\Startup\WindowsServiceAdapter.cs:Zeile 44.

2017-03-13 09:27:26.8781      7 FATAL  Unhandled AppDomain exception occurred: Normalerweise darf jede Socketadresse (Protokoll, Netzwerkadresse oder Anschluss) nur jeweils einmal verwendet werden
System.Net.Sockets.SocketException (0x80004005): Normalerweise darf jede Socketadresse (Protokoll, Netzwerkadresse oder Anschluss) nur jeweils einmal verwendet werden
   bei System.Net.Sockets.Socket.DoBind(EndPoint endPointSnapshot, SocketAddress socketAddress)
   bei System.Net.Sockets.Socket.Bind(EndPoint localEP)
   bei System.Net.Sockets.TcpListener.Start(Int32 backlog)
   bei Halibut.Transport.SecureListener.Start()
   bei Octopus.Tentacle.Communications.HalibutInitializer.Start() in Z:\buildAgent\workDir\eec88466c176b607\source\Octopus.Tentacle\Communications\HalibutInitializer.cs:Zeile 47.
   bei Octopus.Tentacle.Commands.RunAgentCommand.Start() in Z:\buildAgent\workDir\eec88466c176b607\source\Octopus.Tentacle\Commands\RunAgentCommand.cs:Zeile 84.
   bei Octopus.Shared.Startup.AbstractCommand.Octopus.Shared.Startup.ICommand.Start(String[] commandLineArguments, ICommandRuntime commandRuntime, OptionSet commonOptions, String displayName, String version, String informationalVersion, String[] environmentInformation, String instanceName) in Z:\buildAgent\workDir\eec88466c176b607\source\Octopus.Shared\Startup\AbstractCommand.cs:Zeile 78.
   bei Octopus.Shared.Startup.OctopusProgram.Start(ICommandRuntime commandRuntime) in Z:\buildAgent\workDir\eec88466c176b607\source\Octopus.Shared\Startup\OctopusProgram.cs:Zeile 235.
   bei Octopus.Shared.Startup.WindowsServiceHost.<>c__DisplayClass1_0.<Run>b__0() in Z:\buildAgent\workDir\eec88466c176b607\source\Octopus.Shared\Startup\WindowsServiceHost.cs:Zeile 20.
   bei Octopus.Shared.Startup.WindowsServiceAdapter.RunService() in Z:\buildAgent\workDir\eec88466c176b607\source\Octopus.Shared\Startup\WindowsServiceAdapter.cs:Zeile 59.
   bei System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   bei System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   bei System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   bei System.Threading.ThreadHelper.ThreadStart()

I had to start the services manually in order to complete the update.
Maybe this is already fixed with https://github.com/OctopusDeploy/Issues/issues/2573. I Just wanted you to know.

Hi Toni,

Thanks for letting us know. I can reproduce the upgrade failing on Tentacle versions prior to 3.3.23 which was when the issue you linked was resolved.

I’ve created a new issue to fix the Tentacle upgrade for earlier versions so others don’t have the same experience: https://github.com/OctopusDeploy/Issues/issues/3282

Cheers,
Shane