Errors when applying the CSK Content Upgrade for Jaspersoft

Document ID : KB000115810
Last Modified Date : 11/10/2018
Show Technical Document Details
Issue:
When running the command: "admin content-jaspersoft csk -userName superuser -password superuser upgrade -retryCount 50" we are getting the following errors: 
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
Resolution:
This is typically caused by the roles and users being out of sync in Jaspersoft.  To resolve this, first run the following command:
admin jaspersoft syncPPMContext -userName superuser -password superuser 

This should re-sync everything back up. 

Then, go ahead and run the command to load the upgraded CSK again, but use the "-force" flag as well:
admin content-jaspersoft csk -userName superuser -password superuser upgrade -retryCount 50 -force