on 2021 Jun 29 7:41 AM
Hi Team
I am getting the below error while deploying the MTAR file in cloud foundry
Error uploading content module "XXXX_ui_deployer" in service "XXXXl_html_repo_host": org.cloudfoundry.multiapps.controller.persistence.services.FileStorageException: com.sap.cloud.lm.sl.xs2.content.client.ContentDeployerException: Operation 'Upload File' to the URL 'https://html5-apps-repo-dt.cfapps.eu10.hana.ondemand.com/v2/files/upload' failed. Remote server responded with HTTP status code 500, error message: 'Upload application content failed { CODE: '1001' } validation error: Could not find applications in the request.', error type 'Bad Request'
Please help how to resolve the above issue
Thanks and Regards
Kalyan
Hi kvkalyan,
This is usually related to the size of the deployable files related to the HTML5 repository. You must reduce its size in order to deploy it to CF. The most effective way of achieving this is by setting a build parameter to remove any node module directory from the overall MTAR file. You can do this by including the following in your nodejs based modules (the ones the create any node_modules directories):
type: <any app type that uses NodeJS technology - html5, nodejs, etc.>
path: <path to your module>
build-parameters:
ignore: ["node_modules/", "default-env.json"]
After you modify your mta.yaml you have to build it again in order to deploy.
Best regards,
Ivan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
81 | |
11 | |
10 | |
10 | |
10 | |
8 | |
7 | |
7 | |
5 | |
5 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.