-
-
Notifications
You must be signed in to change notification settings - Fork 69.6k
Update 2026.2.26: Matrix plugin broken — missing dependency + duplicate plugin conflict #31231
Description
Summary
The 2026.2.26 update broke Matrix connectivity for users who had previously installed the Matrix plugin locally. Two separate issues compound each other.
Issue 1: Bundled Matrix extension missing @vector-im/matrix-bot-sdk
The newly bundled extensions/matrix plugin requires @vector-im/matrix-bot-sdk but this dependency is not installed as part of the OpenClaw update.
Error from openclaw plugins list:
matrix failed to load from .../openclaw/extensions/matrix/index.ts: Error: Cannot find module '@vector-im/matrix-bot-sdk'
Require stack:
- .../openclaw/extensions/matrix/src/matrix/client/config.ts
Fix that worked:
cd /path/to/.npm-global/lib/node_modules/openclaw/extensions/matrix
npm installIssue 2: Duplicate plugin conflict for users with local Matrix extension
Prior to this update, Matrix was only available as a local/community extension installed under ~/.openclaw/extensions/matrix/. The update bundled Matrix as a stock plugin, creating a duplicate plugin ID conflict with no migration guidance.
Warning from openclaw gateway status:
plugin matrix: duplicate plugin id detected; later plugin may be overridden
(/home/juno/.npm-global/lib/node_modules/openclaw/extensions/matrix/index.ts)
The conflict caused Matrix messages to stop being received entirely — the plugin failed silently with no actionable error in the UI.
Fix that worked:
mv ~/.openclaw/extensions/matrix ~/.openclaw/extensions/matrix.bakThen restart the gateway. The bundled plugin (once its deps are installed) takes over cleanly.
Side effect: Control UI instability
The Matrix plugin load failure appeared to destabilize the gateway, causing the Control UI to behave erratically. After applying both fixes above and restarting, the Control UI returned to normal.
Steps to Reproduce
- Have Matrix configured and working prior to
2026.2.26update (with local extension) - Run
openclaw update/ update via npm - Restart gateway
- Matrix messages stop being received
openclaw plugins listshowsmatrix: erroropenclaw gateway statusshows duplicate plugin warning
Environment
- OpenClaw:
2026.2.26 - OS: Linux 6.17.0-14-generic (x64)
- Node: v22.22.0
- Install method: npm global (
npm-global) - Matrix homeserver: Synapse (self-hosted)
Suggested Fixes
- Ensure
@vector-im/matrix-bot-sdkis included in the bundled extension's dependencies and installed duringopenclaw update - Detect and warn users with a local
~/.openclaw/extensions/matrix/when the bundled version is available, with migration instructions - Consider a
openclaw plugins migratecommand or at minimum a deprecation notice in the update changelog