Blocking Error during Upgrade GrantObjectsRightsOnClassTypeWhereInheritanceBroken GrantEveryoneCreateRightsOnCategoryObjectClassObjectsWithBrokenInheritance

Issue

If you run into the following blocking error during an upgrade:


13:32:45:>> AuthorizationBase.Execute: Finish GrantObjectsRightsOnClassTypeWhereInheritanceBroken 'GrantEveryoneCreateRightsOnCategoryObjectClassObjectsWithBrokenInheritance'. Successful: False 

13:32:45:>> Target.Execute: !Completed: GrantEveryoneCreateRightsOnCategoryObjectClassObjectsWithBrokenInheritance, Success: False 

13:32:45:>> Component.Execute: Logged Error: Internal error has caused the install to terminate:  

13:32:45:>> Executor.ExecuteComponent: Logged Error: Blocking execution exception occurred, install cannot continue:


Cause

It may be due to a category with no name.  To determine if this the case, run the following SQL query:

SELECT * FROM [Category].[System] WHERE [Name] = N'' 


Resolution

If an empty category is identified, you can run the following query to give it a placeholder name, and Recover the Upgrade:


UPDATE [Category].[System] 

SET [Name] = N'Unnamed Category System (ID ' + CONVERT(NVARCHAR(MAX), [Id]) + N')' 

WHERE [Name] = N'';

Comments

Popular posts from this blog

Blocking Error during K2 5.6 Server migration

Client Credentials flow with K2 Cloud with Odata, Workflow REST or SCIM

Blocking error RegisterServiceInstanceObjects when upgrading to K2 5.6/5.7