K2 Blackpearl 4.7 Setup Manager fails to deploy KSPX packages during installation
kbt132671
PRODUCTIssue
You receive errors when performing a clean installation of K2 Blackpearl 4.7.
Symptoms
You receive the following errors when performing a clean installation of K2 Blackpearl 4.7:
> Target did not complete successfully: Management.kspx
> Target did not complete successfully: DocuSign_Feature_Activation.kspx
> Target did not complete successfully: K2 Package and Deployment for SharePoint.kspx
> Target did not complete successfully: K2 for SharePoint 2013.kspx
> Target did not complete successfully: SmartForms Tester Collateral.kspx
Doing a repair does not resolve these errors.
Resolution
This issue could be caused by the fact that K2 service account does not have access to the following directory:
%ProgramData%SourceCodeTemp
This requirement is not mentioned in K2 Service Account Required Permissions section of K2 documentation at the moment. You can verify if these permissions are indeed missing by means of trying to deploy one of these packages manually using the Package and Deployment tool.
To do this, navigate to "C:Program Files (x86)K2 BlackpearlSetup" and double click one of these packages and try to deploy it, e.g. click on Management.kspx. When preparing the package stage before analysis, an error appear indicating insufficient access rights on a file system level, which will look similar to this:
Access the path 'C:ProgramDataSourceCodeTemp{randomcharacters}.kspx{guid}' is denied. Service: PackageDeploymentService
To correct this you need to grant K2 service account Full Control on the "C:ProgramDataSourceCodeTemp" folder.
Next clear up the contents of this folder, run K2 Blackpearl Setup Manager from installation media and select Configure.
It should now be able to successfully deploy packages in the process.