SAP-archive / sap-devtoberfest-2020

The home of Devtoberfest 2020 - an open celebration of what makes us developers – coding and collaboration!
Apache License 2.0
180 stars 86 forks source link

Getting issue while deploying BPMServicesFLP application in BAS #98

Open Nilesh-Crave opened 2 years ago

Nilesh-Crave commented 2 years ago

I am going through below BTP Workflow Tutorial Deploying the Workflow tools - https://github.com/SAP-samples/cloud-platform-workflow-virtual-event/tree/master/exercises/02

On starting the build, mta.yaml file build has successful after that trying to deploy BPMServicesFLP_0.0.1.mtar file while in execution process, BPMServicesFLP_appRouter application has started and available at dev space but after this stage getting below error : Execution of task "deploy" on application "BPMFLP" failed. Download the application logs via the dmol command and check them for more information. A step of the process has failed. Retrying it may solve the issue. Process failed.

I am trying to retry the process but still getting this error.

Could you please assist for the solution.

pk-swarn commented 2 years ago

Yes, i get the same error,

Here is the detailed log

21 Feb 2022, 11:06:09 (GMT+01:00) - [APP/TASK/deploy/0] Deployment of site content to persistency failed [Deployment Id:none] , Error: Deploy to portal service failed, got status = 500, data: Failed to deploy site, instance id: 78368b15-e30b-445d-91e5-ff7d66a62758, correlation id: c614c708-3ff7-432b-7fd5-ee669645de5f - Error: "Failed to import site, tenantId: a3bef903-0cf8-4e68-b5c1-e9d7a2919c54, instanceId: 78368b15-e30b-445d-91e5-ff7d66a62758, appHostIds: {\"appHostIds\":[\"4b82270d-741c-4adf-93e0-646ecfda9224\"],\"boundAppHostIds\":[\"656d2c1a-7176-4390-b25d-2c573a08f624\",\"7ac0860b-cdb5-487e-9ed5-bb9dd942a252\",\"ec1c1dd6-412b-4e6f-af0e-5fa4952a89c3\",\"cdd2a0b5-cb96-4f17-accd-6ac14393206a\"],\"instanceId\":\"78368b15-e30b-445d-91e5-ff7d66a62758\"}, xsAppNameServicesMap: {\"com.sap.portal.no.business.service\":\"bpmservices!t1182\",\"html5-apps-repo-dt\":\"4b82270d-741c-4adf-93e0-646ecfda9224!b1182|html5-apps-repo-uaa!b5\",\"com.sap.bpm.workflow\":\"clone-2a1831c7-e6ef-4641-95ec-bd86436f977c!b1182|workflow!b24\"}, blueBoxMetadataStr: undefined Error : \"Failed to search all appHostIds, missing apps: \""

Initially the entire MTA was failing, then Changed the Node Version for approuter to >10.0.0 || >12.0.0, Now the approuter was deployed but the FLP module deployment failed with the error ( that you see above).

In the portal site commonDataModel i removed the references to the the process visibility apps, wondering if that was the issue.

But it wasn't. Can you someone help with this :)

I am trying to get the workflow monitoring apps for instances using only the cloud portal service.

Thank you