on 04-28-2020 12:41 AM
Hi guys,
I've no issues deploying CF mtar files from Web IDE UI5 templates to Cloud Foundry on WebIDE.
However when using the default Web IDE SAPUI5 Library Template to deploy to CF on WebIDE, i get the following error:
9:25:30 AM (DeploymentToCF) Deployment of the "mta_cf.util.lib" project started. 9:25:30 AM (DeployService) Deployment in progress. 9:25:30 AM (DeployService) Deploying /mta_cf.util.lib/mta_archives/mta_cf.util.lib_0.0.1.mtar to endpoint: https://api.cf.ap10.hana.ondemand.com, organization: successfactors-dev-cf, space: dev. 9:26:50 AM (DeployService) Target: https://deploy-service.cfapps.ap10.hana.ondemand.com/slprot/successfactors-dev-cf/dev/slp
Preparing to deploy /mta_cf.util.lib/mta_archives/mta_cf.util.lib_0.0.1.mtar
Prepare deployment files
Checking if there are conflicting processes
Found 4 conflicting processes
Aborting process 0f88d273-881f-11ea-bbb9-eeee0a97f14a
Aborting process 48cf130a-8821-11ea-84b6-eeee0a9c412f
Aborting process b79a1f73-884a-11ea-84b6-eeee0a9c412f
Aborting process f32715c0-881f-11ea-bbb9-eeee0a97f14a
Uploading mtar archive
Starting deployment
Deploying in org "successfactors-dev-cf" and space "dev"
Detected MTA schema version: "3"
Detected deployed MTA with ID "mta_cf.util.lib" and version "0.0.1"
Detected new MTA version: "0.0.1"
Deployed MTA version: "0.0.1"
Processing service "mta_cf.util.lib_html5_repo_host"...
Processing service "mta_cf.util.lib_html5_repo_runtime"...
Updating application "mta-cf-util-lib-approuter"...
Application "mta-cf-util-lib-approuter" attributes are not modified and will not be updated
Uploading application "mta-cf-util-lib-approuter"...
Content of application "mta-cf-util-lib-approuter" is not changed - upload will be skipped.
Stopping application "mta-cf-util-lib-approuter"...
Starting application "mta-cf-util-lib-approuter"...
Application "mta-cf-util-lib-approuter" started and available at "successfactors-dev-cf-dev-mta-cf-util-lib-approuter.cfapps.ap10.hana.ondemand.com"
Deleting discontinued configuration entries for application "mta-cf-util-lib-approuter"...
Updating application "mta_cf.util.lib_ui_deployer"...
Application "mta_cf.util.lib_ui_deployer" attributes are not modified and will not be updated
Uploading application "mta_cf.util.lib_ui_deployer"...
Content of application "mta_cf.util.lib_ui_deployer" is not changed - upload will be skipped.
Starting application "mta_cf.util.lib_ui_deployer"...
Application "mta_cf.util.lib_ui_deployer" started
Error executing application "mta_cf.util.lib_ui_deployer": Deployment of html5 application content failed [Deployment Id: deploy-6be813b8-88de-11ea-85d7-eeee0a8a1b40]
Stopping application "mta_cf.util.lib_ui_deployer"...
A step of the process has failed. Retrying it may solve the issue.
To download the process logs, use the "cf dmol -i 6be813b8-88de-11ea-85d7-eeee0a8a1b40" command in the Cloud Foundry CLI directly in your Cloud Foundry space.
See https://help.sap.com/viewer/65de2977205c403bbc107264b8eccf4b/Cloud/en-US/e93b231895b64cbc9221a629535....
Job failed.
For those facing this issue. This is what solves it:
Please open your mta.yaml file and change the Reuse lib module content according to this example:
- name: test
type: html5
path: test
build-parameters:
builder: grunt
supported-platforms: []
build-result: dist
The bold attributes is what is different from webide.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
This happens for the standard web ide fiori library template as well when you deploy to cloud foundry. You can replicate it easily by trying to build and deploy it to a CF environment.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
It interesting line in this log is:
Error executing application "mta_cf.util.lib_ui_deployer": Deployment of html5 application content failed [Deployment Id: deploy-6be813b8-88de-11ea-85d7-eeee0a8a1b40]
This usually happens if the deployed app is missing the webapp or if it is missing files.
For more details, you'd have to check out the log of the lib_ui_deployer app in the Cockpit or via the CLI
cf logs mta_cf.util.lib_ui_deployer --recent
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
75 | |
9 | |
8 | |
7 | |
7 | |
6 | |
6 | |
6 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.