飞书单聊和群聊均无回应。飞书长连接正常(WebSocket 显示 ON · OK),消息能收到,但 Bot 不回复。
飞书单聊和群聊均无回应。飞书长连接正常(WebSocket 显示 ON · OK),消息能收到,但 Bot 不回复。
单聊: OpenClaw 动态生成的 JS 模块文件丢失,导致消息分发时 ERR_MODULE_NOT_FOUND。
日志关键报错:
Error [ERR_MODULE_NOT_FOUND]: Cannot find module
'/home/<user>/.nvm/versions/node/v22.22.2/lib/node_modules/openclaw/dist/directive-handling.fast-lane-BAhyQLdx.js'
imported from .../get-reply-462JLlw-.js群聊: 群组不在 allowFrom 白名单中,groupPolicy 为 allowlist 模式。
日志关键报错:
group oc_51cd445c9162f2d622f1a984e8bc3f4f not in groupAllowFrom (groupPolicy=allowlist)systemctl --user restart openclaw-gatewayGateway 重启后动态模块会重新生成。
配置文件路径:
~/.openclaw/credentials/feishu-default-allowFrom.json原始内容(只有用户 ID):
{
"version": 1,
"allowFrom": [
"ou_3dc2416c9a7a4c297a19d87fd8edbccc"
]
}添加群 ID:
{
"version": 1,
"allowFrom": [
"ou_3dc2416c9a7a4c297a19d87fd8edbccc",
"oc_51cd445c9162f2d622f1a984e8bc3f4f"
]
}修改后需重启 Gateway:
systemctl --user restart openclaw-gatewaysystemctl --user restart openclaw-gateway
echo "Verification passed: fix command exited 0"Expected Output: command completes without error, then Verification passed is printed. (Checks: systemctl --user restart openclaw-gateway)
查看实时日志:
journalctl --user -u openclaw-gateway --no-pager -f查看飞书 channel 状态:
openclaw status查看所有 session:
openclaw sessions list