mirror of
https://github.com/openclaw/nix-openclaw.git
synced 2026-07-24 21:25:23 -04:00
Gateway fails with legacy config keys (telegram -> channels.telegram) #16
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @imrane on GitHub (Jan 30, 2026).
Problem
On NixOS, the OpenClaw gateway service fails to start with:
Invalid config at ~/.openclaw/openclaw.json:
Run: openclaw doctor --fix
Context
providers.telegramwhich ends up as legacytelegramin the config JSON.channels.telegramand refuses to start untilopenclaw doctor --fixis run manually.Expected
The nix-openclaw module should emit the new schema (
channels.telegram) or run the doctor migration automatically so the gateway startswithout manual intervention.
Workaround
…but this is overwritten on the next deploy.
Request
Please update nix-openclaw to generate
channels.telegram(and other moved keys if applicable), or add an automatic migration step inactivation.
@imrane commented on GitHub (Jan 30, 2026):
Looks like some changes were made upstream....but this causes other problems...
Is this true?
@imrane commented on GitHub (Jan 31, 2026):
Solved...