Repository navigation
Description
Bug type
Regression (worked before, now fails)
Beta release blocker
No
Summary
After upgrading the Docker image from 2026.4.20 to 2026.5.3-1, the Discord and WhatsApp channel plugins no longer register. Inspection of /app/dist/extensions/ inside the running gateway shows both directories contain only openclaw.plugin.json and package.json with no runtime JavaScript, while dist/extensions/telegram/ and other unaffected channels contain full runtime files (index.js, setup-entry.js, etc.). LINE and QQBot show the same metadata-only pattern; Feishu (already tracked in #77424) does as well.
Steps to reproduce
- Pull ghcr.io/openclaw/openclaw:2026.5.3-1 and start the gateway via Docker
Compose with channels.discord.enabled = true and channels.whatsapp.enabled = true
in openclaw.json, and a valid DISCORD_BOT_TOKEN in the environment. - From inside the running gateway container, run:
ls /app/dist/extensions/discord
ls /app/dist/extensions/whatsapp
ls /app/dist/extensions/telegram - Run openclaw gateway call channels.status from inside the container.
Expected behavior
On 2026.4.20, the same configuration produced active Discord and WhatsApp channels
in channels.status, with messages routed end-to-end. The expectation is that
dist/extensions/discord/ and dist/extensions/whatsapp/ ship the same runtime JS
shape (index.js, setup-entry.js, *-api.js) that dist/extensions/telegram/ ships,
and that the plugin registry loads and registers them.
Actual behavior
- Pull ghcr.io/openclaw/openclaw:2026.5.3-1 and start the gateway via Docker
Compose with channels.discord.enabled = true and channels.whatsapp.enabled = true
in openclaw.json, and a valid DISCORD_BOT_TOKEN in the environment. - From inside the running gateway container, run:
ls /app/dist/extensions/discord
ls /app/dist/extensions/whatsapp
ls /app/dist/extensions/telegram - Run openclaw gateway call channels.status from inside the container.
OpenClaw version
2026.5.3-1 (image), Node v24.14.0 inside container
Operating system
Ubuntu 24.04.4 LTS (host)
Install method
Docker (image ghcr.io/openclaw/openclaw:2026.5.3-1 via Docker Compose)
Model
NOT_ENOUGH_INFO — packaging-time defect, model-independent
Provider / routing chain
NOT_ENOUGH_INFO — packaging-time defect; affected channels never register, so no provider chain is exercised
Additional provider/model setup details
No response
Logs, screenshots, and evidence
$ docker inspect <gateway> --format '{{.Config.Image}}'
openclaw-gateway:tools # locally re-tagged from
ghcr.io/openclaw/openclaw:2026.5.3-1
$ docker exec <gateway> sh -c 'cat /app/package.json | grep version'
"version": "2026.5.3-1",
$ for ext in discord whatsapp feishu telegram slack signal line imessage matrix
irc qqbot; do
files=$(docker exec <gateway> ls /app/dist/extensions/$ext 2>/dev/null | wc
-l)
idx=$(docker exec <gateway> test -f /app/dist/extensions/$ext/index.js && echo
yes || echo no)
printf '%-12s files=%-3s index.js=%s\n' "$ext" "$files" "$idx"
done
discord files=2 index.js=no
whatsapp files=2 index.js=no
feishu files=3 index.js=no
telegram files=22 index.js=yes
slack files=24 index.js=yes
signal files=12 index.js=yes
line files=2 index.js=no
imessage files=13 index.js=yes
matrix files=21 index.js=yes
irc files=11 index.js=yes
qqbot files=3 index.js=noImpact and severity
- Affected: any user running the ghcr.io/openclaw/openclaw:2026.5.3-1 Docker image
with Discord, WhatsApp, LINE, QQBot, or Feishu channels enabled. - Severity: High — affected channels do not register; agents cannot send or
receive messages on those surfaces. - Frequency: Deterministic — observed on every gateway start with this image.
- Consequence: Complete message-routing outage for the affected channels until the
image is rolled back or the missing plugin packages are installed manually.
Additional information
Last known good version: 2026.4.20 (same Compose configuration, Discord and
WhatsApp routed normally).
- First known bad version: 2026.5.3-1.
- Related issues: [Bug] Feishu plugin JS files missing from Docker image v2026.5.3 #77424 (Feishu metadata-only in v2026.5.3), 2026.4.27 → 2026.5.2 silently drops built-in channel extensions (whatsapp, discord, bluebubbles, ...) — built-in→external @openclaw/* migration without auto-install or warning #77483 (5.x
externalization + missing channels UX), [Bug]: External plugins silently dropped after upgrading OpenClaw (2026.5.2 → 2026.5.3-1) #77266 (external plugins dropped on
upgrade). The pattern appears consistent with the in-flight plugin externalization
work — channels whose runtime is now expected to come from a standalone npm
package (e.g. @openclaw/discord, @openclaw/whatsapp) ship only manifest files in
the Docker image, with no automatic install step. - A temporary user workaround is to install the externalized packages explicitly
inside the running gateway; this has not yet been verified in this sessio
Metadata
Metadata
Assignees
Labels
Type
Fields
Priority
Activity
clawsweeper commentedon May 11, 2026
Thanks for the context here. I did a careful shell check against current
main, and this is already implemented.Close as implemented on main: current Docker packaging prunes package-excluded external plugin dist directories, and the fix shipped in v2026.5.4 before this report was filed. The existing discussion correctly linked the merged Docker fix and related external-plugin install-hint work.
I found the merged PR that appears to have closed this: #77547: fix(docker): prune external plugin dist.
So I’m closing this as already implemented rather than keeping a duplicate issue open.
Review details
Best possible solution:
Keep the v2026.5.4+ packaging contract: Docker images should not expose partial external plugin runtime directories, and official external channels should be installed through the plugin install flow with clear diagnostics.
Do we have a high-confidence way to reproduce the issue?
Yes for the historical 2026.5.3-1 image, based on the reporter’s deterministic container inventory. I did not reproduce a current-main failure because current source now prunes the package-excluded dist directories during Docker image assembly.
Is this the best way to solve the issue?
Yes. Pruning misleading metadata-only runtime dirs while keeping externalized official channel plugins install-on-demand is the narrow maintainable fix, and the separate install-hint work addresses the operator guidance part.
Security review:
Security review: No PR diff is under review; this is ordinary issue triage for a Docker/plugin packaging regression report.
What I checked:
Dockerfile:133, 8c4c7280c7f9)pruneDockerPluginDistreadsOPENCLAW_EXTENSIONS, collects package-excluded extension ids, and removes matchingdist/extensions/<id>anddist-runtime/extensions/<id>directories unless explicitly kept. (scripts/prune-docker-plugin-dist.mjs:23, 8c4c7280c7f9)package.json:42, 8c4c7280c7f9)src/plugins/prune-docker-plugin-dist.test.ts:35, 8c4c7280c7f9)scripts/prune-docker-plugin-dist.mjs. (src/dockerfile.test.ts:151, 8c4c7280c7f9)Likely related people:
Dockerfile,scripts/prune-docker-plugin-dist.mjs,src/dockerfile.test.ts)openclaw plugins installguidance for upgraded/externalized channel configs. (role: externalized-plugin diagnostics contributor; confidence: high; commits: b3e42bf32792; files:src/config/validation.ts,src/config/config.plugin-validation.test.ts)Codex review notes: model gpt-5.5, reasoning high; reviewed against 8c4c7280c7f9; fix evidence: merged PR #77547, release v2026.5.4, commit 7e229f0d3d63.