search cancel

Clarity: CSK Content Pack failed to install with an error regarding project role does not exist


Article ID: 17374


Updated On:


Clarity PPM SaaS Clarity PPM On Premise



When installing the CSK content pack, I received an error message that the content pack failed to install.

Example of error message:


   Error Applying XOG: Failure occurred while applying projects/csk_appCOTS_2.xml
   Check C:\Niku\Clarity\logs\content\xog\csk\projects/csk_appCOTS_2_out.xml
   for errors
   Failed to install content pack. ID: csk: exec returned: 2
   Failed to install content pack. ID: csk: exec returned: 2
   Error occurred: C:\Niku\Clarity\META-INF\content\xog\csk\install.xml:240:
   exec returned: 2 


Checking the csk_appCOTS_2_out.xml, there is an error regarding a project role does not exist:


   <Description>Project Object update failed</Description> 
   java.lang.Exception: Project role csk.architect does not exist 




Release: ESPCLA99000-13.2-Clarity-Extended Support Plus



XOG (which is used in the content pack install) is case sensitive, so the case type of the Role ID in Clarity must be updated to match that displayed in the error message.

Note: Some IDs have mixed upper case and lower case in the role ID, so use what is displayed in the error message.

To update the role ID (example below is for role: Architect):

  1. In Clarity, go to Home->Resources

  2. Filter for Resource/Role ID csk.architect

  3. Click on the link for the role

  4. In Role ID, update the ID to csk.architect and save your changes

  5. Proceed with the content pack install