Permission Errors when applying CSK Content Upgrade for Jaspersoft
search cancel

Permission Errors when applying CSK Content Upgrade for Jaspersoft

book

Article ID: 115810

calendar_today

Updated On:

Products

Clarity PPM SaaS Clarity PPM On Premise

Issue/Introduction

After Jaspersoft upgrade the expectation is to upgrade the CSK content for Jaspersoft

The following permission errors are found while running the command for the same: "admin content-jaspersoft csk -userName superuser -password superuser upgrade -retryCount 50"  

Error in getting permission: Resource /organizations/fhlbny/shared/reports/PMO_Shared_Folder_XH;role:/ROLE_ADHOC_DESIGNER not found.
Error in getting permission: Resource /organizations/fhlbny/shared/reports/PMO_Shared_Folder_XH;role:/ROLE_DASHBOARD_DESIGNER not found.
Error in getting permission: Resource /organizations/fhlbny/shared/reports/PMO_Shared_Folder_XH;role:/ROLE_DATASOURCE_DESIGNER not found.
Error in getting permission: Resource /organizations/fhlbny/shared/reports/PMO_Shared_Folder_XH;role:/ROLE_DOMAIN_DESIGNER not found.
Error in getting permission: Resource /organizations/fhlbny/shared/reports/PMO_Shared_Folder_XH;role:/ROLE_REPORT_DESIGNER not found.

Environment

CA PPM - All Versions 15.x and above

Cause

This is typically caused by the roles and users being out of sync in Jaspersoft. 

Resolution

To resolve this, first run the following command:

admin jaspersoft syncPPMContext -userName superuser -password superuser 

This command synchronizes configuration changes in Clarity PPM to that of the Jaspersoft environment. 

Next go ahead and run the command to load the upgraded CSK again, this time with the "-force" flag:

admin content-jaspersoft csk -userName superuser -password superuser upgrade -retryCount 50 -force