MANUAL / RUNNING OSCAR 29 / 29
| Symptom | Cause and fix |
|---|---|
| "no provider configured" | run oscar setup, or set OSCAR_PROVIDER, OSCAR_MODEL and the key |
HTTP 401 from the provider |
key wrong or missing — oscar model shows its source |
| "invalid peer certificate" / "unknown issuer" behind a company proxy | the proxy's CA is not trusted: add it to the system store, or set ca_bundle (or SSL_CERT_FILE) to its PEM file; oscar doctor shows the tls sources. Checks are never turned off |
| "this bot token is already in use by the gateway of …" | two profiles have the same bot token; stop the other gateway or give this profile its own bot |
oscar doctor says oscar.db DAMAGED |
oscar sessions repair --dry-run, then oscar sessions repair (backs up first, keeps the damaged file) |
| a command was "not run: this command needs the sudo password" | it runs where nobody is present (a gateway, a job); run it yourself or from the terminal chat (only SUDO_PASSWORD with sudo_unattended = on changes that — see approvals-and-sandbox.md#sudo) |
| "… failed (model not found (HTTP 404)); answering with fallback …" | the model is retired or misspelt; oscar model set another, or keep the fallback |
| a connector (web search, browser, Hindsight, an MCP server) is off | oscar doctor says why and what to set; see connectors.md |
"unknown model" on /model or !model |
the id is not in the provider's list; use Tab or oscar model list |
| "refusing to use … as the workspace" | in the workspace sandbox the workspace may not be or contain $HOME; pick a project folder, pass --allow-home-workspace <dir>, or use host mode (the default), which starts anywhere |
| "OSCAR_HOME is inside the workspace" | in the workspace sandbox: move OSCAR_HOME out of the project, or use host mode |
| shell says network unreachable / ssh fails | the workspace sandbox has no network; use sandbox = "host" if the work needs it |
| "is Oscar's own data … out of reach" | tools never read or write $OSCAR_HOME; run the command yourself if you need it |
| a command was "denied by policy" | it is in the deny tier; it cannot run in any mode |
| a command keeps asking in auto mode | it is confirm-tier (dangerous); a human must answer |
| bash "capability unavailable" | workspace mode: the sandbox cannot start here and bash refuses to run unconfined. The message (and oscar doctor's confinement lines) says why: on Ubuntu 23.10 and later it is AppArmor's kernel.apparmor_restrict_unprivileged_userns = 1 for users other than root. Fixes and their trade-off: Approvals and the sandbox; or use host mode |
| Matrix: encrypted room refused | run the gateway with MATRIX_E2EE=on; check oscar doctor and the start-up e2ee: lines |
| Matrix: "couldn't decrypt your last message" | resend; make sure the sending session is verified (cross-signed) or set MATRIX_E2EE_TRUST=any |
| Matrix: "different keys for this device" | the crypto store and the server disagree — use a new login (new access token) |
HTTP 429 / "rate limited" |
wait, add a second key (<KEY_VARIABLE>_2), or set a fallback chain; oscar doctor shows which keys are resting |
| "… failed (HTTP 503); answering with fallback …" | the main provider failed and a fallback answered this turn; the next message tries the main provider again |
a fallback is "skipped" in oscar doctor |
the reason follows (unknown provider, missing key or sign-in); fix it or remove the entry |
| Telegram: the bot ignores @mentions in a group | privacy mode is on: @BotFather → /setprivacy → Disable, then add the bot to the group again (or make it an admin) |
| Telegram: "check TELEGRAM_BOT_TOKEN" / 401 | the token was revoked or mistyped; get it again from @BotFather |
| Discord: "refused a privileged intent (close 4014)" | enable Message Content Intent under Bot in the developer portal, or set DISCORD_MESSAGE_CONTENT=false |
| Discord: no reactions or files from the bot in a server | its role lacks Add Reactions or Attach Files; invite it again with the link from oscar discord probe |
| a chat says a file is "too large" | each platform has limits; see voice-and-images.md (DISCORD_UPLOAD_LIMIT_MB for boosted servers) |
| a voice note gets "needs speech-to-text" | set up a backend (voice-and-images.md); oscar doctor shows the stt line |
| the gateway service does not start | oscar gateway status, then oscar logs gateway (or journalctl -u oscar-gateway, --user for a user unit); environment files must hold NAME=value lines. "no chat platform is configured": the gateway runs the scheduled jobs only until you add one (oscar setup gateways) |
| "unknown key" or a bad value in config.toml stops Oscar | oscar config check lists each problem with its line number; fix with oscar config set / unset |
oscar update says there is no release signing key |
this build has the placeholder key, so downloads cannot be verified; use oscar update --from-source or install a release build |
oscar update "does not verify" / "does not match" |
the download is not what was signed; nothing was changed; report it |
oscar update: the manifest is "older than one this oscar already accepted", or the channel "offers oscar … older than this one" |
an old release manifest is being served (a stale cache or mirror, or tampering), or you run a newer build than the channel; nothing was changed. Try again later; --allow-downgrade installs an older release on purpose |
oscar update notes that update_url/update_repo are not used |
updates come from the signed release manifest now; oscar config set update_source forge keeps a forge (operations) |
| after an update something broke | oscar update --rollback puts the previous binary back |
"profile x does not exist" |
oscar profile list; create it with oscar profile create x |
| one platform keeps "starting again" | the line before says why (token, network, intent); the other platforms keep running |
| skill lint fails | read the [FAIL] lines: description length/period, marketing words, author: Oscar, ## When to Use |
oscar skills install refused "dangerous content" |
the scan lines say what and where; read the files, then --force if you trust them |
oscar skills install "ships scripts; confirm on a terminal" |
run it on a terminal, or pass --yes after reading the scripts |
| GitHub "rate limited" when installing skills | set GITHUB_TOKEN (environment or credentials.env) |
oscar import says a memory entry "does not fit" |
it is in $OSCAR_HOME/import-leftovers/; merge it by hand with oscar memory add after consolidating |
| browser_vault "refused: the page is on X" | the login is bound to another site; save one for this site (oscar vault add) or use --subdomains |
| full-screen chat looks wrong | try --line; logs are in $OSCAR_HOME/logs/tui.log |
API: 401 invalid_api_key |
send Authorization: Bearer <OSCAR_API_SERVER_KEY> |
| API: "refusing to listen on …" | another address than loopback needs OSCAR_API_SERVER_KEY (16+ characters) and --public |
API: 409 session_busy / 429 |
one turn per session at a time / too many turns at once (--max-concurrent) |
| API or editor: "no one to ask" | the API cannot ask for approval: use approve = "auto" for ask-tier calls; dangerous commands are always refused there |
| editor (ACP): "refusing to use … as the workspace" | the project folder failed the workspace checks (see the workspace rows above) |
| a tool call "blocked by a before_tool hook" | one of your [[hooks]] refused it; oscar doctor lists them |
When reporting a bug: oscar dump (versions, masked configuration, doctor,
recent log lines; read it before sharing), the exact command and the full
error text (keys are redacted automatically). oscar logs errors shows recent
warnings and errors.