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
- “uninstall” via ControlPanel; this removed the installed program
-
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, IEnumerable
1 p)
at Autofac.Builder.RegistrationBuilder.<>c__DisplayClass11.<ForDelegate>b__0(IComponentContext c, IEnumerable
1 p)
at Autofac.Core.Activators.Delegate.DelegateActivator.ActivateInstance(IComponentContext context, IEnumerable1 parameters) at Autofac.Core.Resolving.InstanceLookup.Activate(IEnumerable
1 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, IEnumerable
1 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, IEnumerable
1 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, Func
1 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, IEnumerable
1 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, IEnumerable
1 parameters)
at Autofac.Features.LazyDependencies.LazyRegistrationSource.<>c__DisplayClass51.<>c__DisplayClass7.<CreateLazyRegistration>b__4() at System.Lazy
1.CreateValue()