Zigbee2mqtt startup issue (USB dongle CC2531)

Hi all, when starting up zigbee2mqtt I’m facing the following issue:

Zigbee2MQTT:debug 2021-01-16 00:06:36: Can’t load state from file /share/zigbee2mqtt/state.json (doesn’t exist)
Zigbee2MQTT:info 2021-01-16 00:06:36: Logging to console and directory: ‘/share/zigbee2mqtt/log/2021-01-16.00-06-33’ filename: log.txt
Zigbee2MQTT:debug 2021-01-16 00:06:36: Removing old log directory ‘/share/zigbee2mqtt/log/2021-01-16.00-03-16’
Zigbee2MQTT:info 2021-01-16 00:06:36: Starting Zigbee2MQTT version 1.17.0-dev (commit #f356be8)
Zigbee2MQTT:info 2021-01-16 00:06:36: Starting zigbee-herdsman (0.13.49)
Zigbee2MQTT:debug 2021-01-16 00:06:36: Using zigbee-herdsman with settings: ‘{“adapter”:{“concurrent”:null,“delay”:null},“backupPath”:“/share/zigbee2mqtt/coordinator_backup.json”,“databaseBackupPath”:“/share/zigbee2mqtt/database.db.backup”,“databasePath”:“/share/zigbee2mqtt/database.db”,“network”:{“channelList”:[11],“extendedPanID”:[221,221,221,221,221,221,221,221],“networkKey”:“HIDDEN”,“panID”:6754},“serialPort”:{“path”:“/dev/ttyACM0”}}’
Zigbee2MQTT:error 2021-01-16 00:06:47: Error while starting zigbee-herdsman
Zigbee2MQTT:error 2021-01-16 00:06:47: Failed to start zigbee
Zigbee2MQTT:error 2021-01-16 00:06:47: Exiting…
Zigbee2MQTT:error 2021-01-16 00:06:47: Error: SREQ ‘–> SYS - osalNvWrite - {“id”:143,“len”:1,“offset”:0,“value”:{“type”:“Buffer”,“data”:[1]}}’ failed with status ‘(0x02: INVALID_PARAM)’ (expected ‘(0x00: SUCCESS)’)
at Znp. (/app/node_modules/zigbee-herdsman/dist/adapter/z-stack/znp/znp.js:291:27)
at Generator.next ()
at fulfilled (/app/node_modules/zigbee-herdsman/dist/adapter/z-stack/znp/znp.js:24:58)
npm
ERR! code ELIFECYCLE
npm ERR! errno 1
npm
ERR! [email protected] start: node index.js
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] start script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! /root/.npm/_logs/2021-01-15T23_06_47_240Z-debug.log
2021-01-16T00:06:47: PM2 log: App [npm:0] exited with code [1] via signal [SIGINT]
2021-01-16T00:06:47: PM2 log: App [npm:0] starting in -fork mode-
2021-01-16T00:06:47: PM2 log: App [npm:0] online

[email protected] start /app
node index.js

do you have an idea to solve the problem?

thank you in advance
BR,
Michele

Same issue in my install

1 Like

The same thing happens to me, before I had no problems, but it has been to put a hd SSD and change the HASSIO installation from 32 to 64bits, and since then I have had the error.

Could it be because of the version issue? 64bits?

Is there a specific Z-Stack firmware for the CC2531 for 64bit?

Thx