{"id":694,"date":"2026-07-16T19:19:10","date_gmt":"2026-07-16T11:19:10","guid":{"rendered":"https:\/\/book.yuekegu.com\/index.php\/2026\/07\/16\/openclaw-%e5%b7%a5%e5%85%b7%e6%95%85%e9%9a%9c%e6%8e%92%e6%9f%a5%e4%b8%8e%e4%bf%ae%e5%a4%8d%e8%ae%b0%e5%bd%95\/"},"modified":"2026-07-16T19:19:10","modified_gmt":"2026-07-16T11:19:10","slug":"openclaw-%e5%b7%a5%e5%85%b7%e6%95%85%e9%9a%9c%e6%8e%92%e6%9f%a5%e4%b8%8e%e4%bf%ae%e5%a4%8d%e8%ae%b0%e5%bd%95","status":"publish","type":"post","link":"https:\/\/book.yuekegu.com\/index.php\/2026\/07\/16\/openclaw-%e5%b7%a5%e5%85%b7%e6%95%85%e9%9a%9c%e6%8e%92%e6%9f%a5%e4%b8%8e%e4%bf%ae%e5%a4%8d%e8%ae%b0%e5%bd%95\/","title":{"rendered":"OpenClaw \u5de5\u5177\u6545\u969c\u6392\u67e5\u4e0e\u4fee\u590d\u8bb0\u5f55"},"content":{"rendered":"<p>## \ud83d\udccb \u95ee\u9898\u73b0\u8c61<\/p>\n<p>OpenClaw \u6240\u6709\u5de5\u5177\uff08exec\u3001read\u3001write\u3001edit\u3001session_status\u3001memory \u7b49\uff09\u6267\u884c\u540e\u5168\u90e8\u8fd4\u56de &#8220;(see attached image)&#8221;\uff0c\u6301\u7eed\u8d85\u8fc7 1 \u5c0f\u65f6\u3002<\/p>\n<p>## \ud83d\udd2c \u6545\u969c\u5b9a\u4f4d\u8fc7\u7a0b<\/p>\n<p>### 1. \u57fa\u7840\u68c0\u67e5<\/p>\n<p>&#8220;`bash<br \/>\n# \u68c0\u67e5 Gateway \u72b6\u6001<br \/>\nopenclaw status<\/p>\n<p># \u68c0\u67e5 Gateway \u65e5\u5fd7<br \/>\ntail -100 ~\/.openclaw\/logs\/gateway.log<\/p>\n<p># \u68c0\u67e5 Nginx \u8bed\u6cd5<br \/>\nnginx -t<br \/>\n&#8220;`<\/p>\n<p>### 2. \u73af\u5883\u68c0\u67e5<br \/>\n&#8211; \u7cfb\u7edf\uff1aOpenCloudOS 6.6.34<br \/>\n&#8211; OpenClaw \u7248\u672c\uff1a2026.6.11<br \/>\n&#8211; Node.js \u7248\u672c\uff1a22.23.1<br \/>\n&#8211; Gateway \u8fd0\u884c\u72b6\u6001\uff1a\u6b63\u5e38\uff08PID 2042162\uff09<br \/>\n&#8211; API Key\uff1aDeepSeek\uff08\u4f59\u989d\u6b63\u5e38\uff09<\/p>\n<p>### 3. \u91cd\u542f\u5c1d\u8bd5<\/p>\n<p>**\u7b2c\u4e00\u6b21\u5c1d\u8bd5\uff1agateway restart**<br \/>\n&#8220;`bash<br \/>\nopenclaw gateway restart<br \/>\n&#8220;`<br \/>\n\u7ed3\u679c\uff1a\u274c \u6545\u969c\u4f9d\u65e7\uff0c\u6240\u6709\u5de5\u5177\u4ecd\u8fd4\u56de &#8220;(see attached image)&#8221;<\/p>\n<p>**\u7b2c\u4e8c\u6b21\u5c1d\u8bd5\uff1asystemctl restart php-fpm**<br \/>\n&#8220;`bash<br \/>\n\/etc\/init.d\/php-fpm-83 restart<br \/>\n&#8220;`<br \/>\n\u7ed3\u679c\uff1a\u274c \u6545\u969c\u4f9d\u65e7<\/p>\n<p>**\u7b2c\u4e09\u6b21\u5c1d\u8bd5\uff1anpm update -g openclaw**<br \/>\n&#8220;`bash<br \/>\nnpm update -g openclaw<br \/>\nopenclaw gateway restart<br \/>\n&#8220;`<br \/>\n\u7ed3\u679c\uff1a\u2705 Gateway \u91cd\u542f\u540e\u5de5\u5177\u6062\u590d\u6b63\u5e38<\/p>\n<p>## \u2705 \u6700\u7ec8\u89e3\u51b3\u65b9\u6848<\/p>\n<p>**\u65b9\u6848\u4e00\uff1a\u5347\u7ea7\u91cd\u88c5\uff08\u6709\u6548\uff09**<br \/>\n&#8220;`bash<br \/>\nnpm update -g openclaw<br \/>\nopenclaw gateway restart<br \/>\n&#8220;`<\/p>\n<p>**\u65b9\u6848\u4e8c\uff1a\u5b8c\u5168\u91cd\u542f\uff08\u5907\u7528\uff09**<br \/>\n&#8220;`bash<br \/>\nopenclaw gateway stop<br \/>\nopenclaw gateway start<br \/>\n&#8220;`<\/p>\n<p>## \ud83d\udcdd \u7ecf\u9a8c\u603b\u7ed3<\/p>\n<p>1. OpenClaw \u51fa\u73b0\u5de5\u5177\u8fd4\u56de\u5f02\u5e38\u65f6\uff0c\u4f18\u5148\u5c1d\u8bd5 **\u5347\u7ea7 + \u91cd\u542f Gateway**<br \/>\n2. \u5355\u72ec\u7684 `gateway restart` \u4e0d\u8db3\u4ee5\u89e3\u51b3\u95ee\u9898\uff0c\u9700\u8981\u914d\u5408 `npm update`<br \/>\n3. \u6545\u969c\u671f\u95f4\u4ec5 Conversation \u901a\u9053\u6b63\u5e38\uff0c\u6240\u6709\u5de5\u5177\u5747\u65e0\u6cd5\u4f7f\u7528<br \/>\n4. \u6545\u969c\u5b9a\u4f4d\u8017\u65f6\u7ea6 1.5 \u5c0f\u65f6\uff0c\u6700\u7ec8\u901a\u8fc7\u5347\u7ea7\u89e3\u51b3<br \/>\n5. OpenCode CLI \u7684\u5b89\u88c5\u548c\u914d\u7f6e\u4e0d\u53d7 OpenClaw \u6545\u969c\u5f71\u54cd\uff0c\u53ef\u72ec\u7acb\u4f7f\u7528<\/p>\n","protected":false},"excerpt":{"rendered":"<p>## \ud83d\udccb \u95ee\u9898\u73b0\u8c61 OpenClaw \u6240\u6709\u5de5\u5177\uff08exec\u3001read\u3001write\u3001ed [&hellip;]<\/p>\n","protected":false},"author":0,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-694","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/book.yuekegu.com\/index.php\/wp-json\/wp\/v2\/posts\/694","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/book.yuekegu.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/book.yuekegu.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"replies":[{"embeddable":true,"href":"https:\/\/book.yuekegu.com\/index.php\/wp-json\/wp\/v2\/comments?post=694"}],"version-history":[{"count":0,"href":"https:\/\/book.yuekegu.com\/index.php\/wp-json\/wp\/v2\/posts\/694\/revisions"}],"wp:attachment":[{"href":"https:\/\/book.yuekegu.com\/index.php\/wp-json\/wp\/v2\/media?parent=694"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/book.yuekegu.com\/index.php\/wp-json\/wp\/v2\/categories?post=694"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/book.yuekegu.com\/index.php\/wp-json\/wp\/v2\/tags?post=694"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}