-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Description
What happened?
After restarting my computer, the docker zigbee2mqtt fails to start.
It seems to be related to this -> https://www.zigbee2mqtt.io/guide/installation/20_zigbee2mqtt-fails-to-start_crashes-runtime.html#error-startup-failed-configuration-adapter-mismatch-see-logs-above-for-more-information
but in my case the key is good... ( I did not change it, I think I never did and it work since a couple of years I think )
What did you expect to happen?
I expected this to start without problem
How to reproduce it (minimal and precise)
No response
Zigbee2MQTT version
koenkk/zigbee2mqtt:2.7.2
Adapter firmware version
unknown
Adapter
SONOFF ZigBee 3.0 USB
Setup
On a ubuntu intel NUC, running inside a docker container
Linux server 6.8.0-79-generic #79-Ubuntu SMP PREEMPT_DYNAMIC Tue Aug 12 14:42:46 UTC 2025 x86_64 x86_64 x86_64 GNU/Linux
Ubuntu 24.04.3 LTS
Device database.db entry
No response
Debug log
Starting Zigbee2MQTT without watchdog.
[2026-01-06 00:01:33] error: zh:adapter:zstack:manager: Configuration is not consistent with adapter state/backup!
[2026-01-06 00:01:33] error: zh:adapter:zstack:manager: - PAN ID: configured=6754, adapter=6754
[2026-01-06 00:01:33] error: zh:adapter:zstack:manager: - Extended PAN ID: configured=00124b0024c28e43, adapter=00124b0024c28e43
[2026-01-06 00:01:33] error: zh:adapter:zstack:manager: - Network Key: configured=c4bb13d966d24f2daf90fd64b6e8dbf1, adapter:active=c4bb13d966d24f2daf90fd64b6e8dbf1 adapter:preconfigured=ad93dbfd17c515704d09a690f2c3fc01, adapter:alternate=c4bb13d966d24f2daf90fd64b6e8dbf1
[2026-01-06 00:01:33] error: zh:adapter:zstack:manager: - Channel List: configured=11, adapter=11
[2026-01-06 00:01:33] error: zh:adapter:zstack:manager: Please update configuration to prevent further issues.
[2026-01-06 00:01:33] error: zh:adapter:zstack:manager: If you wish to re-commission your network, please remove coordinator backup at /app/data/coordinator_backup.json.
[2026-01-06 00:01:33] error: zh:adapter:zstack:manager: Re-commissioning your network will require re-pairing of all devices!
[2026-01-06 00:01:33] error: z2m: Error while starting zigbee-herdsman
[2026-01-06 00:01:33] error: z2m: Failed to start zigbee-herdsman
[2026-01-06 00:01:33] error: z2m: Check https://www.zigbee2mqtt.io/guide/installation/20_zigbee2mqtt-fails-to-start_crashes-runtime.html for possible solutions
[2026-01-06 00:01:33] error: z2m: Exiting...
[2026-01-06 00:01:33] error: z2m: Error: startup failed - configuration-adapter mismatch - see logs above for more information
at ZnpAdapterManager.determineStrategy (/app/node_modules/.pnpm/[email protected]/node_modules/zigbee-herdsman/src/adapter/z-stack/adapter/manager.ts:248:23)
at ZnpAdapterManager.start (/app/node_modules/.pnpm/[email protected]/node_modules/zigbee-herdsman/src/adapter/z-stack/adapter/manager.ts:61:26)
at ZStackAdapter.start (/app/node_modules/.pnpm/[email protected]/node_modules/zigbee-herdsman/src/adapter/z-stack/adapter/zStackAdapter.ts:147:16)
at Controller.start (/app/node_modules/.pnpm/[email protected]/node_modules/zigbee-herdsman/src/controller/controller.ts:143:29)
at Zigbee.start (/app/lib/zigbee.ts:70:27)
at Controller.start (/app/lib/controller.ts:101:13)
at start (/app/index.js:149:5)
Notes
My key in the configuration.yaml
mqtt:
base_topic: zigbee2mqtt
server: mqtt://mosquitto
serial:
port: /dev/ttyUSB0
frontend:
enabled: true
port: 8080
advanced:
network_key:
- 196
- 187
- 19
- 217
- 102
- 210
- 79
- 45
- 175
- 144
- 253
- 100
- 182
- 232
- 219
- 241
log_level: warningI tried the one suggested in the preconfigured:
advanced:
network_key:
- 173
- 147
- 219
- 253
- 23
- 197
- 21
- 112
- 77
- 9
- 166
- 144
- 242
- 195
- 252
- 1but it didn't work either