惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

The Cloudflare Blog
小众软件
小众软件
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
T
Tailwind CSS Blog
WordPress大学
WordPress大学
有赞技术团队
有赞技术团队
博客园 - 司徒正美
V
Visual Studio Blog
G
Google Developers Blog
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
月光博客
月光博客
aimingoo的专栏
aimingoo的专栏
博客园_首页
Blog — PlanetScale
Blog — PlanetScale
博客园 - 聂微东
S
SegmentFault 最新的问题
T
The Blog of Author Tim Ferriss
D
Docker
Vercel News
Vercel News
Recent Announcements
Recent Announcements
Last Week in AI
Last Week in AI
爱范儿
爱范儿
J
Java Code Geeks
大猫的无限游戏
大猫的无限游戏

HaydenBi Blog

Stripe Radar 防盗刷实操:2027 定价变化与规则配置指南 2026 Mercury (水星银行) 开户完整教程 2026 Stripe Atlas 注册美国公司实操指南 春节之旅 - 广州篇 OpenClaw (原 Moltbot) Gmail 集成教程:邮件自动化与每日摘要 OpenClaw (原 Moltbot) 安装教程: 从 0 搭建本地 AI 助手 Ultra Mobile PayGo 充值教程 2025年终总结 Docker中overlay2磁盘占用爆满清理方案 升级MacOS26无法打开ClashX Pro解决办法 Dokploy安装和部署项目流程 包含多个子项目集成一个项目部署Vercel方法 NextJS接入Google Analytics方法 Spring AI使用ollamaModel和qwen3兼容问题because evalDuration is null错误解决
OpenClaw 升级指南: 官方推荐方式与常见报错修复
Hayden Bi · 2026-02-04 · via HaydenBi Blog
Back

Feb 4, 2026 · Hayden Bi

AIMoltbotOpenClawUpdate

Share

OpenClaw 升级指南: 官方推荐方式与常见报错修复

OpenClaw 更新频率比较快,很多新功能和修复都会通过安装脚本下发。如果你已经在服务器上跑起来了,最常见的问题就是:怎么安全升级、升级失败要怎么处理、哪些错误其实可以忽略。本文记录了官方推荐的升级方式,以及我在升级过程中遇到的典型报错和解决办法,方便后续查阅。

官方推荐通过安装脚本升级,它会检测现有安装并进行就地更新:

curl -fsSL https://openclaw.ai/install.sh | bash -s -- --no-onboard

--no-onboard 表示不再运行引导程序。

如果升级失败,并出现 npm install failed; cleaning up and retrying...,可以先清理 npm 缓存:

npm cache clean --force

然后再次执行升级命令:

curl -fsSL https://openclaw.ai/install.sh | bash -s -- --no-onboard

等待一会儿即可完成更新。

Updating OpenClaw...

 Updating via package manager (54.4s)
    npm warn deprecated [email protected]: This package is no longer supported.
    npm warn deprecated [email protected]: This package is no longer supported.
    npm warn deprecated [email protected]: Use your platform's native DOMException instead
    npm warn deprecated [email protected]: This package is no longer supported.
    npm warn deprecated [email protected]: Old versions of tar are not supported, and contain widely publicized security vulnerabilities, which have been fixed in the current version. Please update. Support for old versions may be purchased (at exorbitant rates) by contacting [email protected]
    npm warn deprecated [email protected]: Old versions of glob are not supported, and contain widely publicized security vulnerabilities, which have been fixed in the current version. Please update. Support for old versions may be purchased (at exorbitant rates) by contacting [email protected]
    npm warn deprecated [email protected]: Old versions of glob are not supported, and contain widely publicized security vulnerabilities, which have been fixed in the current version. Please update. Support for old versions may be purchased (at exorbitant rates) by contacting [email protected]
    npm warn tar TAR_ENTRY_ERROR ENOSPC: no space left on device, write
    npm error A complete log of this run can be found in: /home/ubuntu/.npm/_logs/2026-02-04T07_10_41_454Z-debug-0.log

Update Result: ERROR
  Root: /home/ubuntu/.npm-global/lib/node_modules/openclaw
  Reason: global update
  Before: 2026.1.29

Total time: 54.7s

这种情况通常是包管理器更新失败。可以改用本文上面提到的安装脚本升级方式:

curl -fsSL https://openclaw.ai/install.sh | bash -s -- --no-onboard

Comments