Installing tentacle on WinServ 2003 R2 SP2; error on configuring home

Using tentacle 2.0.6.950 on a Windows Server 2003 R2 SP2. Here’s the script that is invoked based on my selection of default directories and a listening tentacle. The error message generated by the second line is below, where “home” is configured.

Previously, this machine had a 1.6 tentacle, which has been removed, by using

  1. “uninstall” via ControlPanel; this removed the installed program
  2. sc delete “Octopus Tentacle” to remove the 1.6 windows service which was not removed with the uninstall
    Then rebooted for good luck. Still could not install the 2.0.6.950 tentacle.

The server is a 32 bit machine, so there is no “Program Files (x86)” directory. But I created this on a whim thinking this might be an issue - this did not help.

Any help is appreciated.

------------ S C R I P T ------------------------------------

“C:\Program Files\Octopus Tentacle 2.0\Agent\Tentacle.exe” create-instance --instance “Tentacle” --config “C:\Octopus\Tentacle\Tentacle.config”
“C:\Program Files\Octopus Tentacle 2.0\Agent\Tentacle.exe” configure --instance “Tentacle” --home “C:\Octopus”
“C:\Program Files\Octopus Tentacle 2.0\Agent\Tentacle.exe” configure --instance “Tentacle” --app “C:\Octopus\Applications”
“C:\Program Files\Octopus Tentacle 2.0\Agent\Tentacle.exe” configure --instance “Tentacle” --port "10933"
“C:\Program Files\Octopus Tentacle 2.0\Agent\Tentacle.exe” configure --instance “Tentacle” --trust “XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX”
“C:\Program Files\Octopus Tentacle 2.0\Agent\Tentacle.exe” service --instance “Tentacle” --install --start

-------------H E R E I S T H E E R R O R M E S S A G E ------------------------------

Octopus Deploy: Tentacle version 2.0.6.950


A fatal exception occurred
Autofac.Core.DependencyResolutionException: An exception was thrown while executing a resolve operation. See the InnerException for details. —> The path is not of a legal form. (See inner exception for details.) —> System.ArgumentException: The path is not of a legal form.
at System.IO.Path.NormalizePath(String path, Boolean fullCheck, Int32 maxPathLength)
at System.IO.Path.GetFullPathInternal(String path)
at System.IO.Directory.GetDirectoryRoot(String path)
at Octopus.Shared.Configuration.HomeConfiguration…ctor(ApplicationName application, IKeyValueStore settings) in c:\TeamCity\buildAgent\work\1116bd9da9e239fd\source\Octopus.Shared\Configuration\HomeConfiguration.cs:line 19
at Octopus.Shared.Configuration.ConfigurationModule.b__2(IComponentContext c) in c:\TeamCity\buildAgent\work\1116bd9da9e239fd\source\Octopus.Shared\Configuration\ConfigurationModule.cs:line 37
at Autofac.RegistrationExtensions.<>c__DisplayClass101.<Register>b__f(IComponentContext c, IEnumerable1 p)
at Autofac.Builder.RegistrationBuilder.<>c__DisplayClass11.<ForDelegate>b__0(IComponentContext c, IEnumerable1 p)
at Autofac.Core.Activators.Delegate.DelegateActivator.ActivateInstance(IComponentContext context, IEnumerable1 parameters) at Autofac.Core.Resolving.InstanceLookup.Activate(IEnumerable1 parameters)
at Autofac.Core.Resolving.InstanceLookup.b__0()
at Autofac.Core.Lifetime.LifetimeScope.GetOrCreateAndShare(Guid id, Func1 creator) at Autofac.Core.Resolving.InstanceLookup.Execute() at Autofac.Core.Resolving.ResolveOperation.GetOrCreateInstance(ISharingLifetimeScope currentOperationScope, IComponentRegistration registration, IEnumerable1 parameters)
at Autofac.Core.Resolving.InstanceLookup.ResolveComponent(IComponentRegistration registration, IEnumerable1 parameters) at Autofac.Core.Activators.Reflection.AutowiringParameter.<>c__DisplayClass2.<CanSupplyValue>b__0() at Autofac.Core.Activators.Reflection.ConstructorParameterBinding.Instantiate() at Autofac.Core.Activators.Reflection.ReflectionActivator.ActivateInstance(IComponentContext context, IEnumerable1 parameters)
at Autofac.Core.Resolving.InstanceLookup.Activate(IEnumerable1 parameters) at Autofac.Core.Resolving.InstanceLookup.<Execute>b__0() at Autofac.Core.Lifetime.LifetimeScope.GetOrCreateAndShare(Guid id, Func1 creator)
at Autofac.Core.Resolving.InstanceLookup.Execute()
at Autofac.Core.Resolving.ResolveOperation.GetOrCreateInstance(ISharingLifetimeScope currentOperationScope, IComponentRegistration registration, IEnumerable1 parameters) at Autofac.Core.Resolving.ResolveOperation.Execute(IComponentRegistration registration, IEnumerable1 parameters)
— End of inner exception stack trace —

Server stack trace:
at Autofac.Core.Resolving.ResolveOperation.Execute(IComponentRegistration registration, IEnumerable1 parameters) at Autofac.Core.Lifetime.LifetimeScope.ResolveComponent(IComponentRegistration registration, IEnumerable1 parameters)
at Autofac.Features.LazyDependencies.LazyRegistrationSource.<>c__DisplayClass51.<>c__DisplayClass7.<CreateLazyRegistration>b__4() at System.Lazy1.CreateValue()

Exception rethrown at [0]:
at Autofac.Core.Resolving.ResolveOperation.Execute(IComponentRegistration registration, IEnumerable1 parameters) at Autofac.Core.Lifetime.LifetimeScope.ResolveComponent(IComponentRegistration registration, IEnumerable1 parameters)
at Autofac.Features.LazyDependencies.LazyRegistrationSource.<>c__DisplayClass51.<>c__DisplayClass7.<CreateLazyRegistration>b__4() at System.Lazy1.CreateValue()
at System.Lazy1.LazyInitValue() at System.Lazy1.get_Value()
at Octopus.Shared.Configuration.LogInitializer.InitializeLogs() in c:\TeamCity\buildAgent\work\1116bd9da9e239fd\source\Octopus.Shared\Configuration\LogInitializer.cs:line 38
at System.Action.Invoke()
at Octopus.Shared.Configuration.ApplicationInstanceSelector.OnLoaded() in c:\TeamCity\buildAgent\work\1116bd9da9e239fd\source\Octopus.Shared\Configuration\ApplicationInstanceSelector.cs:line 95
at Octopus.Shared.Configuration.ApplicationInstanceSelector.Load(ApplicationInstanceRecord record) in c:\TeamCity\buildAgent\work\1116bd9da9e239fd\source\Octopus.Shared\Configuration\ApplicationInstanceSelector.cs:line 89
at Octopus.Shared.Configuration.ApplicationInstanceSelector.LoadInstance(String instanceName) in c:\TeamCity\buildAgent\work\1116bd9da9e239fd\source\Octopus.Shared\Configuration\ApplicationInstanceSelector.cs:line 61
at Octopus.Shared.Startup.AbstractStandardCommand.Start() in c:\TeamCity\buildAgent\work\1116bd9da9e239fd\source\Octopus.Shared\Startup\AbstractStandardCommand.cs:line 21
at Octopus.Tentacle.Commands.ConfigureCommand.Start() in c:\TeamCity\buildAgent\work\1116bd9da9e239fd\source\Octopus.Tentacle\Commands\ConfigureCommand.cs:line 62
at Octopus.Shared.Startup.AbstractCommand.Octopus.Shared.Startup.ICommand.Start(String[] commandLineArguments, ICommandRuntime commandRuntime) in c:\TeamCity\buildAgent\work\1116bd9da9e239fd\source\Octopus.Shared\Startup\AbstractCommand.cs:line 42
at Octopus.Shared.Startup.OctopusProgram.Start(ICommandRuntime commandRuntime) in c:\TeamCity\buildAgent\work\1116bd9da9e239fd\source\Octopus.Shared\Startup\OctopusProgram.cs:line 157
at Octopus.Shared.Startup.ConsoleHost.Run(Action`1 start, Action shutdown) in c:\TeamCity\buildAgent\work\1116bd9da9e239fd\source\Octopus.Shared\Startup\ConsoleHost.cs:line 34

Oops, found a very similar thread here…

http://help.octopusdeploy.com/discussions/problems/14604-tentacle-upgrade-to-20

I’ll close this thread