Skip to content

Logs and failure diagnosis

Each Apex-driven installation or deployment creates an operation directory under logs/ in Apex Home. The name includes local time, operation, and a short ID, for example:

~/.apex/logs/20261008-143012-deploy-a1b2c3d4/
C:\ProgramData\TDengine\Apex\logs\20261008-143012-install-a1b2c3d4\

With a custom Apex Home, logs follow that directory. SSH operation logs are stored on the controller running Apex.

  1. Read summary.txt for failed nodes, components, stages, exit codes, and related paths.
  2. Read apex.log for the overall workflow and events around the failure.
  3. Open components/<component>/<node>/<stage>.log for the relevant install, start, or health-check output.
  4. For Windows Apex MSI failures, inspect operations/apex/local/install.log. If aggregation failed, use the main log to locate the retained raw log in that directory.
  5. Read report.yaml when you need machine-readable results.

Files are created only for stages that ran. Later operations create new directories and do not overwrite earlier evidence. Prefer the path printed by the installer or CLI over example paths.

Apex operation logs capture command output and health checks initiated by Apex. Runtime logs and initialization traces after services start remain with each product; consult its log locations as well. Standalone installer logs that a Linux installer does not send to the terminal may not be included in Apex’s collected logs; use the path reported by that installer.

PowerShell summaries may omit module initialization progress. If an error summary is incomplete or contains CLIXML, inspect the component detail log. An unknown exit code in a report is not equivalent to exit code 0.

  • Redact passwords, tokens, hostnames, and other sensitive data from logs, command context, and error output before sharing.
  • Apex telemetry does not automatically upload SSH deployment logs or complete operation logs.
  • Do not delete temp/ under Apex Home while installation or deployment is in progress.
  • If evidence is needed later, copy the complete operation directory under logs/ and any explicitly retained raw files before cleanup or uninstall.