Error during upgrade from 5.3 to 5.4

  • 16 February 2021
  • 0 replies
  • 83 views

Badge +6

Issue

You might receive the following error if you try to upgrade from K2 Five (5.3) to Five (5.4), see below for more information.

Error Code

23:00:27:>> AnalyzableAction.PopulateValidateAndExecute: Start execute standard action: SourceCode.Install.Package.Actions.K2.RegisterShard: Register Environment 23:00:27:>> Target.GetValue: Return 'Value': '*Redacted: Installed Connection String*' 23:00:27:>> Target.GetValue: Return 'Endpoint': 'https://xxxSharepointCustomerURLxxx:5560' 23:00:27:>> Target.GetValue: Return 'EnvironmentId': 'd277e644-56ca-4c72-9d73-6bf25fc567b0' 23:00:27:>> Target.GetValue: Return 'CertificateThumbprint': 'C1CD6C9C200DF206F45085774B92EF3C88284928' 23:00:27:>> Target.GetValue: Return 'CertificateFile': '' 23:00:27:>> Target.GetValue: Return password. 23:00:27:>> RegisterShard.Execute: Start Registering Shard 23:00:27:>> ConfigurationEndpointPayload.GetClient: Get client for given connection 23:00:27:>> ConfigurationEndpointPayload.GetClient: Endpoint: https://xxxSharepointCustomerURLxxx:5560 23:00:27:>> ConfigurationEndpointPayload.GetClient: Endpoint: d277e644-56ca-4c72-9d73-6bf25fc567b0 23:00:27:>> ConfigurationEndpointPayload.GetClient: Using thumbprint: C1CD6C9C200DF206F45085774B92EF3C88284928 23:00:27:>> Certificates.FindCertificate: Find certificate: C1CD6C9C200DF206F45085774B92EF3C88284928 in LocalMachine 23:00:27:>> Certificates.FindCertificate: Search in root 23:00:27:>> Certificates.FindCertificate: Start. 23:00:27:>> Certificates.FindCertificate: Find certificate: C1CD6C9C200DF206F45085774B92EF3C88284928 in LocalMachine - Root 23:00:27:>> Certificates.FindCertificate: Found 0 certificates 23:00:27:>> Certificates.FindCertificate: Search in My 23:00:27:>> Certificates.FindCertificate: Start. 23:00:27:>> Certificates.FindCertificate: Find certificate: C1CD6C9C200DF206F45085774B92EF3C88284928 in LocalMachine - My 23:00:27:>> Certificates.FindCertificate: Found 1 certificates 23:00:49:>> AnalyzableAction.PopulateValidateAndExecute: Logged Error: Error while running action: System.Exception: Error (0) . ---> System.Net.WebException: The underlying connection was closed: An unexpected error occurred on a send. ---> System.IO.IOException: Authentication failed because the remote party has closed the transport stream. at System.Net.TlsStream.EndWrite(IAsyncResult asyncResult) at System.Net.ConnectStream.WriteHeadersCallback(IAsyncResult ar) --- End of inner exception stack trace --- at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult) at RestSharp.Http.GetRawResponseAsync(IAsyncResult result, Action`1 callback) at RestSharp.Http.ResponseCallback(IAsyncResult result, Action`1 callback) --- End of inner exception stack trace --- at SourceCode.Configuration.Client.Extensions.RestClientExtensions.<ExecuteAndEnsure>d__0.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at SourceCode.Configuration.Client.Helpers.AsyncHelper.RunAsSync(Func`1 func) at SourceCode.Install.Package.Actions.K2..

Resolution

In our case we recommended the user rollback to the previous version of K2 and re-execute the upgrade with the correct account. Generally this error appears if you don't use the same account between each upgrade or Fix Pack installation.

 

There is a feature request to change this functionality, please feel free to vote by viewing the link below: Have a warning message/popup when the upgrade/Update/Cumulative Update/Fix pack if the current user is not the same from the last execution 

 


0 replies

Be the first to reply!

Reply