SAP Knowledge Base Article - Preview

2675938 - 'Custom event postInstall failed' error during XSA Upgrade

Symptom

When upgrading the HANA Database version, during the XSA installation the following errors show up

hdblcm.log

***********

- INFO: Summary of critical errors
- ERR : Installation failed
- ERR : Update of SAP HANA XS Advanced Runtime failed
- INFO: Installation failed
- INFO: error installing
- INFO: Cannot install
- INFO: Custom event postInstall failed

.

.

.

- INFO: Output line 120: ERROR: Fatal error occurred during installation
- INFO: Output line 121: com.sap.xs2rt.installation.util.InstallationException: FAILED to update HANA Broker grants
- INFO: Output line 122: at com.sap.xs2rt.installation.impl.hana.content.InitializeHanaBroker.update(InitializeHanaBroker.java:408)
- INFO: Output line 123: at com.sap.xs2rt.installation.steps.InstallationStep.updateAndMeasure(InstallationStep.java:169)
- INFO: Output line 124: at com.sap.xs2rt.installation.procedures.InstallationProcedure.executeStep(InstallationProcedure.java:124)
- INFO: Output line 125: at com.sap.xs2rt.installation.procedures.InstallationProcedure.perform(InstallationProcedure.java:216)
- INFO: Output line 126: at com.sap.xs2rt.installation.impl.hana.content.HanaContentInstallUpdateProcedure.main(HanaContentInstallUpdateProcedure.java:147)
- INFO: Output line 127: Caused by: com.sap.xs2rt.core.rest.client.RestException: Error during adding secure store priviledges to SYS_XS_HANA_BROKER: REST request PATCH to url 'https://<host_name>:30032/hdi-broker/admin/database_configuration/5b0416a3-589f-3d6c-e100-00000a448225?accepts_incomplete=true' had response code 404 (Resource was not found) with error message: '<not set>'.
- INFO: Output line 128: at com.sap.xs2rt.core.installation.utils.HanaBrokerHelpers.updateHdiBrokerGrantsOfXsaDatabases(HanaBrokerHelpers.java:119)
- INFO: Output line 129: at com.sap.xs2rt.installation.impl.hana.content.InitializeHanaBroker.update(InitializeHanaBroker.java:365)
- INFO: Output line 130: ... 4 more
- INFO: Output line 131: Caused by: com.sap.xs2rt.core.rest.client.RestResponseException: REST request PATCH to url 'https://<host_name>:30032/hdi-broker/admin/database_configuration/5b0416a3-589f-3d6c-e100-00000a448225?accepts_incomplete=true' had response code 404 (Resource was not found) with error message: '<not set>'.
- INFO: Output line 132: at com.sap.xs2rt.core.generated.hdibroker.admin.rest.resource.client.AdminClient.patchAdminDatabaseConfigurationByDatabaseId(AdminClient.java:298)
- INFO: Output line 133: at com.sap.xs2rt.core.installation.utils.HanaBrokerHelpers.patchAdminDatabaseConfiguration(HanaBrokerHelpers.java:420)
- INFO: Output line 134: at com.sap.xs2rt.core.installation.utils.HanaBrokerHelpers.updateHdiBrokerGrantsOfDatabase(HanaBrokerHelpers.java:206)
- INFO: Output line 135: at com.sap.xs2rt.core.installation.utils.HanaBrokerHelpers.updateHdiBrokerGrantsOfXsaDatabases(HanaBrokerHelpers.java:116)
- INFO: Output line 136: ... 5 more
- INFO: Output line 137: ##########
- INFO: Program terminated with exit code 1
- INFO: /hana/shared/SE2/xs/installation-scripts/installation/update-content call failed


Read more...

Environment

  • SAP HANA Extended Application Services (XSA)
  • SAP HANA Platform Edition 2.0

Product

SAP HANA, platform edition 2.0

Keywords

 Cannot install, Custom event postInstall failed, FAILED to update HANA Broker grants, Fatal error occurred during installation, XSA, Install, Upgrade , KBA , BC-XS-RT , XS Advanced Runtime / XS Controller , HAN-AS-XS , SAP HANA Extended Application Services , Problem

About this page

This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP for Me (Login required).

Search for additional results

Visit SAP Support Portal's SAP Notes and KBA Search.