Docs menuTroubleshooting and FAQs

Troubleshooting and FAQs

Use with AI

Run the commands on this page in the directory that holds compose.yaml.

On this page

Check that the containers run

docker compose ps

You should see postgres and server, both healthy. The installer waits up to 120 seconds for the server to become healthy and stops with an error if it does not.

Read the server log

docker compose logs server

The server applies database migrations when it starts, so a failed migration or a wrong DATABASE_URL shows here first. Startup warnings, for example about trusted_proxies, are here too.

See which MCP tools an AI app called

Every call of an MCP tool (/mcp and /mcp/operator) writes one line to the server log:

docker compose logs server | grep "mcp tool call"

This line stays in your server log. It is not telemetry: the server sends it nowhere.

Field Meaning
workspace The workspace id. Empty on /mcp/operator.
tool The tool name, for example colliedesk_inbox_search.
token oauth (an AI app connected with OAuth, for example the Claude connector), agent_token (a token a person made in Settings → External AI agents) or operator.
outcome ok; agent_request (filed for a person to approve, nothing ran yet); refused (a planned refusal the AI app reads, for example a missing permission); error (an unexpected failure).
error_type Empty when outcome is ok or agent_request. Otherwise one of no_bearer, invalid_arguments, permission_missing, person_only, token_invalid, workspace_locked, plan_refused, forbidden, not_found, conflict, rejected, rate_limited, unavailable, too_large, refused (another planned refusal), internal, panic.
duration_ms How long the call took.
request_id The X-Request-Id of the MCP request (see request ids).

ok, agent_request and refused lines are INFO. An error line is ERROR and also has error, the cause; it is the only line for that failure.

The line never has the arguments, the answer, message text, a customer's or team member's name or email address, the token or its label.

A screen says a feature "is not set up on this server"

The app never shows server variable names to the people using a workspace; it tells them to ask whoever runs the server, with a link to the guide section. The server log names what is missing each time someone tries the feature:

docker compose logs server | grep "server settings missing"

Each line has feature (google, microsoft, channel_secrets, ai_provider_keys) and missing, the variables to set (the names the settings had in the environment). Save them with collie config set (the secrets with collie config set-secret, see settings); a running server applies them within seconds. MAILBOX_TOKEN_KEYS stays in .env: add it there and run docker compose up -d.

A setting is refused or the server runs an older version

collie config doctor says what is wrong: it exits 0 when the configuration is clean, 1 for warnings (a setting still in the environment, a variable no release reads, a secret sealed with an older key) and 2 for errors (a version the server refused, and why). A version that does not build never stops the server: it runs the last version that did. Bring a good one back with collie config history and collie config restore <version>.

A pairing link works once and expires after 15 minutes. Print a new one:

docker compose exec server /app/collie pair --workspace <slug> --email admin@example.com

Which version do I run?

docker compose exec server /app/collie version

Replies show "Delivery failed"

The timeline shows the reason under the reply. Most often the SMTP relay is not set or refuses the From domain; see configuring email. Fix the cause, then select Retry delivery.

Every visitor shares one rate limit

The server does not trust your reverse proxy, so it sees the proxy's address for every visitor. Set trusted_proxies; see running behind a proxy.

Create an agent token from the command line

Besides the API described in sessions and devices, you can create an agent token on the server:

docker compose exec server /app/collie token create \
  --workspace <slug> --email you@example.com --role Agent --label "Claude Code"

--role is a role of the workspace, by name, whose permissions that person all holds (an admin may name any role, for example Agent); the token follows it. For a fixed list instead, repeat --permission, for example --permission conversations:read --permission messages:note; each must be a permission the person holds. Give one or the other. The token is printed once; Colliedesk keeps only its hash. See roles and permissions.

--scope read|draft|send|admin is deprecated: it still works and prints a warning. read, draft and send become the fixed list of permissions that tier had; admin follows the Admin role.

Still stuck?

See support.

Was this page helpful?

Updated

This page is rendered from the repository. Spot a mistake? Open an issue or a pull request.