Check OpenCode itself first
- Run opencode --version in a terminal. If nothing answers, OpenCode isn’t installed or isn’t on your PATH; OpenCode’s docs have the install commands.
- Run opencode service status. If the service isn’t running, opencode service restart starts it again.
- Read the log. OpenCode’s page gives its path as ~/.local/share/opencode/log/opencode.log.
- Leave the service files and the database alone. OpenCode’s page says not to delete or edit them while troubleshooting.
- If you report a bug to OpenCode, include the output of the first two commands, as its page asks.
The service commands, the log path and the warning are from OpenCode’s troubleshooting page for its current version, on the date under Sources. Earlier versions have their own page in OpenCode’s docs.
Connect a model provider
OpenCode needs a model to talk to. Its docs say to run /connect in OpenCode, choose a provider and enter its credentials, then run /models to pick one of its models. They also describe using a ChatGPT Plus or Pro plan instead of an OpenAI API key, and signing in to GitHub Copilot with a device code.
If OpenCode isn’t working in AppuBot
Open Settings › Agents and look at the OpenCode row. Its status tells you where the problem is.
| What you see | What it means | What to do |
|---|---|---|
| Not installed | AppuBot can’t find OpenCode on this computer | Press Install. AppuBot downloads OpenCode itself, with no terminal |
| Ready, with "Free models" | OpenCode works with its free models and no account | Nothing. Press Log in only if you want your own provider’s models |
| A line in red under the row | OpenCode reported a problem when AppuBot checked it | Read the line, fix what it names, then press the refresh button on the row |
| Update available | A newer OpenCode is out | Press Update |
| "OpenCode (Off)" in the model picker | The agent is switched off | Switch it on in Settings › Agents |
