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

推荐订阅源

美团技术团队
D
DataBreaches.Net
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
D
Docker
N
Netflix TechBlog - Medium
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
C
Check Point Blog
腾讯CDC
Stack Overflow Blog
Stack Overflow Blog
V
Visual Studio Blog
IT之家
IT之家
月光博客
月光博客
U
Unit 42
K
Kaspersky official blog
T
Threatpost
cs.AI updates on arXiv.org
cs.AI updates on arXiv.org
GbyAI
GbyAI
P
Proofpoint News Feed
Last Week in AI
Last Week in AI
云风的 BLOG
云风的 BLOG
酷 壳 – CoolShell
酷 壳 – CoolShell
I
InfoQ
Engineering at Meta
Engineering at Meta
Recorded Future
Recorded Future
Exploit-DB.com RSS Feed
Exploit-DB.com RSS Feed
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
S
Security @ Cisco Blogs
MyScale Blog
MyScale Blog
大猫的无限游戏
大猫的无限游戏
Security Archives - TechRepublic
Security Archives - TechRepublic
Webroot Blog
Webroot Blog
cs.CV updates on arXiv.org
cs.CV updates on arXiv.org
Hacker News - Newest:
Hacker News - Newest: "LLM"
S
Schneier on Security
S
Secure Thoughts
The Register - Security
The Register - Security
B
Blog RSS Feed
The Last Watchdog
The Last Watchdog
P
Palo Alto Networks Blog
爱范儿
爱范儿
B
Blog
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
N
News and Events Feed by Topic
阮一峰的网络日志
阮一峰的网络日志
L
LINUX DO - 热门话题
C
Cisco Blogs
Spread Privacy
Spread Privacy
F
Full Disclosure
博客园 - 聂微东
T
The Blog of Author Tim Ferriss

HaydenBi Blog

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