openclaw3.23版本升级到最新版本,gateway版本滞后于pnpm包

目的

升级openclaw到最新版本,pnpm升级后发现界面还是老版本。

env

  • rockylinux9.6
  • pnpm openclaw

解决

6efc05132fe2899ccf2269bc477dd988.png

1.升级
pnpm update openclaw -g
pnpm approve-builds -g

2.检修
openclaw doctor
openclaw doctor --fix

│
◇  Update gateway service config to the recommended defaults now?
│  Yes

#openclaw gateway有systemctl控制,写死版本的必须同步升级openclaw-gateway.service
Installed systemd service: /root/.config/systemd/user/openclaw-gateway.service
Previous unit backed up to: /root/.config/systemd/user/openclaw-gateway.service.bak

3.检查
openclaw --version
openclaw status
openclaw health

Overview
┌──────────────────────┬────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┐
│ Item                 │ Value                                                                                                                                                  │
├──────────────────────┼────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┤
│ Dashboard            │ http://172.30.97.5:18789/                                                                                                                              │
│ OS                   │ linux 5.14.0-570.52.1.el9_6.x86_64 (x64) · node 24.14.1                                                                                                │
│ Tailscale            │ off                                                                                                                                                    │
│ Channel              │ stable (default)                                                                                                                                       │
│ Update               │ pnpm · up to date · npm latest 2026.3.28                                                                                                               │
│ Gateway              │ local · ws://127.0.0.1:18789 (local loopback) · reachable 29ms · auth token · bang-agent (172.30.97.5) app 2026.3.28 linux 5.14.0-570.52.1.el9_6.x86_  │
│                      │ 64                                                                                                                                                     │
│ Gateway service      │ systemd installed · enabled · running (pid 50890, state active)