Zigbee2mqtt - Error while starting zigbee-herdsman

Hello

I have a problem, today zigbee2mqtt stopped working,
the following message appears:


Zigbee2MQTT:error 2023-10-01 21:31:34: Error while starting zigbee-herdsman
Zigbee2MQTT:error 2023-10-01 21:31:34: Failed to start zigbee
Zigbee2MQTT:error 2023-10-01 21:31:34: Check https://www.zigbee2mqtt.io/guide/installation/20_zigbee2mqtt-fails-to-start.html for possible solutions
Zigbee2MQTT:error 2023-10-01 21:31:34: Exiting...
Zigbee2MQTT:error 2023-10-01 21:31:35: Error: target adapter aps link key data table size insufficient (size=3)
    at AdapterBackup.restoreBackup (/app/node_modules/zigbee-herdsman/src/adapter/z-stack/adapter/adapter-backup.ts:328:31)
    at runMicrotasks (<anonymous>)
    at processTicksAndRejections (node:internal/process/task_queues:96:5)
    at ZnpAdapterManager.beginRestore (/app/node_modules/zigbee-herdsman/src/adapter/z-stack/adapter/manager.ts:299:9)
    at ZnpAdapterManager.start (/app/node_modules/zigbee-herdsman/src/adapter/z-stack/adapter/manager.ts:80:17)
    at Controller.start (/app/node_modules/zigbee-herdsman/src/controller/controller.ts:132:29)
    at Zigbee.start (/app/lib/zigbee.ts:60:27)
    at Controller.start (/app/lib/controller.ts:101:27)
    at start (/app/index.js:107:5)

I have SLZB-06 via IP.
Below is my config:


data_path: /config/zigbee2mqtt
socat:
  enabled: false
  master: pty,raw,echo=0,link=/tmp/ttyZ2M,mode=777
  slave: tcp-listen:8485,keepalive,nodelay,reuseaddr,keepidle=1,keepintvl=1,keepcnt=5
  options: "-d -d"
  log: false
mqtt:
  base_topic: zigbee2mqtt_lan
serial:
  port: tcp://192.168.91.204:6638
  baudrate: 115200

Can anyone help?

Did you restart your SLZB-06 ?

Yes, I restarted several times and nothing works.

The only thing I can think of is to reflash the firmware

OK, I’ll try it tonight

unfortunately it didn’t help,

Same problem, reflashing didn’t help.

I have the exact same issue now with the SLZB-06. Anyone get this resolved?

Dear future Googler,

The fix for me was to delete (or rename, if you are paranoid) the /config/zigbee2mqtt/coordinator_backup.json file, and restart zigbee2mqtt

1 Like

I have the same issue with a brand new sonoff adapter, and also with a different one, which I don’t know the brand exactly. Does anybody have some ideas to troubleshoot?

Starting Zigbee2MQTT without watchdog.
[2024-12-23 19:53:11] info: 	z2m: Logging to console, file (filename: log.log)
[2024-12-23 19:53:11] info: 	z2m: Starting Zigbee2MQTT version 1.42.0 (commit #unknown)
[2024-12-23 19:53:11] info: 	z2m: Starting zigbee-herdsman (2.1.9)
[2024-12-23 19:53:12] info: 	zh:zstack:znp: Opening SerialPort with {"path":"/dev/serial/by-id/usb-Itead_Sonoff_Zigbee_3.0_USB_Dongle_Plus_V2_3a4dc6638839ef11b3975df454516304-if00-port0","baudRate":115200,"rtscts":false,"autoOpen":false}
[2024-12-23 19:53:12] info: 	zh:zstack:znp: Serialport opened
[2024-12-23 19:53:12] info: 	zh:zstack:znp: Writing CC2530/CC2531 skip bootloader payload
[2024-12-23 19:53:13] info: 	zh:zstack:znp: Skip bootloader for CC2652/CC1352
[2024-12-23 19:53:32] error: 	z2m: Error while starting zigbee-herdsman
[2024-12-23 19:53:32] error: 	z2m: Failed to start zigbee
[2024-12-23 19:53:32] error: 	z2m: Check https://www.zigbee2mqtt.io/guide/installation/20_zigbee2mqtt-fails-to-start.html for possible solutions
[2024-12-23 19:53:32] error: 	z2m: Exiting...
[2024-12-23 19:53:32] error: 	z2m: Error: Failed to connect to the adapter (Error: SRSP - SYS - ping after 6000ms)

Same issue. Any fix?

I had the same issue when trying to install my Sonoff coordinator. I had to go into ZHA configuration and disable ZHA and Z2M started working correctly.