zigbee2mqtt icon indicating copy to clipboard operation
zigbee2mqtt copied to clipboard

v2.6.1 crashing because [email protected] cannot init with slzb-06

Open tierrie opened this issue 4 months ago • 3 comments

What happened?

I updated my docker image from 2.5.1 to latest (2.6.1). In v2.6.1, the container would restart after failing to properly initialize zigbee-herdsman.

zigbee-herdsman appears to be failing to read the adapter's NV memory

2.5.1 is running zigbee-herdsman 4.3.1 2.6.1 is running zigbee-herdsman 6.0.4

What did you expect to happen?

I expect the docker image to start.

How to reproduce it (minimal and precise)

Using a stable instance of 2.5.1 and SLZB in Zigbee Coordinator mode, update the docker image to 2.6.1.

Zigbee2MQTT version

2.6.1

Adapter firmware version

20240710

Adapter

SLZB-06

Setup

Zigbee2MQTT is run as a docker image within a docker compose stack managed by Portainer. The docker compose stack is hosted on Ubuntu LTS 24.01 and later, LTS 24.04.3. The other containers in this compose include mosquitto, home assistant, esphome and nginx. The Zigbee2MQTT container does not have the 8088 port mapped externally, and is only accessible within the compose stack virtual network by other containers in that same stack.

Device database.db entry

No response

Debug log

Snippet of one log:

at AdapterNvMemory.readExtendedTableEntry (/app/node_modules/.pnpm/[email protected]/node_modules/zigbee-herdsman/src/adapter/z-stack/adapter/adapter-nv-memory.ts:219:30) at AdapterNvMemory.readTable (/app/node_modules/.pnpm/[email protected]/node_modules/zigbee-herdsman/src/adapter/z-stack/adapter/adapter-nv-memory.ts:365:28) at AdapterBackup.getAddressManagerTable (/app/node_modules/.pnpm/[email protected]/node_modules/zigbee-herdsman/src/adapter/z-stack/adapter/adapter-backup.ts:459:20) at AdapterBackup.restoreBackup (/app/node_modules/.pnpm/[email protected]/node_modules/zigbee-herdsman/src/adapter/z-stack/adapter/adapter-backup.ts:284:44) at ZnpAdapterManager.beginRestore (/app/node_modules/.pnpm/[email protected]/node_modules/zigbee-herdsman/src/adapter/z-stack/adapter/manager.ts:316:9) at ZnpAdapterManager.start (/app/node_modules/.pnpm/[email protected]/node_modules/zigbee-herdsman/src/adapter/z-stack/adapter/manager.ts:78:21) at ZStackAdapter.start (/app/node_modules/.pnpm/[email protected]/node_modules/zigbee-herdsman/src/adapter/z-stack/adapter/zStackAdapter.ts:154:16) at Controller.start (/app/node_modules/.pnpm/[email protected]/node_modules/zigbee-herdsman/src/controller/controller.ts:133:29) at Zigbee.start (/app/lib/zigbee.ts:67:27) at Controller.start (/app/lib/controller.ts:101:13) Using '/app/data' as data directory

Snippet of another: at AdapterBackup.restoreBackup (/app/node_modules/.pnpm/[email protected]/node_modules/zigbee-herdsman/src/adapter/z-stack/adapter/adapter-backup.ts:284:44) at ZnpAdapterManager.beginRestore (/app/node_modules/.pnpm/[email protected]/node_modules/zigbee-herdsman/src/adapter/z-stack/adapter/manager.ts:316:9) at ZnpAdapterManager.start (/app/node_modules/.pnpm/[email protected]/node_modules/zigbee-herdsman/src/adapter/z-stack/adapter/manager.ts:78:21) at ZStackAdapter.start (/app/node_modules/.pnpm/[email protected]/node_modules/zigbee-herdsman/src/adapter/z-stack/adapter/zStackAdapter.ts:154:16) at Controller.start (/app/node_modules/.pnpm/[email protected]/node_modules/zigbee-herdsman/src/controller/controller.ts:133:29) at Zigbee.start (/app/lib/zigbee.ts:67:27) at Controller.start (/app/lib/controller.ts:101:13) Using '/app/data' as data directory Starting Zigbee2MQTT without watchdog. [2025-09-07 17:10:03] info: z2m: Logging to console, file (filename: log.log) [2025-09-07 17:10:03] info: z2m: Starting Zigbee2MQTT version 2.6.1 (commit #e9889e5d20e8911550d5231bc0349567cc2bb9ce ) [2025-09-07 17:10:03] info: z2m: Starting zigbee-herdsman (6.0.4) [2025-09-07 17:10:03] info: zh:zstack:znp: Opening TCP socket with slzb-06.garden.code-poets.org:6638 [2025-09-07 17:10:03] info: zh:zstack:znp: Socket connected [2025-09-07 17:10:03] info: zh:zstack:znp: Socket ready [2025-09-07 17:10:03] info: zh:zstack:znp: Writing CC2530/CC2531 skip bootloader payload [2025-09-07 17:10:04] info: zh:zstack:znp: Skip bootloader for CC2652/CC1352

This repeats every minutes.

tierrie avatar Sep 08 '25 00:09 tierrie

I am also running v2.6.1 on a dedicated device, Dell SFF PC pure HAOS My ZigBee coordinator is a slzb-06, connected in the same vlan as HA, PoE powered

twice the Zigbee2MQTT has reported it is not running in a week.

I use the Better Thermostat integration and it reports it cannot see the Temp stats. Click Zigbee2MQTT and it asks if I would like to start it. Its starts and runs fine after that, until the next time.

My automations also stop as expected!

paulhew69 avatar Sep 11 '25 11:09 paulhew69

Please see this issue where some possible fixes are being discussed: https://github.com/Koenkk/zigbee2mqtt/issues/29116

DerDreschner avatar Nov 02 '25 17:11 DerDreschner

This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 7 days

github-actions[bot] avatar Jan 02 '26 00:01 github-actions[bot]