Installation failed with following errors. For authentication mode I selected Active Directory -> Select User -> selecte my domain account from the pop-up dialog.
UPDATE: Actually, by going back in the setup wizard and selecting “Username/password stored in Octopus” produces identical error. I wonder if this is related to Active Directoty related components expected to be on the machine?
I am trying to install it on Windows Server 2012R2 version.
Updating config for OctopusIDConfiguration, with id authentication-octopusid
Creating or modifying administrator 'MyUser@corp.domain.net'
Error: ===============================================================================
Error: The specified directory service attribute or value does not exist.
Error:
Error: System.Runtime.InteropServices.COMException
Error: at System.DirectoryServices.DirectoryEntry.Bind(Boolean throwIfFail)
Error: at System.DirectoryServices.DirectoryEntry.Bind()
Error: at System.DirectoryServices.DirectoryEntry.get_SchemaEntry()
Error: at System.DirectoryServices.AccountManagement.ADStoreCtx.IsContainer(DirectoryEntry de)
Error: at System.DirectoryServices.AccountManagement.ADStoreCtx..ctor(DirectoryEntry ctxBase, Boolean ownCtxBase, String username, String password, ContextOptions options)
Error: at System.DirectoryServices.AccountManagement.PrincipalContext.CreateContextFromDirectoryEntry(DirectoryEntry entry)
Error: at System.DirectoryServices.AccountManagement.PrincipalContext.DoLDAPDirectoryInitNoContainer()
Error: at System.DirectoryServices.AccountManagement.PrincipalContext.DoDomainInit()
Error: at System.DirectoryServices.AccountManagement.PrincipalContext.Initialize()
Error: at System.DirectoryServices.AccountManagement.PrincipalContext.ContextForType(Type t)
Error: at System.DirectoryServices.AccountManagement.Principal.set_UserPrincipalName(String value)
Error: at Octopus.Server.Extensibility.Authentication.DirectoryServices.DirectoryServices.UserMatcher.Match(String name, CancellationToken cancellationToken)
Error: at System.Linq.Enumerable.WhereSelectArrayIterator`2.MoveNext()
Error: at System.Linq.Enumerable.FirstOrDefault[TSource](IEnumerable`1 source, Func`2 predicate)
Error: at Octopus.Server.Commands.AdminCommand.AddAdminUser(IRelationalTransaction transaction, Mode mode, CancellationToken cancellationToken) in AdminCommand.cs:line 205
Error: at Octopus.Server.Commands.AdminCommand.Start() in AdminCommand.cs:line 109
Error: at Octopus.Shared.Startup.AbstractCommand.Start(String[] commandLineArguments, ICommandRuntime commandRuntime, OptionSet commonOptions)
Error: at Octopus.Shared.Startup.ConsoleHost.Run(Action`1 start, Action shutdown)
Error: at Octopus.Shared.Startup.OctopusProgram.RunHost(ICommandHost host)
Error: at Octopus.Shared.Startup.OctopusProgram.Run()
Error: -------------------------------------------------------------------------------
Error: Terminating process with exit code 100
Error: Full error details are available in the log files at:
Error: C:\Users\MyUser\AppData\Local\Octopus\Logs
Error: D:\Octopus\Logs
Error: If you need help, please send these log files to https://octopus.com/support
Error: -------------------------------------------------------------------------------
Error:
Error: The previous command returned a non-zero exit code of: 100
Error: The command that failed was: "D:\Program Files\Octopus Deploy\Octopus\Octopus.Server.exe" admin --instance "OctopusServer" --username "MyUser@corp.domain.net" --email "user.name@corp.com"
Deregistered OctopusServer from the database.
Deleted instance: OctopusServer
Many Thanks,
Emil