← 返回
AI智能

Openclaw Troubleshoot

Provide step-by-step diagnostics and command-line fixes for common OpenClaw issues including memory plugin faults, Feishu disconnects, LLM timeouts, and Tele...
提供逐步诊断和命令行修复,处理常见的OpenClaw问题,包括内存插件故障、飞书断连、LLM超时以及Tele...
wayne19820905
AI智能 clawhub v1.0.0 1 版本 100000 Key: 无需
★ 0
Stars
📥 744
下载
💾 26
安装
1
版本
#latest

概述

OpenClaw 故障排除 Skill

症状:失忆症(无法记住对话)

诊断步骤

  1. 检查 memory 插件状态:openclaw plugins list | grep memory
  2. 检查会话文件:ls ~/.openclaw/agents/main/sessions/
  3. 检查 MEMORY.md 是否存在:ls ~/.openclaw/workspace/MEMORY.md

修复方案

# 启用 memory-core 插件
openclaw plugins enable memory-core

# 添加到允许列表
jq '.plugins.allow += ["memory-core"]' ~/.openclaw/openclaw.json > /tmp/oc.json && mv /tmp/oc.json ~/.openclaw/openclaw.json

# 重启 Gateway
launchctl unload ~/Library/LaunchAgents/ai.openclaw.gateway.plist
launchctl load ~/Library/LaunchAgents/ai.openclaw.gateway.plist

症状:飞书连接断开

诊断步骤

  1. 检查 Gateway 状态:openclaw gateway status
  2. 检查通道状态:openclaw status | grep -A 5 "Channels"
  3. 查看错误日志:tail -50 /tmp/openclaw/openclaw-$(date +%Y-%m-%d).log

修复方案

# 强制重启 Gateway
killall openclaw-gateway 2>/dev/null
sleep 2
launchctl kickstart -k gui/$UID/ai.openclaw.gateway

症状:LLM Timeout

注意

OpenClaw 的 config schema 不支持直接在 providers 下加 timeout 字段。

正确做法

  • 使用默认超时设置
  • 如需要调整,通过环境变量或 API 调用时指定

症状:Telegram 疯狂报错

修复方案

# 禁用 Telegram
openclaw config set plugins.allow '["feishu"]'  # 只保留飞书
openclaw config set plugins.entries.telegram.enabled false
openclaw config set channels.telegram.enabled false

# 重启生效
openclaw gateway restart

配置原则

  1. 插件最小化 - 只启用需要的插件
  2. 配置验证 - 修改后用 openclaw doctor 检查
  3. 备份习惯 - 重要修改前手动备份 openclaw.json

关键文件位置

  • 主配置:~/.openclaw/openclaw.json
  • 会话存储:~/.openclaw/agents/main/sessions/
  • 长期记忆:~/.openclaw/workspace/MEMORY.md
  • 日志文件:/tmp/openclaw/openclaw-YYYY-MM-DD.log
  • 服务配置:~/Library/LaunchAgents/ai.openclaw.gateway.plist

版本历史

共 1 个版本

  • v1.0.0 当前
    2026-03-30 04:56 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

ai-intelligence

Proactive Agent

halthelobster
将AI智能体从任务执行者升级为主动预判需求、持续优化的智能伙伴。集成WAL协议、工作缓冲区、自主定时任务及实战验证模式。Hal Stack核心组件 🦞
★ 836 📥 213,076
ai-intelligence

Self-Improving + Proactive Agent

ivangdavila
自我反思+自我批评+自我学习+自组织记忆。智能体评估自身工作、发现错误并持续改进。
★ 1,358 📥 318,232
ai-intelligence

Nano Banana Pro

steipete
使用 Nano Banana Pro (Gemini 3 Pro Image) 生成或编辑图像。支持文生图、图生图及 1K/2K/4K 分辨率,适用于图像创建、修改及编辑请求,使用 --input-image 指定输入图像。
★ 417 📥 115,182