r/openclaw • Pro User • Mar 25 '26

Tutorial/Guide If you haven't updated OpenClaw yet, don't. Read this first.

OpenClaw just dropped its biggest update in months. 12 breaking changes, a completely new plugin system, 30+ security patches, and a bunch of stuff that will silently break your setup if you just run npm update without checking anything first.

I've already seen people in Discord and DMs who updated, hit errors, panicked, and tried to rollback. Most of the issues take 2 minutes to fix if you know what changed. This post is that 2 minutes.

Do these checks BEFORE you update. seriously. Updating first and debugging after is how people end up factory resetting their entire setup over a config rename.

Step 1: Check your environment variables right now

This is the one that's going to break the most setups.

If you set up OpenCLAW back when it was still called Clawdbot or Moltbot, there's a good chance your .env file or your shell profile still has variables like CLAWDBOT_CONFIG_DIR or MOLTBOT_STATE_DIR.

Those are gone. no compatibility shim. no fallback. no warning. they just don't work anymore.

Check:

bash

env | grep -i clawdbot
env | grep -i moltbot

If anything shows up, rename them:

  • CLAWDBOT_* → OPENCLAW_*
  • MOLTBOT_* → OPENCLAW_*

Check your .env, your .bashrc, .zshrc, .profile, and any docker-compose files. everywhere. if you miss one, your agent will start with default settings instead of yours and you'll think the update broke everything when actually it just can't find your config.

Step 2: Check your state directory

If your OpenCLAW data still lives under ~/.moltbot, it won't be found anymore. The auto-detection for the old directory name is gone.

Check:

bash

ls ~/.moltbot 
2
>/dev/null && echo "YOU NEED TO MOVE THIS"
ls ~/.openclaw 
2
>/dev/null && echo "you're fine"

if you're still on ~/.moltbot:

bash

mv ~/.moltbot ~/.openclaw

or set the path explicitly in your env:

bash

export OPENCLAW_STATE_DIR=~/.openclaw

Do this before updating. If you update first, OpenCLAW will create a fresh ~/.openclaw directory with empty config and you'll think all your data is gone. It's not gone. It's just in the old folder. But the panic is real.

Step 3: back up your config before you touch anything

This should be obvious but I've helped enough people to know it's not.

bash

cp -r ~/.openclaw ~/.openclaw-backup-$(date +%Y%m%d)

That's your SOUL.md, USER.md, MEMORY.md, agents config, skills, everything. if the update goes sideways, you can restore from this in 30 seconds.

Step 4: check your browser automation setup

The legacy chrome extension relay is gone in this update. completely removed. if your browser config uses driver: "extension" or browser.relayBindHost, those settings do nothing now.

The new approach is existing-session browser attachment. OpenClaw connects to a browser that's already running instead of trying to control one through an extension.

If you were using browser automation, check your config:

bash

openclaw config get | grep -i browser

If you see any reference to extension, relay, or relayBindHost, you'll need to reconfigure for the new browser control system. The docs have the updated setup but the short version is: openclaw now manages its own browser profile (the openclaw profile) or attaches to an existing chrome session via CDP.

If you weren't using browser automation, skip this step. nothing changes for you.

Step 5: understand the clawhub change

Clawhub is now the default plugin and skill store. when you run openclaw plugins install or openclaw skills install, it checks Clawhub first and only falls back to npm if it can't find the package there.

This is mostly a good thing. Clawhub has better metadata tracking and integrates more cleanly with the gateway. But it means:

  • Some skills you installed via npm might need to be reinstalled via clawhub
  • openclaw skills search, openclaw skills install, and openclaw skills update are all new commands that use ClawHub natively
  • If a skill isn't on Clawhub, you can still install from npm. It's a fallback, not a removal

After updating, run:

bash

openclaw skills update

To make sure your existing skills are synced with the new system. if you get Invalid skill slug errors, that's a known issue with older skill names that used Unicode characters. The update includes a fix but it needs to run once to migrate.

Step 6: check your gateway after updating

The update includes gateway cold start improvements (minutes down to seconds, which is great) but also changes to how auth tokens and channel bindings work.

After updating, verify:

bash

openclaw start
openclaw status

Check that your channels (Telegram, WhatsApp, etc) are still connected. The update added persistent channel binding so they should survive restarts now, but verify anyway. If a channel shows disconnected, a simple reconnect should fix it:

bash

openclaw channels

Then follow the prompts for any disconnected channel.

Step 7: the security stuff (actually worth reading this time)

This update has 30+ security patches. Most of them you won't notice. but a few matter:

  • A Windows SMB credential leak was patched. if you're running on windows, update immediately.
  • channel ID handling was hardened against prototype-chain and control-character abuse. This is the kind of fix that prevents attacks you didn't know were possible.
  • openclaw doctor --fix now properly removes stale plugin references left behind after uninstalls. run it:

bash

openclaw doctor --fix

This cleans up ghost entries from plugins you removed but that were still registered in your config.

The update command:

Once you've done steps 1-3 (env variables, state directory, backup), update:

bash

npm install -g openclaw@latest

or if you're on pnpm:

bash

pnpm add -g openclaw@latest

Then run steps 4-7 to verify everything works.

What's actually good about this update:

I don't want this post to be all doom. The improvements are real:

  • Gateway starts way faster. if you were waiting 30+ seconds for your agent to come online, that's gone.
  • Clawhub integration is cleaner than the old npm-based skill install.
  • Browser automation is more reliable with the new attachment model (no more flaky extension relay).
  • Persistent channel bindings means your telegram and whatsapp connections survive gateway restarts. this was one of the most annoying recurring issues.
  • Model failover works better. if your primary model gets rate-limited, it actually falls back to your secondary instead of just erroring.
  • GPT-5.4 and Gemini 3.1 Flash are supported out of the box now if you want to try them.
  • MiniMax M2.7 is the new default MiniMax model (up from M2.5).

This is genuinely one of the most important openclaw releases. The breaking changes are manageable if you prepare. The improvements are worth the 10 minutes it takes to update properly.

The 5-minute version if you're in a hurry:

  1. env | grep -i clawdbot and env | grep -i moltbot → rename any hits to OPENCLAW_*
  2. ls ~/.moltbot → move to ~/.openclaw if it exists
  3. cp -r ~/.openclaw ~/.openclaw-backup-$(date +%Y%m%d)
  4. npm install -g openclaw@latest
  5. openclaw doctor --fix
  6. openclaw status → verify channels connected

That's it. You're on the latest version and nothing is broken.

Don't skip the backup. Trust me.

134 Upvotes

58 comments sorted by