Desktop troubleshooting
Open or export redacted diagnostics logs, recover from startup or key errors, and reset local data safely in the Executor desktop app.
Use the Help menu in the Executor desktop app (Local only) to open the diagnostics folder, export a redacted diagnostics archive, or back up and reset local Executor data when troubleshooting startup, key, or database issues.
Choose Help → Export diagnostics… to create a redacted .zip bundle in your Downloads folder, or Help → Reset Executor data… to back up your data directory and start fresh.
Prerequisites: The Executor desktop app (2.0.0-beta.79) installed on macOS, Windows, or Linux.
You’ll know it worked when Help → Export diagnostics… opens your file manager highlighting executor-diagnostics-<timestamp>.zip, or Help → Reset Executor data… finishes with the Executor data reset dialog and opens a clean dashboard.
Open or export diagnostics logs
The desktop app writes structured JSONL logs for the desktop shell, local server, and telemetry collector to <data-dir>/diagnostics (by default ~/.executor/v2/cli/diagnostics, or $EXECUTOR_DESKTOP_DATA_DIR/diagnostics if that override is set).
Show diagnostics folder
- Open the Help menu in the desktop app (or click Show logs on a recovery screen).
- Choose Help → Show diagnostics folder.
- Your operating system file manager opens
<data-dir>/diagnostics.
You’ll know it worked when the diagnostics directory opens showing executor-*.jsonl log files.
Export a redacted diagnostics archive
- Choose Help → Export diagnostics….
- Wait for the export to finish. Executor saves
executor-diagnostics-<timestamp>.zipto your Downloads folder with permissions restricted to your user (0600) and reveals it in your file manager.
What the archive includes:
manifest.json— app name, version, packaged status, OS platform and architecture, runtime versions, process uptime, local server origin, data directory path, and lists of included and excluded files.executor-*.jsonllogs, rotated.1through.4log files, andcollector.jsonmodified within the last 14 days and at most 50 MiB per file.
Automatic redaction: Before writing files into the zip, Executor applies pattern-based redaction to replace values matching quoted credential fields (token, secret, password, authorization, cookie, api-key, api_key, apikey), Bearer and Basic authorization headers, query or fragment parameters named pair, token, code, or state, and hex strings of 64 or more characters. Pattern-based redaction is best-effort — review the archive before sharing it publicly.
What is excluded: Encryption and API keys (keys.json), installation.json, PGlite databases (*.pglite), retained app builds, browser profile data, and telemetry collector storage.
Reset Executor data
Use Help → Reset Executor data… when your local database or key state is broken and cannot be repaired, or when you want to start over cleanly. Because the desktop app and the CLI share ~/.executor/v2/cli, resetting moves the shared local data for both.
- Choose Help → Reset Executor data… (or click Reset data… on a recovery screen).
- In the Reset Executor data? dialog (“Start over with fresh Executor data?”), click Reset and back up (or Cancel to keep your current data).
- Executor stops the background server and telemetry collector, moves the entire data directory to
<parent>/backups/data-<timestamp>(by default~/.executor/v2/backups/data-<timestamp>), writes anexecutor-backup.jsonmanifest recording the key source, and starts a fresh local server. - When the Executor data reset dialog appears, click Show in folder to inspect the backup or OK to close the dialog.
Saved keys in your OS credential store or keys.json are kept for the backup so you can restore it later if needed. Your fresh installation starts with no apps or connected accounts (besides the built-in Executor app).
You’ll know it worked when the Executor data reset dialog appears and the desktop window loads a fresh dashboard.
Recover from startup, port, or key errors
When the local server cannot start or stops unexpectedly, the desktop app displays a recovery screen instead of the dashboard:
- Stopped externally: If you stopped the background server from the CLI (
executor service stopor by changing a setting), the desktop app waits and shows Start. Click Start (or start it from the CLI) to reconnect. - Crash loop: If the background server stops unexpectedly 3 times within 60 seconds, the desktop app stops retrying automatically and shows Restart, Show logs, Reset data…, and Quit.
- Port conflict or unreachable port: Change the local port from File → Server port… (or run
executor service set port <port>from a terminal), then click Restart. - Credential store or key errors: If your OS credential store is locked or access was denied (
credential-unavailableorcredential-denied), unlock macOS Keychain, Windows Credential Manager, or Linux Secret Service and click Restart. If the saved key is missing (credential-missing), restore the original key from your backup or use Reset data… to start fresh with a backup of the old directory. - API key mismatch: Use File → Rotate local API key… (or
executor service rotate-keyfollowed byexecutor service restart) if you need to issue a new local API key, then update any MCP clients that used the previous key.
Example
To collect diagnostics and check the shared background server status from a terminal alongside the desktop app:
# Inspect the shared background server state and diagnostics folder
executor service status
ls -la ~/.executor/v2/cli/diagnostics
If you reset data from the desktop app, confirm the backup folder was created and the new server is healthy:
ls -la ~/.executor/v2/backups
executor service status
Limits
- Help → Reset Executor data… is only available when the desktop app is connected to the local server (not when pointed at a remote server via
--server). - Resetting data in the desktop app resets the shared
~/.executor/v2/clidirectory used by theexecutorCLI as well. - Diagnostics export skips files larger than 50 MiB or older than 14 days, and its redaction is pattern-based rather than a guarantee against every custom secret format.