|
2 | 2 |
|
3 | 3 | ## 📖 목차 / Contents |
4 | 4 |
|
| 5 | +- [v0.2.19 — 2026-05-14](#v0219--2026-05-14) |
5 | 6 | - [v0.2.18 — 2026-05-14](#v0218--2026-05-14) |
6 | 7 | - [v0.2.17 — 2026-05-14](#v0217--2026-05-14) |
7 | 8 | - [v0.2.16 — 2026-05-14](#v0216--2026-05-14) |
|
27 | 28 |
|
28 | 29 | --- |
29 | 30 |
|
| 31 | +## v0.2.19 — 2026-05-14 |
| 32 | + |
| 33 | +### Bug fix — Discord bot still "Something went wrong" after v0.2.17 (`permission denied` on docker.sock) |
| 34 | + |
| 35 | +v0.2.17 fixed the docker.sock mount **missing**. After applying it, the error mutated: |
| 36 | + |
| 37 | +``` |
| 38 | +v0.2.16-: Failed to inspect sandbox image: ... no such file or directory |
| 39 | +v0.2.17-: Failed to inspect sandbox image: ... permission denied while |
| 40 | + trying to connect to the docker API at unix:///var/run/docker.sock |
| 41 | +``` |
| 42 | + |
| 43 | +Diagnosis inside the running container: |
| 44 | + |
| 45 | +``` |
| 46 | +$ docker exec openclaw-openclaw-gateway-1 sh -c 'ls -la /var/run/docker.sock; id' |
| 47 | +srw-rw---- 1 root root 0 May 13 13:55 /var/run/docker.sock |
| 48 | +uid=1000(node) gid=1000(node) groups=1000(node),1(daemon) |
| 49 | +``` |
| 50 | + |
| 51 | +On the **host** the socket is `root:daemon` (GID=1), but **inside the container** (macOS Docker Desktop) it appears as `root:root` (GID=0). `install.sh step_sandbox` was reading the host GID with `stat -f '%g'`, which returns `1`, and emitting only `group_add: ["1"]`. The `node` user is a member of group `1(daemon)` but **not** group `0(root)`, so opening the socket from inside the container failed with permission denied. |
| 52 | + |
| 53 | +- **`install.sh step_sandbox` (cmd/install.sh)**: when writing `docker-compose.sandbox.yml`, always emit `group_add: ["0"]` first (root, required for macOS Docker Desktop), then the detected host GID if different. Now the container's `node` user ends up in `groups=1000(node),0(root),1(daemon)` and can talk to the socket regardless of platform. |
| 54 | +- **User's existing `~/DEV/openclaw/docker-compose.sandbox.yml`** was patched in place to the same `["0","1"]` shape. Verified post-restart: `docker exec ... docker info --format '{{.ServerVersion}}'` returns `29.4.0` from inside the gateway. Plugins list back to `7` with `discord`. |
| 55 | + |
| 56 | +### Documentation |
| 57 | +- **GUIDE-DAILY-USE.md** 트러블슈팅 표: new row for the `permission denied` variant with the manual patch one-liner. |
| 58 | +- **GUIDE-DISCORD-BOT.md** troubleshooting: the "Something went wrong" entry now distinguishes case A (`no such file`, v0.2.17 fix) vs case B (`permission denied`, v0.2.19 fix) and shows the immediate patch + verification command. |
| 59 | + |
| 60 | +VERSION 0.2.18 → 0.2.19. |
| 61 | + |
| 62 | +--- |
| 63 | + |
30 | 64 | ## v0.2.18 — 2026-05-14 |
31 | 65 |
|
32 | 66 | ### GUIDE-OLLAMA.md — consolidated 🔌 켜기·끄기·재시작·자동시작 section |
|
0 commit comments