IBM Support

Loopback Mustgather

Troubleshooting


Problem

Follow this section to collect the data required to diagnose and resolve loopback issues
  1. Provide the operating system and its version where loopback is installed, or if the issue with loopback in IBM Cloud
  2. Provide the node, npm and loopback version using the commands :
    • node -v
    • npm -v
    • npm ls --depth
  3. Provide details of use of LoopBack connectors
    • Node module name of the LoopBack connector, for example, loopback-connector-db2. 
    • If it is a database connector, specify the database version is being used, and whether it is on IBM Cloud.
  4. Provide the LoopBack application and steps to reproduce the issue
    1. Loopback version 3.x
      • .json files under "server" folder
      • *.yaml files under "definitions" folder
    2. Loopback version 4.x
      • .json under src/datasources
      • *.yaml / *.yml anywhere
      • Note: If you cannot share the application, share a sample application that contains the minimum code to reproduce the problem
  5.  Provide Error logs or stack traces (if applicable)
    1. Loopback version 3.x
    2. Loopback version .4x
      • Modules are defined in separate packages here.
      • You can turn on tracing for all loopback modules or specific ones. For example, from command line, you can specify trace settings as you start the app:         
        $ DEBUG=loopback:* npm start   , to turn on debug tracing in ALL loopback modules , OR          
        $ DEBUG=loopback:rest npm start  , to turn on debug tracing in just the ‘rest’ module, OR         
        $ DEBUG=loopback:connector:db2 npm start , to turn on debug tracing in just the ‘db2’ connector

Document Location

Worldwide

[{"Line of Business":{"code":"LOB45","label":"Automation"},"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SSMNED","label":"IBM API Connect"},"ARM Category":[{"code":"a8m50000000CeDnAAK","label":"API Connect-\u003EDeveloper (DV)-\u003ELoopback"}],"ARM Case Number":"","Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"10.0.0;2018.4.1.0;5.0.0"}]

Document Information

Modified date:
02 July 2023

UID

ibm16342943