'admin jaspersoft syncPPMContext' command fails
search cancel

'admin jaspersoft syncPPMContext' command fails

book

Article ID: 411548

calendar_today

Updated On:

Products

Clarity PPM On Premise Clarity PPM SaaS

Issue/Introduction

  • System has been upgraded from 16.1.2 to 16.3.2
  • After upgrade, when attempting to run the 'admin jaspersoft syncPPMContext -userName superuser -password superuser', the following error is encountered (the error stack is from the admin.log):
    • 1947/08/15 08:07 AM (admin) Getting tenant information... example_org
      1947/08/15 08:07 AM (admin) Initiating importing on example_org with file name jaspersoft_csk.zip
      1947/08/15 08:08 AM (admin) Preparing content to be deployed on  example_org using file /apps/clarity/reporting/content/csk/jaspersoft/package/jaspersoft_csk.zip
      1947/08/15 08:09 AM (admin) Error in preparing content. Please provide the valid zip file or have permissions on temp folder jaspersoft_csk.zip Error while renaming tenant directory: org_template to directory example_org
      1947/08/15 08:09 AM (admin) Failed to import content for tenant  
      java.io.IOException: Error while renaming tenant directory: org_template to directory example_org
       at com.ca.jasper.restAdapter.services.ImportService.renameTenantPath(ImportService.java:758)

Cause

Missing permissions on jaspersoft_csk.zip file, for the user that is executing the admin command.

Resolution

Provide full access to the user who is running the admin command, on the file mentioned above.