Skip to content

Troubleshooting

Startup failures, diagnostic information and the doctor check.

First find the step where the problem occurs. If you cannot fix it, collect the diagnostic information and report it.

Butler Agent does not get ready

If Butler couldn’t start. appears on the welcome screen during first run, the reason preparation stopped appears below it. Try these steps in order.

  1. Click Try again. Preparation runs again.
  2. If the same error repeats, click Reset and restart in More. Butler stops the Agent included in the app, starts it again, then checks its status.
  3. If it still fails, click Copy info for a bug report in More to copy the diagnostic information to the clipboard. Paste it when you report the problem.
  4. If you cannot fix it now, click Quit in More to close the app.

These are the reasons shown for each preparation step. If preparation stops on an error that is not in the table, The background service didn’t respond. appears.

Preparation step Reason
Butler Agent service The background service isn’t allowed to run. or The background service stopped.
Check Agent version Part of Butler is missing. Reinstall Butler.
Check desktop connection Another Butler is using the background service.
Data folder Butler can’t write to its data folder (~/.butler). or Checking the data folder took too long.
Model settings Butler can’t read its model settings. or Reading the model settings took too long.
Start Butler Agent Butler didn’t finish starting. or Butler took too long to start.

The Data folder step checks that files can be written to the data folder. The Model settings step checks that the model settings and saved keys can be read.

Read the diagnostic information

The copied diagnostic information is JSON. checks lists the items the app checks, in order. The first item whose status is failed is where preparation stopped.

  • Butler Agent service or Start Butler Agent
  • Connect to Butler Agent
  • Check Agent version
  • Check local sign-in
  • Check status
  • Check protocol
  • Check desktop connection

readiness holds the steps the Agent prepares itself (data_folder, model_config, agent_runtime). A failed step carries an error code and a description in English (detail).

If a code in errors is bundled_agent_version_missing, the app could not read the Agent version from the app package. Download the latest installer that includes the native Agent from GitHub Releases and reinstall the app.

The diagnostic information masks tokens, secrets and user paths, and leaves out stack traces and raw standard output.

The app does not open

If macOS asks whether to open an app downloaded from the internet, choose Open.

Windows preview builds are unsigned. If SmartScreen appears, choose More info, then Run anyway, but only when you trust the source of the build. The installer is ButlerSetup-0.1.0-preview.17-x64.exe.

Open Butler from your app list after installing the DEB or Arch package. If it does not start, check the service logs below.

Model connection problems

The model list does not load

  • If Couldn’t finish connecting. Try again. appears during first run, click Try again.
  • If a model in the composer’s model picker cannot be used, check the default model and the connection status in Settings → Models.
  • If That model is no longer available. appears, choose another model.

A response fails

If Butler could not complete the request. appears in a conversation, try again with one of these buttons.

  • Retry original settings: Sends the failed request again with the original model and settings.
  • Retry as new with current settings: Sends it as a new request with the model and settings selected now. Use it after you change the model.

If the same model often does not respond, open Settings → Models and click Edit under Backup models. Turn on Use backup models, then click Add backup model to register a model that takes over. See Backup models.

OAuth sign-in does not finish

When you add a model with a ChatGPT plan in Settings → Models → Model management, click Continue with ChatGPT to start sign-in.

  1. If the sign-in page does not load, click Open in browser, or use Copy link to copy the address and open it yourself.
  2. Finish signing in in the browser and return to Butler. The state updates automatically.
  3. If Couldn’t sign in or Sign-in timed out appears, click Start sign-in again.

Sign-in receives its callback at http://127.0.0.1:<random port>/auth/callback. If the sign-in page cannot reach the callback port, check your container’s port forwarding. Set BUTLER_CHATGPT_OAUTH_PORT when a container needs a fixed port.

State Action
Usage limit reached Open Manage usage to check your ChatGPT plan limit.
Plan use is off Click Turn on to allow plan use.
ChatGPT sign-in changed. Sign in again. after an update Click Continue with ChatGPT in the notification to sign in again.

The connection is shown as lost

When Live connection lost. Reconnecting automatically. The displayed work status may be out of date. appears, Butler reconnects on its own. If it lasts a long time, quit Butler and open it again.

The Agent included in the app runs only while Butler is open.

Agent restarts and long data paths

For an Agent launched with butler start, the CLI supervisor restarts abnormal exits even without a service manager. It stops after five crashes in one minute. Fix the cause, then run butler start. A clean exit or butler stop does not trigger automatic restart. Agent-requested self-restarts use the same data folder restart path.

You can use a long path with --data. Quote paths with spaces and keep the data folder outside the installation folder. If startup fails, check write permissions on the data folder and the result of butler doctor --check installation.

An error appears on screen

If Butler UI crashed. appears, reload the window or open Butler again.

A Git notice appears

If Git is not installed appears in the composer, you can keep using Butler, but the branch and commit features are unavailable. Click Install Git to install Git.

Update problems

Check for and install app updates in Settings → Updates. An update replaces only the app and leaves the data folder alone.

  1. In Settings → Updates, click Check.
  2. If a new version is available, the Butler App item shows the current version and the new version. Click Update to download and install the new version and open Butler again.
  3. If no new version appears and you want a preview version, turn on Receive preview versions and click Check again.
  4. If Failed to check updates or Failed to apply update keeps appearing, download the latest installer from GitHub Releases and reinstall.

Below the Butler App item, the version of the Agent included in the app is also shown (Butler Agent <version>).

For the standalone Agent, butler update --check checks for a new version. butler update --apply --yes installs the new version and restarts the service. See Butler Agent CLI for the procedure.

Notifications do not arrive

  1. In Settings → General → Notification permission, check OS notification status.
  2. Click Test to send a test notification.
  3. If no notification appears, click the notification settings link for your operating system and allow Butler notifications there.

Check the logs

Logs in the app

  1. In Settings → About, turn on Developer mode.
  2. Open Logs in the App and system group.
  3. Search messages, errors and IDs, or filter by level, source, category and period. Turn on Live to follow new entries.
  4. Open an entry for its fields and, for HTTP entries, the Request, Response and JSON tabs.

Without developer mode, use Export diagnostics in Settings → About. It saves the logs as a zip, without chat content.

At Full, logs include prompts, replies and request bodies. Check an export before you share it.

Service logs of the standalone Agent

Logs of the service started with butler start are written to logs/butler-agent-service.stdout.log and logs/butler-agent-service.stderr.log in the data folder (~/.butler by default).

bash
butler logs --lines 200
butler logs --follow

Export diagnostic logs

butler doctor --collect-logs exports service logs and summary.txt to log-exports/<ID>/ in the data folder and prints the path. The summary includes the version, OS, install kind, service manager availability, recent exits and last error. It excludes model request/response logs and redacts secrets. Review the content before sharing it.

bash
butler doctor --collect-logs

Check the installation with doctor

For the standalone Agent, butler doctor checks the installation. It is read-only and does not fix problems. For the commands, see Butler Agent CLI.

bash
butler doctor
butler doctor --check installation

If the result is degraded, look at the items marked FAIL or WARN. When the service is not running, the service item becomes WARN, so use --check installation to check only the installation.

These are common errors and how to fix them.

  • butler_data_overlaps_installation: The data folder overlaps the installation folder. Set a different folder outside the installation folder with --data.
  • --home is unsupported: Use --data in place of --home.
  • native_home_unavailable: The HOME environment variable is empty. This often happens when Butler runs from an MCP client.
  • update --apply requires --yes: Add --yes when you apply an update.

Reinstall

App

  1. Quit Butler.
  2. Download butler-app-0.1.0-preview.17-darwin-arm64.dmg.
  3. Open the DMG and drag Butler.app into the Applications folder to replace the existing app.

Quit Butler and copy ~/.butler. Then download ButlerSetup-0.1.0-preview.17-x64.exe and run it.

Download the latest DEB or Arch package and install it again with the commands in Install.

Conversations, memory and Agent settings are stored in the data folder (~/.butler), outside the app, so they remain after you reinstall the app.

Standalone Agent

Reinstall into a new version folder. Leave the existing installation folder unchanged. To check the new installation apart from your existing data, run it with --data set to a new, empty folder. The existing DATA folder stays as it is.

Report a problem

Report a problem you cannot fix as a new issue in GitHub Issues. You can also open the Butler repository from GitHub repository in Settings → About. Include the following to make the cause easier to find.

  • Version from Settings → About
  • Operating system and version; processor type on macOS
  • The steps that led to the problem
  • For a first-run preparation failure, the content copied with Copy info for a bug report
  • For the standalone Agent, the output of butler version --json and butler doctor --json

The copied diagnostic information and the doctor output mask secrets. If you attach logs or conversation content, check them yourself before you upload them.

Frequently asked questions

Does the Agent stop when I close the window?

The Agent included in the app runs only while Butler is open. If you turn on Keep app available after closing the window in Settings → General, its menu stays available after you close the window.

Where is my data stored?

In the data folder, ~/.butler. Settings are in butler.config.json, and other secrets such as web search API keys are in .env. Cloud model API keys are stored in auth/credential-store.json, and the list of keys is in auth/model-provider-credentials.json. Builds signed with a Developer ID store API keys in the macOS Keychain. With secrets.store set to system, Windows and Linux store them in the system store too. For the exact locations, see Cloud models.

How do I replace or delete an API key?

In Settings → Models → API keys, click Replace or Delete for the key. To delete the key the default model uses, first change the default model to another model. See Cloud models.

Are my conversations sent outside my computer?

If you use cloud models or turn on Profile building, the prompt, context and profile candidate text a request needs may be sent to the model provider you set up. To keep processing on your device, connect a local model as a Custom model.

Butler asks for approval every time it edits a file or runs a command.

The conversation is using the Ask first permission. A new Butler installation starts with this permission. To answer an approval request, see Conversations and the composer. To be asked less, choose Auto in the composer’s Permission menu; to let Butler proceed without asking, choose Full access. Change the default for new conversations in New chats under Settings → General → Default permission.

New conversations still start with full access after an update.

A Butler you have used since an earlier version keeps Full access if you have never saved the default permission for new chats. A saved value does not change when you update. To start with Ask first, choose Ask first in New chats under Settings → General → Default permission.

I allowed access, but no address is shown.

If you turned on Connect on the same network in Settings → Phone & devices and No network address appears, first check that this computer is connected to a network. If Port in use, Port blocked, Address unavailable or Couldn’t open address appears instead of an address, the address could not be opened. For Port in use, quit the other program that uses the port, then turn Connect on the same network off and on again. For the pairing steps, see Remote access.

The other computer does not connect when I enter the code.

A code works once, within 60 seconds, and three wrong entries invalidate it. Enter the code that Pair device in Settings → Phone & devices shows now. If no code is shown, click Create code to issue a new one. Without the app, use the code that butler remote pair shows. The long connection token of earlier versions and butler remote code --rotate no longer work. A device you disconnected has to pair again with a new code.

Can I use Butler on Windows or Linux?

Linux desktop packages are available. Windows has the ButlerSetup installer and an Agent zip. For release files, see Install.

I installed an earlier version and preparation keeps failing.

Earlier releases may contain the TypeScript/Bun Agent, which is no longer used. Reinstall with the latest release, which includes the native Agent.