#openclaw gateway restart

1 messages ยท Page 1 of 1 (latest)

raven pike
#

I tried to conduct openclaw gateway restart, however I got
๐Ÿฆž OpenClaw 2026.2.14 (unknown) โ€” I don't just autocompleteโ€”I auto-commit (emotionally), then ask you to review (logically).

Invalid config at /home/node/.openclaw/openclaw.json:\n- channels.discord: Unrecognized key: "requireMention"
โ”‚
โ—‡ Config โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ•ฎ
โ”‚ โ”‚
โ”‚ Config invalid; doctor will run with best-effort config. โ”‚
โ”‚ โ”‚
โ”œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ•ฏ
โ”‚
โ—‡ Unknown config keys โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ•ฎ
โ”‚ โ”‚
โ”‚ - channels.discord.requireMention โ”‚
โ”‚ โ”‚
โ”œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ•ฏ
โ”‚
โ—‡ Doctor โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ•ฎ
โ”‚ โ”‚
โ”‚ Run "openclaw doctor --fix" to remove these keys. โ”‚
โ”‚ โ”‚
โ”œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ•ฏ
Config invalid
File: ~/.openclaw/openclaw.json
Problem:

  • channels.discord: Unrecognized key: "requireMention"

Run: openclaw doctor --fix
Config invalid
File: ~/.openclaw/openclaw.json
Problem:

  • channels.discord: Unrecognized key: "requireMention"

Run: openclaw doctor --fix
Gateway service check failed: Error: systemctl --user unavailable: unknown error
what doed that means and what should I do?

drifting lanternBOT
#

To help others find answers, you can mark your question as solved via Right click solution message -> Apps -> โœ… Mark Solution

thick elbowBOT
#

Thatโ€™s two separate issues:

1) Config error: channels.discord.requireMention no longer exists

In 2026.2.14, requireMention is not a top-level Discord key. Itโ€™s configured per guild and optionally per channel.

So you should remove the old key, or move it to the new location.

Fast fix (auto-removes unknown keys):

openclaw doctor --fix

Or surgically remove just that one key:

openclaw config unset channels.discord.requireMention
#

If what you wanted was โ€œbot only responds when mentionedโ€ in a guild/channel, do it like this:

{
  channels: {
    discord: {
      guilds: {
        "123456789012345678": {
          requireMention: true,
          channels: {
            "1472557462682075343": { requireMention: true }
          }
        }
      }
    }
  }
}
#

Docs: https://docs.openclaw.ai/channels/discord (see โ€œMentions and group DMsโ€)


2) systemctl --user unavailable

openclaw gateway restart is trying to manage a systemd user service, but your environment doesnโ€™t have systemctl --user available (common in Docker containers, or WSL2 without systemd enabled, or minimal distros).

What to do depends on where youโ€™re running:

  • If youโ€™re in Docker: restart the container, or just run the gateway in the foreground:
    openclaw gateway --force
    
  • If youโ€™re on WSL2: you likely need to enable systemd first. Follow: https://docs.openclaw.ai/platforms/windows#wsl2 (section โ€œEnable systemdโ€).