在服务器 1.19 上安装 OpenClaw 后,Web 控制面板无法登录,无论是通过浏览器访问还是使用 curl 命令,均返回信息:Not Found。对比 1.12 服务器无此问题。
查看绑定情况
openclaw config get gateway.bind
输出显示为 loopback。
绑定到 LAN
打开网络连通性,将网关绑定到 lan:
openclaw config set gateway.bind lan
重启 gateway:
openclaw gateway restart
设备列表和配对
配置设备对并批准:
openclaw devices list
openclaw devices approve
上述操作无效。
检查 npm 版本
当前版本:
npm -v
升级到 11.11:
npm install -g [email protected]
然后重新 build。
使用 pnpm 重新安装
pnpm store prune rm -rf node_modules
pnpm install
使用 npm 重新安装
npm i -g openclaw openclaw onboard
问题依旧。
卸载并重装
尝试删除 OpenClaw 然后重装:
openclaw uninstall
卸载过程涉及停止 systemd 服务、移除配置文件及 workspace 等组件。
最终解决方案
重新安装后问题仍未解决,最终通过安装 openclaw-cn 包解决了该问题。


