cancel
Showing results for 
Search instead for 
Did you mean: 

Starting MTA cpapp on deployment in Step 8

joachim_eilers
Explorer
0 Kudos

Tutorials: https://developers.sap.com/tutorials/btp-app-cap-mta-deployment.html
--------------------------

I´m at Step 8: Build, Deploy and test mtar file.

  1. I have logged into CF using cf login --sso (since "normal login does not work).
  2. I´'m running the command cf deploy cpapp_1.0.0.mtar
  3. The cpapp-srv application is not starting:
  4. From the BTP Cockpit:

  5. What to do?

gregorw
Active Contributor
0 Kudos

please redeploy and output the detailed logs using:

cf logs cpapp-srv
joachim_eilers
Explorer
0 Kudos

I might have some issues on memory allocation in the Org. quota plan...?

If this is the case, what should correct values be here?

Accepted Solutions (1)

Accepted Solutions (1)

joachim_eilers
Explorer
0 Kudos

I fixed the error myself:

  1. I undeployed the cpapp application (command: cf undeploy cpapp)
  2. I deleted the cpapp_1.0.0.mtar file
  3. I built a new cpapp_1.0.0.mtar file (command: cpapp % mbt build -t ./)
  4. I deployed the new cpapp_1.0.0.mtar file (command: cf deploy cpapp_1.0.0.mtar)

I now works as expected:

PS! I uninstalled and reinstalled node-pre-gyp@0.11.0 based on the warning:

"npm WARN deprecated node-pre-gyp@0.11.0: Please upgrade to @mapbox/node-pre-gyp: the non-scoped node-pre-gyp package is deprecated and only the @mapbox scoped package will recieve updates in the future"

Commands:

  • npm uninstall node-pre-gyp --save
  • npm install @mapbox/node-pre-gyp --save

I have also noted that there are a few warning messages in the build process that seems to relate to older versions of engines(?):

Answers (0)