Skip to content

Duplicate Matrix plugin warning when channels.matrix is configured #18330

@Dolverin

Description

@Dolverin

Description

When channels.matrix is configured in openclaw.json, the gateway auto-registers plugins.entries.matrix on every restart. This conflicts with the Matrix extension at extensions/matrix/, which also auto-loads, resulting in a persistent warning:

plugins.entries.matrix: plugin matrix: duplicate plugin id detected; later plugin may be overridden
(/home/dolverin/.npm-global/lib/node_modules/openclaw/extensions/matrix/index.ts)

Steps to Reproduce

  1. Configure channels.matrix in openclaw.json with a valid homeserver + token
  2. Start/restart the gateway
  3. Warning appears repeatedly in logs (every ~60s during config warning cycle)

Attempted Fixes

  • Removing plugins.entries.matrix from config has no effect — the gateway re-adds it on restart because channels.matrix is present
  • Setting plugins.entries.matrix.enabled: false gets overwritten

Expected Behavior

Either:

  • The gateway should not auto-register plugins.entries.matrix when the extension already provides it, OR
  • The extension and channel-config-based registration should be deduplicated silently

Environment

  • OpenClaw 2026.2.12
  • Linux (Ubuntu 24.04)
  • Matrix homeserver: Synapse (self-hosted)

Impact

Cosmetic only — Matrix works fine despite the warning. No functional issues observed.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions