#Basic details
1 messages ยท Page 1 of 1 (latest)
Yep, I can help.
If you want troubleshooting, first paste:
openclaw --version
Also send:
- your OS
- how you installed OpenClaw
- what youโre trying to set up
- the exact error/output
Basic setup details:
- Node 24 recommended (
22.14+also supported) - Fastest install/start path on macOS/Linux:
curl -fsSL https://openclaw.ai/install.sh | bash
openclaw onboard --install-daemon
openclaw gateway status
openclaw dashboard
Useful docs:
- https://docs.openclaw.ai/start/getting-started
- https://docs.openclaw.ai/start/wizard
- https://docs.openclaw.ai/gateway/troubleshooting
Paste the version and whatโs failing, and Iโll walk through it with you.
OpenClaw version: OpenClaw 2026.4.20 (115f05d)
OS: Windows 11
Installed on: WSL2 Ubuntu Linux
Details I need:
-
How can I back up the current state of OpenClaw? Including data, memories, history, etc. So I can recover it if something breaks it.
-
How do I update the OpenCLaw version? I saw a new update and used npm install -g openclaw@latest
now Doctor is saying:
โ
โ Update โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโฎ
โ โ
โ This install is not a git checkout. โ
โ Run `openclaw update` to update via your package manager (npm/pnpm), then rerun doctor. โ
โ โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโฏ
Error: Cannot find module 'grammy'
Require stack:
- /home/wrakeeb/.npm-global/lib/node_modules/openclaw/dist/extensions/telegram/allowed-updates-BD2bJyzD.js```
Reply?
Iโve got it, just wanted to verify the docs before guessing. One quick check on that grammy error, then Iโll give you exact steps.
Yep. I checked the docs and the package, and Iโm pretty sure the grammy error is not your fault.
For WSL2, treat the Linux side as the real host. Your OpenClaw data lives under /home/wrakeeb/..., not Windows %AppData%.
1. Backup
Best built-in option:
mkdir -p ~/Backups
openclaw backup create --verify --output ~/Backups
That backs up:
~/.openclaw(config, credentials, auth, sessions)- your workspace, usually
~/.openclaw/workspace - memories like
AGENTS.md,SOUL.md,USER.md,memory/...
- session history under
~/.openclaw/agents/<agentId>/sessions/
Extra-safe approach:
- keep
~/.openclaw/workspacein a private git repo - before major changes, stop the gateway and copy
~/.openclawtoo
Good docs:
- https://docs.openclaw.ai/cli/backup
- https://docs.openclaw.ai/concepts/agent-workspace
- https://docs.openclaw.ai/install/migrating
2. Updating
Normally, the right command is:
openclaw update
The doctor line about โnot a git checkoutโ is normal for an npm install.
The real problem is the missing grammy module.
I checked the published 2026.4.20 npm package, and it imports grammy but does not declare it as a dependency, which matches your error exactly.
Recommended fix right now
Roll back to the last stable version that still includes those deps:
npm install -g openclaw@2026.4.15
openclaw doctor
openclaw gateway restart
This should not delete your data. It only changes the code install, not ~/.openclaw or your workspace.
Temporary workaround if you want to stay on 2026.4.20
npm install -g grammy @grammyjs/runner @grammyjs/transformer-throttler
openclaw doctor
openclaw gateway restart
Thatโs more of a band-aid. Iโd still recommend pinning 2026.4.15 for now.
Docs:
If you want, I can give you a copy-paste backup + rollback checklist for WSL2 next.
Alright. I ran
mkdir -p ~/Backups
openclaw backup create --verify --output ~/Backups
Now where to find this file in my PC And how to keep it safe? Should I run this every time I change something?
Since you ran it in WSL2, the file is in the Linux home folder:
/home/wrakeeb/Backups
Quick check:
ls -lh ~/Backups
You should see a timestamped file like:
2026-04-21T...-openclaw-backup.tar.gz
How to find it from Windows
Open File Explorer and go to:
\\wsl$\Ubuntu\home\wrakeeb\Backups
If your distro name is different, replace Ubuntu with that distro name.
How to keep it safe
That backup can contain:
- config
- memories/workspace files
- session history
- tokens/credentials
So treat it like a secret file.
Good options:
- copy it to an external drive
- store it in a private cloud folder
- better, store it encrypted (BitLocker drive, encrypted zip/7z, etc.)
Things I would not do:
- public GitHub
- public file-sharing links
- unencrypted random uploads
How often to run it
I would not run a full backup after every tiny change.
Good rule of thumb:
- always before updates/upgrades
- before changing config/channels/models
- before risky experiments
- weekly if the setup matters
- daily only if youโre actively changing it and care about losing recent history
For frequent small memory/workspace edits, a private git repo for ~/.openclaw/workspace is better than doing full tar backups constantly.
If you want, I can give you:
- a best-practice backup routine for WSL2, or
- a command that saves backups directly onto your Windows drive instead of inside WSL.
I don't see the file in my Windows. The location is not accessible
Yeah, that usually means the distro name/path isnโt what we guessed.
Try this inside WSL:
wslpath -w ~/Backups
That will print the exact Windows path for your backup folder.
Copy that output and paste it into File Explorer.
Also try this from inside WSL:
cd ~/Backups
explorer.exe .
That should open the folder directly in Windows Explorer.
If you just want the backup on your normal Windows drive, easiest is to create the next one straight on C::
openclaw backup create --verify --output /mnt/c/Users/<your-Windows-username>/Downloads
If wslpath -w ~/Backups still gives you trouble, paste its output here and Iโll tell you the exact folder to open.
Thank you.