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

推荐订阅源

Attack and Defense Labs
Attack and Defense Labs
酷 壳 – CoolShell
酷 壳 – CoolShell
博客园_首页
博客园 - 司徒正美
月光博客
月光博客
Apple Machine Learning Research
Apple Machine Learning Research
T
Tailwind CSS Blog
Jina AI
Jina AI
GbyAI
GbyAI
Y
Y Combinator Blog
罗磊的独立博客
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
P
Proofpoint News Feed
Last Week in AI
Last Week in AI
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
量子位
雷峰网
雷峰网
博客园 - 【当耐特】
H
Hackread – Cybersecurity News, Data Breaches, AI and More
The GitHub Blog
The GitHub Blog
S
Secure Thoughts
博客园 - 三生石上(FineUI控件)
Cyberwarzone
Cyberwarzone
NISL@THU
NISL@THU
J
Java Code Geeks
C
Cisco Blogs
人人都是产品经理
人人都是产品经理
Webroot Blog
Webroot Blog
腾讯CDC
博客园 - 叶小钗
C
Cyber Attacks, Cyber Crime and Cyber Security
T
Troy Hunt's Blog
AI
AI
L
LangChain Blog
Know Your Adversary
Know Your Adversary
T
Tenable Blog
M
MIT News - Artificial intelligence
P
Privacy & Cybersecurity Law Blog
L
LINUX DO - 最新话题
Hugging Face - Blog
Hugging Face - Blog
F
Full Disclosure
P
Proofpoint News Feed
AWS News Blog
AWS News Blog
有赞技术团队
有赞技术团队
A
Arctic Wolf
Security Archives - TechRepublic
Security Archives - TechRepublic
S
Schneier on Security
Recent Commits to openclaw:main
Recent Commits to openclaw:main
W
WeLiveSecurity
The Cloudflare Blog

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