Skip to main content

We just cloned a K2 server that has K2 version 5.2 installed (5.0003.1000.2).  When running the set up manager on the cloned box to update the license key and finish out the wizard, we get the error below involving K2 Core.  I did see a similar forum post that referenced installing K2 Five with Developer license and with a separate installation account. However, this seems to be a different issue as the accounts are the same as the original server.  Any ideas on how to resolve the issue below?  

 

 

 

Error from audit is as follows:

 

 

Component did not execute succesfully: K2 Core

Failed: SourceCode.Authorization.Interfaces.EntityNotFoundException: The with the ID '1f042828-2abc-4f7f-b5c9-6ae5c33ce75e' could not be found.
at SourceCode.Hosting.Client.BaseAPI.BaseAPIConnection.RemoteCall(String TypeName, String MethodName, Objecto] Parameters, Booleane] NullList, MarshalMessageType CallType)
at SourceCode.Authorization.Client.AuthorizationClient.DoSessionCall(String method, Objectm] parameters)
at SourceCode.Install.Package.Actions.Authorization.AuthorizationBase.BreakObjectInheritance(Guid objectID, InheritanceRightOption option)
at SourceCode.Install.Package.Actions.Authorization.BreakObjectInheritance.ExecuteTarget(Target target)
at SourceCode.Install.Package.Actions.Authorization.AuthorizationBase.Execute(Target target)

Target failed to execute: BreakInheritanceOnAdminPermissionSmartObject

Failed: SourceCode.Authorization.Interfaces.EntityNotFoundException: The with the ID 'b4fa24da-8945-4a20-b1aa-6ae7e61a5f4a' could not be found.
at SourceCode.Hosting.Client.BaseAPI.BaseAPIConnection.RemoteCall(String TypeName, String MethodName, Objecto] Parameters, Booleane] NullList, MarshalMessageType CallType)
at SourceCode.Authorization.Client.AuthorizationClient.DoSessionCall(String method, Objectm] parameters)
at SourceCode.Install.Package.Actions.Authorization.AuthorizationBase.BreakObjectInheritance(Guid objectID, InheritanceRightOption option)
at SourceCode.Install.Package.Actions.Authorization.BreakObjectInheritance.ExecuteTarget(Target target)
at SourceCode.Install.Package.Actions.Authorization.AuthorizationBase.Execute(Target target)

Target failed to execute: BreakInheritanceOnCategoriesAuthorizationCategoryObjectSmartObject

Failed: SourceCode.Authorization.Interfaces.EntityNotFoundException: The with the ID '5e3ceec8-6aaa-48d6-914d-619c0437059d' could not be found.
at SourceCode.Hosting.Client.BaseAPI.BaseAPIConnection.RemoteCall(String TypeName, String MethodName, Objecto] Parameters, Booleane] NullList, MarshalMessageType CallType)
at SourceCode.Authorization.Client.AuthorizationClient.DoSessionCall(String method, Objectm] parameters)
at SourceCode.Install.Package.Actions.Authorization.AuthorizationBase.BreakObjectInheritance(Guid objectID, InheritanceRightOption option)
at SourceCode.Install.Package.Actions.Authorization.BreakObjectInheritance.ExecuteTarget(Target target)
at SourceCode.Install.Package.Actions.Authorization.AuthorizationBase.Execute(Target target)

Target failed to execute: BreakInheritanceOnCategoriesAuthorizationClassSmartObject

Failed: SourceCode.Authorization.Interfaces.EntityNotFoundException: The with the ID '15953487-7cc9-4f0b-b674-1bdbbc9b21c8' could not be found.
at SourceCode.Hosting.Client.BaseAPI.BaseAPIConnection.RemoteCall(String TypeName, String MethodName, Objecto] Parameters, Booleane] NullList, MarshalMessageType CallType)
at SourceCode.Authorization.Client.AuthorizationClient.DoSessionCall(String method, Objectm] parameters)
at SourceCode.Install.Package.Actions.Authorization.AuthorizationBase.BreakObjectInheritance(Guid objectID, InheritanceRightOption option)
at SourceCode.Install.Package.Actions.Authorization.BreakObjectInheritance.ExecuteTarget(Target target)
at SourceCode.Install.Package.Actions.Authorization.AuthorizationBase.Execute(Target target)

Target failed to execute: BreakInheritanceOnCategoriesAuthorizationObjectSmartObject

Failed: SourceCode.Authorization.Interfaces.EntityNotFoundException: The with the ID '01af097d-2fba-4fba-8114-7e3124dc443f' could not be found.
at SourceCode.Hosting.Client.BaseAPI.BaseAPIConnection.RemoteCall(String TypeName, String MethodName, Objecto] Parameters, Booleane] NullList, MarshalMessageType CallType)
at SourceCode.Authorization.Client.AuthorizationClient.DoSessionCall(String method, Objectm] parameters)
at SourceCode.Install.Package.Actions.Authorization.AuthorizationBase.BreakObjectInheritance(Guid objectID, InheritanceRightOption option)
at SourceCode.Install.Package.Actions.Authorization.BreakObjectInheritance.ExecuteTarget(Target target)
at SourceCode.Install.Package.Actions.Authorization.AuthorizationBase.Execute(Target target)

Target failed to execute: BreakInheritanceOnCategoriesAuthorizationPermissionSmartObject

Failed: SourceCode.Authorization.Interfaces.EntityNotFoundException: The with the ID '07b67ea0-fc02-476a-953b-9f45f273b86b' could not be found.
at SourceCode.Hosting.Client.BaseAPI.BaseAPIConnection.RemoteCall(String TypeName, String MethodName, Objecto] Parameters, Booleane] NullList, MarshalMessageType CallType)
at SourceCode.Authorization.Client.AuthorizationClient.DoSessionCall(String method, Objectm] parameters)
at SourceCode.Install.Package.Actions.Authorization.AuthorizationBase.BreakObjectInheritance(Guid objectID, InheritanceRightOption option)
at SourceCode.Install.Package.Actions.Authorization.BreakObjectInheritance.ExecuteTarget(Target target)
at SourceCode.Install.Package.Actions.Authorization.AuthorizationBase.Execute(Target target)

Target failed to execute: BreakInheritanceOnCategoriesAuthorizationPermissionTraceSmartObject

Failed: SourceCode.Authorization.Interfaces.EntityNotFoundException: The with the ID '5d882caa-88ca-4d94-bdf4-c5853bb1f88e' could not be found.
at SourceCode.Hosting.Client.BaseAPI.BaseAPIConnection.RemoteCall(String TypeName, String MethodName, Objecto] Parameters, Booleane] NullList, MarshalMessageType CallType)
at SourceCode.Authorization.Client.AuthorizationClient.DoSessionCall(String method, Objectm] parameters)
at SourceCode.Install.Package.Actions.Authorization.AuthorizationBase.BreakObjectInheritance(Guid objectID, InheritanceRightOption option)
at SourceCode.Install.Package.Actions.Authorization.BreakObjectInheritance.ExecuteTarget(Target target)
at SourceCode.Install.Package.Actions.Authorization.AuthorizationBase.Execute(Target target)

Target failed to execute: BreakInheritanceOnCategoriesAuthorizationUserSmartObject

Failed: SourceCode.Authorization.Interfaces.EntityNotFoundException: The with the ID '7e12d2d0-a8f3-45f9-a8e9-0ed02a82f5da' could not be found.
at SourceCode.Hosting.Client.BaseAPI.BaseAPIConnection.RemoteCall(String TypeName, String MethodName, Objecto] Parameters, Booleane] NullList, MarshalMessageType CallType)
at SourceCode.Authorization.Client.AuthorizationClient.DoSessionCall(String method, Objectm] parameters)
at SourceCode.Install.Package.Actions.Authorization.AuthorizationBase.BreakObjectInheritance(Guid objectID, InheritanceRightOption option)
at SourceCode.Install.Package.Actions.Authorization.BreakObjectInheritance.ExecuteTarget(Target target)
at SourceCode.Install.Package.Actions.Authorization.AuthorizationBase.Execute(Target target)

Target failed to execute: BreakInheritanceOnProcessSetPermissionsSmartObject

Failed: SourceCode.Authorization.Interfaces.EntityNotFoundException: The with the ID '4ddfb23f-8bb9-4c3c-bb65-f24df4aebe8b' could not be found.
at SourceCode.Hosting.Client.BaseAPI.BaseAPIConnection.RemoteCall(String TypeName, String MethodName, Objecto] Parameters, Booleane] NullList, MarshalMessageType CallType)
at SourceCode.Authorization.Client.AuthorizationClient.DoSessionCall(String method, Objectm] parameters)
at SourceCode.Install.Package.Actions.Authorization.AuthorizationBase.BreakObjectInheritance(Guid objectID, InheritanceRightOption option)
at SourceCode.Install.Package.Actions.Authorization.BreakObjectInheritance.ExecuteTarget(Target target)
at SourceCode.Install.Package.Actions.Authorization.AuthorizationBase.Execute(Target target)

Target failed to execute: BreakInheritanceOnUserRoleSmartObject

Component did not execute succesfully: K2 Server

Hi jorge_acosta-jr,



 



I wouldn't recommend doing a clone of K2 server. I have seen several issues and it wasn't the best practice. With VM cloning, there is specific identifier that might not change when cloning vs. creating a new VM. There are also multiple references in the K2 database and environment variables that will require extensive updates.  I'm going to suggest setting a K2 Server with clean K2 database, it should have the same K2 version as your current one. After that, you can run the Setup Manager to repoint to existing database.


Reply