Skip to main content

11. Monitoring, logging and troubleshooting

What this covers / audience​

What to monitor, where every log is, the health endpoints, the two diagnostic commands (ooa check on servers and ooa agent diagnose on runners), and fixes for the problems seen most often: runners offline, certificate and proxy errors, locked screens, database and upgrade errors, the browser connector not connecting, and installing it from inside another packaged app. For operations and support teams.

Contents​

  1. What to monitor
  2. Health endpoints
  3. Logs and where they are
  4. Audit trail and SIEM
  5. ooa check
  6. ooa agent diagnose
  7. Common problems and fixes
  8. Browser connector problems
  9. Collecting information for support

1. What to monitor​

SignalSourceAlert when
LivenessGET /api/healthNot 200 for 1 minute
ReadinessGET /api/health/ready503, or any check fail
Disk on the data volumeReadiness disk, OS monitoringwarn (under 2 GB) or fail (under 200 MB)
Runners onlineReadiness runners_online; Runners pageFewer than expected
Leader presentAdministration > Settings > Several nodesNo leader for more than a minute
Failed runsRun & Monitor > Operations, Agent Runs > HistoryError rate above normal; AGENT.LOST, RUN.NO_DESKTOP
Work queue backlogWork queues page (items past service level)Items past their service level
BackupsSettings > Backups status, audit trailLast backup older than backup_hours + margin
Certificate expiryooa check (WARN under 30 days), ooa tls showUnder 30 days
LicenceLicenses page, reminder e-mails (30, 15, 7, 3, 2, 1 days)Expiring
Audit integrityAudit Trail > Verify integrityNot valid
Service stateWindows Services / systemctl / orchestratorRestarting repeatedly
Run failures, backlog, runners, memoryGET /metrics (Prometheus)ooa_runs_finished_total{status="failed"} rising, ooa_queue_items growing, ooa_runners{state="online"} low, ooa_up{part="database"} 0
Event deliveriesAdministration > Event subscriptions; ooa_events_totalFailures in a row, outcome="dropped" rising

2. Health endpoints​

EndpointAnswer
GET /api/health200 {"status":"ok"} (plus studio for browsers on the same computer when Studio is mounted)
GET /api/health/ready200 or 503, `{"status":"ready"
GET /healthzSaaS region address: {"status":"ok"}

Health routes are exempt from the IP allow list and from sign-in.

Metrics: GET /metrics​

One CommandCenter's figures in the Prometheus text format: runs finished by status and their durations (a histogram), runs queued and running, work items per queue and status, runners enabled, online and busy, open alerts, licence seats, events delivered, failed and dropped, and the Java process (memory, threads, garbage collection, uptime). Every series has a node label. Counters are the node's own since it started; figures from the database are the same on every node (use max by the other labels across nodes). The full list is in functional/11.

Unlike the health routes, /metrics needs the metrics token (Administration > Event subscriptions > Make a metrics token) as a bearer token, or a signed-in administrator, and the IP allow list applies. It is made at most every 5 seconds, so a 15 to 60 second scrape interval costs little. Prometheus:

scrape_configs:
- job_name: ooa-command-center
scheme: https
metrics_path: /metrics
authorization:
type: Bearer
credentials_file: /etc/prometheus/ooa-metrics-token
static_configs:
- targets: ["cc-node1.example.com:8443", "cc-node2.example.com:8443"]

OpenTelemetry: One CommandCenter has no OTLP exporter of its own. Run the OpenTelemetry Collector with its prometheus receiver using the same scrape configuration, and send on with any Collector exporter (OTLP to your observability platform, for example).

3. Logs and where they are​

LogLocationContents
One CommandCenter (console window)Standard output of START-OOA.cmd, ooa server, ooa control-roomStart-up summary (address, database, vault key source, HTTPS), first-start password, errors
One CommandCenter service (Windows)DATA\logs\service-server.log or service-control-room.logSame, appended, with start and stop markers
One CommandCenter on Linuxjournalctl -u ooa-command-centerSame
Containerdocker logs, or the orchestrator's log serviceSame
Runner service<runner workspace>\logs\service-agent.logRunner messages (connections, runs, updates, secret rotation)
Runner in a consoleThe console window (ooa agent start)Runner messages
Runner started by the sign-in taskNot written to a file (it runs with javaw, no console)Use the per-run logs, One CommandCenter's run details and ooa agent diagnose
Each run<runner workspace>\logs\<run id>.log (default workspace %USERPROFILE%\OOA Agent Workspace)The worker's output and errors; the last lines are quoted when a worker crashes
Run detailsOne CommandCenter > Agent Runs > a runStep timeline, log (download), variables, inputs and outputs, AI calls
Install / uninstall%TEMP%\ooa-install.log; MSI log from /l*vEvery step and ooa command run by the installer
Audit checkpointsDATA\audit-checkpoints.logHourly chain checkpoints

The runner's log level (error, warning, info, debug) is set centrally: Runners > Update runners > Log level; runners pick it up with the next heartbeat.

4. Audit trail and SIEM​

Forward every audit entry to the SIEM with syslog_target and syslog_protocol (see 08), or subscribe a receiver to audit.entry and the run log lines in Administration > Event subscriptions (Splunk's HTTP Event Collector format is built in). Useful actions to alert on: failed sign-ins and lockouts, settings.update, vault.rotate, run.lost, device.expired, license.*, failed backups.

5. ooa check​

ooa check [--data DIR] [--port N]

Read-only. Tests operating system, 64-bit, Java, memory, processors, data folder, free disk, port, database connection, schema and encryption, whether the vault key opens stored credentials, whether repository files are present, the HTTPS certificate, and the vault key source (PASS from OOA_MASTER_KEY or from a key store named by OOA_MASTER_KEY_SOURCE; WARN only for a key file). One line each, PASS / WARN / FAIL with what to do; the last line says Ready. or N problem(s) to fix first.; the exit code is the number of FAILs. Details in 01.

Run it with the same account and environment as the service (same --data, same vault key variables); otherwise it checks a different folder or cannot decrypt the settings.

6. ooa agent diagnose​

ooa agent diagnose [--config FILE] [--workspace DIR]

Run on the runner, as the account the runner uses. It changes nothing.

LineChecksTypical FAIL and fix
Runner settingsagent.json readableNot registered: ooa agent register
Name lookupDNS for One CommandCenter hostUnknown host with --proxy none: fix DNS or the URL (only WARN when a proxy may resolve it)
ProxyWhich proxy is used for the URLShows direct connection or the proxy address
NetworkTCP connect (direct connections only)Firewall, wrong port, server down
CertificateTLS handshake with the runner's trust settingsNot trusted: --ca FILE or install the company CA in Windows
One CommandCenterGET /api/health answers 200No answer; for a proxy that asks for sign-in: ooa agent network --proxy-user ...
ClockServer Date header within 60 secondsSync both with the same time server
Runner sign-inA heartbeat with the device id and secretRunner deleted or disabled: register again
Screenunlocked / locked / no_desktopWARN: screen agents will not start
Free disk space1 GB or moreWARN under 1 GB
ToolkitsNumber installed-

The exit code is the number of FAILs.

7. Common problems and fixes​

SymptomLikely causeFix
Other computers cannot open One CommandCenter, but http://localhost:8720 works on the serverThe server listens on 127.0.0.1 (the default for ooa server, ooa control-room, ooa service install without --host, and installs made with -ListenAddress 127.0.0.1 / LISTEN_ADDRESS=127.0.0.1), or a firewall blocks the portTurn on HTTPS, then ooa service uninstall and install the service again with --host 0.0.0.0, or put a reverse proxy on the server; open the port in the firewall (02)
CR.PORT_IN_USE at startAnother One CommandCenter or program on the portStop it, or --port 8721; ooa check shows who answers
Runner shows offlineNo heartbeat for 60 seconds: runner stopped, signed out, network, proxy, certificate, deleted registrationRun ooa agent diagnose; check the "OOA Runner" task or service is running; for screen runners make sure the user is signed in
Runner offline after One CommandCenter movedOld address in agent.jsonooa agent move --url https://new-address [--ca FILE], restart the runner
Runner registered but never online after a database restore elsewhereThe new One CommandCenter does not know the runnerRestore the data first; agent move refuses until then; or register again
ooa agent diagnose shows FAIL Runner sign-inThe runner was deleted or disabled in One CommandCenter, or its saved secret no longer matches (for example agent.json restored from an old copy after a rotation)Register the runner again with a new key
Runs fail with AGENT.LOSTRunner stopped reporting for 2 minutes during a run (reboot, sleep, network)Disable sleep on runners; check network stability
Runs fail at once with RUN.NO_DESKTOPScreen agent sent to a runner whose screen is locked, signed out, or which runs as a serviceKeep screen runners signed in and unlocked (dedicated account, no screen saver lock); do not set After unattended runs to lock on runners that get consecutive screen runs; send screen agents to desktop runners
RUN.NEEDS_PERSONUnattended run hit a dialog without a timeoutGive dialogs a timeout or run attended
RUN.TOOLKIT_MISSINGRunner lacks a toolkit or versionUpdate the runner (Runners > Update)
Runner gets no work and shows "update One CommandCenter"Runner newer than One CommandCenterUpgrade One CommandCenter
Certificate error on runners (PKIX path building failed, FAIL Certificate)Self-signed or private CA not trusted; name mismatchooa tls export-cert --out ooa.cer and ooa agent network --ca ooa.cer; register with a name that is in the certificate
Browsers warn about the certificateSelf-signed test certificateUse a company certificate for production
Proxy error, 407 or "no answer" behind a proxyProxy needs sign-in, or the service account has different Windows proxy settingsooa agent network --proxy http://proxy:port --proxy-user USER --proxy-password-env VAR; NTLM-only proxies: allow One CommandCenter's address without sign-in
AGENT.PROXY_PASSWORDOn Windows, the DPAPI-encrypted password cannot be read on this computer (copied config); on Linux and macOS, the proxy-password file cannot be read (missing, or another account); or the variable is not setSet it again with ooa agent network --proxy-user ... --proxy-password-env VAR, as the runner's account
AGENT.BAD_PROXYProxy not system, none or http://host:portCorrect the value
One CommandCenter cannot reach SSO, Git or AI providersOutbound proxy neededSet outbound_proxy and outbound_proxy_bypass
CR.DB_UPGRADE_NEEDED at startNew release, data-only accountStop, ooa db migrate, start
CR.DB_NEWERDatabase upgraded by a newer releaseStart the newer release, or restore a pre-upgrade backup
CR.DB_CONFIG ... stored in clear textA plain password= in ooa-db.propertiesooa db set-password
CR.VAULT_TAMPERED or vault values cannot be readWrong vault keyUse the key the data was created with; ooa check shows "Vault key and database"
CR.VAULT_KEY at startKey store unreachable, wrong format (not 32 bytes Base64), prompt without a consoleFix identity/network to the key store; openssl rand -base64 32; do not use prompt for services
LICENSE.DB_REQUIREDLicence installed on the embedded databaseMove to SQL Server or PostgreSQL first (05)
CR.RATE_LIMITED (429)More than 60 sign-ins/token calls a minute from one address, or 1,200 webhook/API task/MCP callsSpread calls; behind a remote balancer all clients share its address
CR.IP_BLOCKED (403)Address not on ip_allow_list; or, behind a load balancer not listed in trusted_proxies, the balancer's address is checked instead of the client'sAdd the address, or list the balancer under Trusted proxies; from the server itself (directly, not through a proxy) you can always fix the list
Forgotten administrator password or lost authenticator-Stop the server, ooa reset-admin [--user NAME] --data DIR
Backup fails (CR.BACKUP)Folder missing or no write accessCheck backup_folder and the service account's rights
Restore refused: another vault keyBackup made with a different keyPut that key in place (master.key or OOA_MASTER_KEY) and retry
Service starts then stopsError at start (database, key, port)Read DATA\logs\service-<mode>.log; run the same command in a console

8. Browser connector problems​

The browser connector (extension plus native messaging host) lets agents work in the user's own Edge, Chrome or Firefox. Set it up once per Windows user with ooa browser-connector install, load the extension, and check with ooa browser-connector status. Details: Browser connector.

SymptomCauseFix
Extension icon does not show ConnectedHost not registered for this Windows userRun ooa browser-connector install as that user, then restart the browser
install reported success but browsers still do not connect; status from another window shows nothing registeredIt was run from inside a packaged (MSIX) application, such as a terminal or tool packaged from the Store. Windows redirects such an app's writes to HKCU and %LOCALAPPDATA% into the app's private copy, which the browsers never see.Open a normal PowerShell or Command Prompt from the Start menu (not from inside the packaged app) and run ooa browser-connector install again. Verify with reg query "HKCU\Software\Google\Chrome\NativeMessagingHosts\com.oneofficeautomation.bridge" from a normal window.
Connected in one browser onlyThe extension is loaded per browserLoad unpacked browser-extension in each Edge/Chrome; Firefox uses browser-extension-firefox
Firefox add-on gone after restartTemporary add-onUse a signed add-on deployed by Firefox policy
Firefox not connecting right after loadingFirefox has not started the extension yetOpen the add-on's window once from the extensions menu
Company browsers block "Load unpacked"Developer mode disabled by policyDeploy the extension by browser policy; the extension id is fnceeakhokkekgdehkobdpdehpfnemah
Run JavaScript shows a "being debugged" barPage content security policy forbids evaluating code; the debugging interface is used brieflyExpected; in Firefox such steps stop with a message: run them in Edge or Chrome
Agents on a runner service cannot use the connectorA service has no desktop browser sessionUse a desktop runner started at sign-in

Files: host and manifests in %LOCALAPPDATA%\OneOfficeAutomation\browser-connector; registry keys HKCU\Software\Microsoft\Edge\NativeMessagingHosts\com.oneofficeautomation.bridge, the same under Google\Chrome and Mozilla; running hosts register under %USERPROFILE%\.ooa\bridge. ooa browser-connector uninstall removes the host and keys (remove the extension in each browser).

9. Collecting information for support​

  1. ooa check --data DIR output (server) and ooa agent diagnose output (runner).
  2. The service log (DATA\logs\service-*.log) around the time of the problem.
  3. The run id and its downloaded log, or <runner workspace>\logs\<run id>.log.
  4. %TEMP%\ooa-install.log for installation problems.
  5. Product version (start-up lines, ooa --version) of One CommandCenter and the runner.

Remove passwords, keys and personal data before sending anything. The product never writes vault values to logs, but agent outputs and inputs may hold business data.