Error whilst installing Octopus

We are getting the below error whilst installing the licensed version on our build server. I have attached the log file
OctopusServer.txt (88.0 KB)

Creating default Octopus Server certificate
Error: ===============================================================================
Error: The profile for the user is a temporary profile.
Error:
Error: System.Security.Cryptography.CryptographicException
Error: at System.Security.Cryptography.CryptographicException.ThrowCryptographicException(Int32 hr)
Error: at System.Security.Cryptography.X509Certificates.X509Utils._LoadCertFromBlob(Byte[] rawData, IntPtr password, UInt32 dwFlags, Boolean persistKeySet, SafeCertContextHandle& pCertCtx)
Error: at System.Security.Cryptography.X509Certificates.X509Certificate.LoadCertificateFromBlob(Byte[] rawData, Object password, X509KeyStorageFlags keyStorageFlags)
Error: at System.Security.Cryptography.X509Certificates.X509Certificate2…ctor(Byte[] rawData, String password, X509KeyStorageFlags keyStorageFlags)
Error: at Octopus.Shared.Security.CertificateGenerator.Generate(String fullName, Boolean exportable, ILog log)
Error: at Octopus.Core.Initialization.BuiltIn.OctopusCertificateInitializer.Initialize(IRelationalStore store)
Error: at Nevermore.StoreInitializer.Initialize()
Error: at Octopus.Server.Commands.DatabaseCommand.Start()
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\TEMP\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” database --instance “OctopusServer” --connectionString “Data Source=sql-octopus;Initial Catalog=Octopus;Integrated Security=True” --create --grant “BOQS\SVC-OCTOPUS”
Deleted instance: OctopusServer

Hi Krishna,

Thanks for getting in touch and I’m sorry to hear you’re having these issues.

It looks like there is a problem with the profile for the user you’re logged in as Error: The profile for the user is a temporary profile., a temporary profile won’t work with Octopus as we need to generate the Octopus certificate and this does not work with temporary profiles.

Can you try the steps here and see if that resolves the issue?

Thank you and best regards,
Henrik

Thanks Henrik. Issue has been resolved

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.