升级OpenClaw 3.28版本后启动失败

PS C:\Users\xxxxxx> openclaw --version
OpenClaw 2026.3.28 (f9b1079)

启动Gateway显示一个报错,显示飞书的配置(channels.feishu)配置有问题(旧版本是兼容的,可能是新版本有变化或检查更严格了):

PS C:\Users\xxxxxx> openclaw gateway start
Invalid config at C:\Users\xxxxxx\.openclaw\openclaw.json:\n- channels.feishu: invalid config: must NOT have additional properties

🦞 OpenClaw 2026.3.28 (f9b1079) — Your terminal just grew claws—type something and let the bot pinch the busywork.

Config invalid
File: ~\.openclaw\openclaw.json
Problem:
  - channels.feishu: invalid config: must NOT have additional properties

Run: openclaw doctor --fix
Gateway aborted: config is invalid.
channels.feishu: invalid config: must NOT have additional properties
Fix the config and retry, or run "openclaw doctor" to repair.

但是通过 “openclaw doctor --fix” 命令无法修复,手工检查配置“.openclaw\openclaw.json”中相关内容如下。

  "channels": {
    "feishu": {
      "accounts": {
        "default": {
          "appId": "cli_xxxxxxx",
          "appSecret": "xxxxxxx",
          "enabled": true
        },
        "openclawd": {
          "appId": "cli_xxxxxxx",
          "appSecret": "xxxxxxx",
          "enabled": true
        }
      },
      "ignorePatterns": [
        "^1$"
      ],
      "dmPolicy": "allowlist",
      "allowFrom": [
        "ou_xxxxxxx",
        "ou_xxxxxxx"
      ],
      "replyInThread": "disabled"
    },
    "openclaw-weixin": {
      "accounts": {}
    }
  }

手工排查发现问题出在下面“ignorePatterns”这一段配置上:

"ignorePatterns": [
        "^1$"
      ],

去掉这部分配置后,OpenClaw Gateway启动恢复正常,飞书的渠道也可以正常接入了。

Logo

小龙虾开发者社区是 CSDN 旗下专注 OpenClaw 生态的官方阵地,聚焦技能开发、插件实践与部署教程,为开发者提供可直接落地的方案、工具与交流平台,助力高效构建与落地 AI 应用

更多推荐