Article - CS304119

ThingWorx Flow installation fails with error "FATAL: Mixlib::ShellOut::CommandTimeout: execute[Install-pm2-windows-service] (orchestration::orchestration_services line 80) had an error: Mixlib::ShellOut::CommandTimeout: command timed out:"

Modified: 18-Aug-2022   


Applies To

  • ThingWorx Platform 8.4 to 9.3

Description

  • ThingWorx Flow installer fails with below errors in <Flow Install>\installer\logs\flow-<time>.log:
    • Running handlers:
      ERROR: Running exception handlers
      Running handlers complete
      ERROR: Exception handlers complete
      Cinc Client failed. 186 resources updated in <Time>
      FATAL: Stacktrace dumped to <Flow Install>installer/flow/local-mode-cache/cache/cinc-stacktrace.out
      FATAL: Please provide the contents of the stacktrace.out file if you file a bug report
      FATAL: Mixlib::ShellOut::CommandTimeout: execute[Install-pm2-windows-service] (orchestration::orchestration_services line 100) had an error: Mixlib::ShellOut::CommandTimeout: command timed out:
      ---- Begin output of pm2-service-install -n ThingWorx-Flow ----
      STDOUT:
      STDERR:
      ---- End output of pm2-service-install -n ThingWorx-Flow ----

      ProcessId: <PID>
      app_name: C:\Windows\system32\cmd.exe
      command_line: cmd /c "pm2-service-install -n ThingWorx-Flow"
      timeout: 30
  • Error in <Flow Install>\installer\local-mode-cache\cache\chef-stacktrace.out or <Flow Install>\installer\local-mode-cache\cache\cinc-stacktrace.out:
    • Mixlib::ShellOut::CommandTimeout: execute[Install-pm2-windows-service] (orchestration::orchestration_services line 100) had an error: Mixlib::ShellOut::CommandTimeout: command timed out:
      ---- Begin output of pm2-service-install -n ThingWorx-Flow ----
      STDOUT:
      STDERR:
      ---- End output of pm2-service-install -n ThingWorx-Flow ----

      ProcessId: <PID>
      app_name: C:\Windows\system32\cmd.exe
      command_line: cmd /c "pm2-service-install -n ThingWorx-Flow"
      timeout: 30
  • After an extended period of time the ThingWorx Flow Installer, installation fails with below warning message
User-added image
This is a printer-friendly version of Article 304119 and may be out of date. For the latest version click CS304119