cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

HTML5 app not showing in BTP Cockpit After deployed

YOJAN
Product and Topic Expert
Product and Topic Expert
0 Kudos
206

Hello Community,

I know there are some similar questions but I can not figure it out the problem.
This is the log I got once application is deployed to html5, but I can not make it appear in html5 application list.

#2025 11 03 22:36:55.840#Z#DEBUG#8277ce9a-b905-11f0-8071-eeee0a92e238.CSR-app-content_CSR-repo-host#flowable-async-job-executor-thread-5683#
[PollDeployContentStatusExecution] [CSR-app-content] [INFO] Application content was successfully uploaded from subaccount { CODE: '1002' }#
 
This is my mta.yaml, I have both unmanaged router and managed router applications. This module CSR-app-content is doing the deployment, log does not show error when deploying but app does not show in list - tried refresh as well.  unmanaged app deploys and works with no problem. I am doing managed to use launchpad functionality.
 
Please your suggestion.
_schema-version: 3.3.0
ID: CSR
description: CSR CAP project.
version: 1.0.0
modules:
- name: isbncertificatesrv
  type: nodejs
  path: gen/srv
  properties:
    DEBUG: sap-cloud-sdk:*
  requires:
  - name: isbncertificate-auth
  - name: isbn-postgres
  - name: isbn-destination-service
  - name: isbn-connector-connectivity
  provides:
  - name: srv-api
    properties:
      srv-url: ${default-url}
  parameters:
    buildpack: nodejs_buildpack
    instances: 1
  build-parameters:
    builder: npm-ci
- name: csr-app-postgres-deployer
  type: nodejs
  path: gen/pg
  requires:
  - name: isbn-postgres
  parameters:
    buildpack: nodejs_buildpack
    disk-quota: 1GB
    memory: 1GB
    no-route: true
    no-start: true
    tasks:
    - command: npm start
      disk-quota: 1GB
      memory: 1GB
      name: deploy-to-postgresql
  build-parameters:
    ignore:
    - node_modules/
- name: isbncertificateui
  type: nodejs
  path: app
  requires:
  - name: srv-api
    group: destinations
    properties:
      forwardAuthToken: true
      name: srv-api
      url: ~{srv-url}
  - name: isbncertificate-auth
  provides:
  - name: app-api
    properties:
      app-protocol: ${protocol}
      app-uri: ${default-uri}
  parameters:
    buildpack: nodejs_buildpack
    disk-quota: 1GB
    keep-existing-routes: true
    memory: 1GB
  build-parameters:
    ignore:
    - default-env.json
    - .env
- name: CSR-app-content
  type: com.sap.application.content
  path: .
  requires:
  - name: CSR-repo-host
    parameters:
      content-target: true
  build-parameters:
    build-result: resources
    requires:
    - artifacts:
      - isbncertificatehtml5isbncertificatehtml5.zip
      name: isbncertificatehtml5isbncertificatehtml5
      target-path: resources/
- name: isbncertificatehtml5isbncertificatehtml5
  type: html5
  path: app/isbncertificatehtml5
  build-parameters:
    build-result: dist
    builder: custom
    commands:
    - npm install
    - npm run build:cf
    supported-platforms: []
resources:
- name: isbncertificate-auth
  type: org.cloudfoundry.managed-service
  parameters:
    config:
      tenant-mode: dedicated
      xsappname: isbncertificate-${org}-${space}
    path: ./xs-security.json
    service: xsuaa
    service-plan: application
- name: isbn-postgres
  type: org.cloudfoundry.managed-service
  parameters:
    service: postgresql-db
    service-plan: development
- name: isbn-destination-service
  type: org.cloudfoundry.managed-service
  parameters:
    config:
      HTML5Runtime_enabled: true
      init_data:
        instance:
          destinations:
          - Authentication: NoAuthentication
            Name: ui5
            ProxyType: Internet
            Type: HTTP
            URL: https://ui5.sap.com
          existing_destinations_policy: update
    service: destination
    service-plan: lite
- name: isbn-connector-connectivity
  type: org.cloudfoundry.managed-service
  parameters:
    service: connectivity
    service-plan: lite
- name: CSR-repo-host
  type: org.cloudfoundry.managed-service
  parameters:
    service: html5-apps-repo
    service-name: CSR-html5-service
    service-plan: app-host
parameters:
  deploy_mode: html5-repo
  enable-parallel-deployments: true
build-parameters:
  before-all:
  - builder: custom
    commands:
    - npm ci
    - npx cds build --production
    - bash ./pg-build.sh

 

Accepted Solutions (0)

Answers (1)

Answers (1)

Juliuspereira
Active Contributor
0 Kudos

Hello Yojan,

Have you maintained App title, description, icon, info etc. in the code? If not, can you try that. We faced a similar issue in the past and that fixed it for us.

Julius 

YOJAN
Product and Topic Expert
Product and Topic Expert
0 Kudos

Thanks both
this isbncertificateui uses unmanaged router
this is isbncertificatehtml5isbncertificatehtml5 for managed router, however yes, I do not see any managed router configuration in yaml file, it looks like it is missing.