|
2 | 2 |
|
3 | 3 | ## 📖 목차 / Contents |
4 | 4 |
|
| 5 | +- [v0.2.17 — 2026-05-14](#v0217--2026-05-14) |
5 | 6 | - [v0.2.16 — 2026-05-14](#v0216--2026-05-14) |
6 | 7 | - [v0.2.15 — 2026-05-14](#v0215--2026-05-14) |
7 | 8 | - [v0.2.14 — 2026-05-14](#v0214--2026-05-14) |
|
25 | 26 |
|
26 | 27 | --- |
27 | 28 |
|
| 29 | +## v0.2.17 — 2026-05-14 |
| 30 | + |
| 31 | +### Bug fix — Discord bot replies "Something went wrong" after stop/start (sandbox compose overlay drop) |
| 32 | +User's Discord bot was Online but every message got the generic OpenClaw error reply: |
| 33 | + |
| 34 | +> ⚠️ Something went wrong while processing your request. Please try again, or use `/new` to start a fresh session. |
| 35 | +
|
| 36 | +Gateway logs revealed the actual cause: |
| 37 | + |
| 38 | +``` |
| 39 | +[diagnostic] lane task error: lane=session:agent:main:discord:channel:... |
| 40 | + error="Error: Failed to inspect sandbox image: failed to connect to the |
| 41 | + docker API at unix:///var/run/docker.sock; ... no such file or directory" |
| 42 | +``` |
| 43 | + |
| 44 | +The bot processes each message by spinning a sandbox sub-container, which needs `/var/run/docker.sock` mounted into the gateway container. `install.sh` step_sandbox generates `~/DEV/openclaw/docker-compose.sandbox.yml` (the overlay that mounts the socket) and brings the gateway up with that overlay included — but **neither `cmd/start.sh` nor `step_lockdown` referenced this overlay afterward**. So the first `./openclaw stop && ./openclaw start` (or any `network online --restart` / `network isolated --restart`) silently dropped the socket mount, and the bot stopped being able to invoke tools. |
| 45 | + |
| 46 | +Symptom: `docker inspect openclaw-openclaw-gateway-1 --format '{{range .Mounts}}{{.Source}} {{end}}'` shows the workspace and config mounts but **no `/var/run/docker.sock`**. Plugins list shrinks from 7 (with `discord`) back to 6 because the discord channel can't run. |
| 47 | + |
| 48 | +- **`cmd/start.sh`** — now adds `-f $OPENCLAW_DIR/docker-compose.sandbox.yml` to the compose args when that file exists. Same conditional include pattern already used for `compose.security.yml` / `compose.network.yml`. If the overlay doesn't exist (sandbox disabled by `OPENCLAW_SANDBOX=0`, or never set up) the start path is unchanged. |
| 49 | +- **`cmd/install.sh step_lockdown`** — same fix. Without this, the very last step of `./openclaw install` (the auto-lockdown to isolated) was already dropping the sandbox mount on first install, so the bot worked only between step_sandbox and step_lockdown — invisible to users until they tried Discord. |
| 50 | + |
| 51 | +### Documentation |
| 52 | +- **GUIDE-DAILY-USE 트러블슈팅 표** — new row for "`Something went wrong while processing your request`" with the docker.sock cause and the `git pull → stop → start` recovery. Includes a one-liner to verify the mount. |
| 53 | +- **GUIDE-DISCORD-BOT 트러블슈팅** — new dedicated entry "봇이 응답으로 'Something went wrong...'" with the full diagnosis, log grep one-liner, mount verification, and history of the v0.2.16-and-earlier regression. |
| 54 | + |
| 55 | +### Verified on user's machine |
| 56 | +After patch + `./openclaw stop && start`: |
| 57 | +- Gateway healthy |
| 58 | +- Mounts now include `/var/run/docker.sock -> /var/run/docker.sock` |
| 59 | +- Plugins line: `ready (7 plugins: acpx, bonjour, browser, device-pair, **discord**, phone-control, talk-voice)` |
| 60 | +- `discord client initialized as <id> (openclaw); awaiting gateway readiness` — connected and ready to process messages. |
| 61 | + |
| 62 | +VERSION 0.2.16 → 0.2.17. |
| 63 | + |
| 64 | +--- |
| 65 | + |
28 | 66 | ## v0.2.16 — 2026-05-14 |
29 | 67 |
|
30 | 68 | ### GUIDE-DAILY-USE TL;DR — Discord prompt cheat sheet alongside host commands |
|
0 commit comments