[s6-init] making user provided files available at /var/run/s6/etc...exited 0.
[s6-init] ensuring user provided files have correct perms...exited 0.
[fix-attrs.d] applying ownership & permissions fixes...
[fix-attrs.d] done.
[cont-init.d] executing container initialization scripts...
[cont-init.d] socat.sh: executing...
[09:39:54] INFO: Socat not enabled, marking service as down
[cont-init.d] socat.sh: exited 0.
[cont-init.d] zigbee2mqtt.sh: executing...
[09:39:56] INFO: MQTT available, fetching server detail ...
[09:39:57] INFO: Previous config file found, checking backup
[09:39:57] INFO: Creating backup config in '/config/zigbee2mqtt/.configuration.yaml.bk'
[09:39:57] INFO: Adjusting Zigbee2mqtt core yaml config with add-on quirks ...
[cont-init.d] zigbee2mqtt.sh: exited 0.
[cont-init.d] done.
[services.d] starting services
[services.d] done.
[09:40:00] INFO: Handing over control to Zigbee2mqtt Core ...
> [email protected] start /app
> node index.js
Zigbee2MQTT:error 2021-06-16 09:40:50: Error while starting zigbee-herdsman
Zigbee2MQTT:error 2021-06-16 09:40:50: Failed to start zigbee
Zigbee2MQTT:error 2021-06-16 09:40:50: Check https://www.zigbee2mqtt.io/information/FAQ.html#help-zigbee2mqtt-fails-to-start for possible solutions
Zigbee2MQTT:error 2021-06-16 09:40:50: Exiting...
Zigbee2MQTT:error 2021-06-16 09:40:50: Error: Failed to connect to the adapter (Error: SRSP - SYS - ping after 6000ms)
at ZStackAdapter.<anonymous> (/app/node_modules/zigbee-herdsman/dist/adapter/z-stack/adapter/zStackAdapter.js:93:31)
at Generator.throw (<anonymous>)
at rejected (/app/node_modules/zigbee-herdsman/dist/adapter/z-stack/adapter/zStackAdapter.js:25:65)
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-06-16T05_41_25_962Z-debug.log
[09:41:26] INFO: Handing over control to Zigbee2mqtt Core ...
And when I try to open ZigBee2MQTT we interface I get 502: Bad Gateway
What am I doing wrong? I saw many people had similar issues in the past, but I could not really find a “unique solution”…
thank you for pointing this out… tried, but still same errors
[s6-init] making user provided files available at /var/run/s6/etc...exited 0.
[s6-init] ensuring user provided files have correct perms...exited 0.
[fix-attrs.d] applying ownership & permissions fixes...
[fix-attrs.d] done.
[cont-init.d] executing container initialization scripts...
[cont-init.d] socat.sh: executing...
[10:31:12] INFO: Socat not enabled, marking service as down
[cont-init.d] socat.sh: exited 0.
[cont-init.d] zigbee2mqtt.sh: executing...
[10:31:14] INFO: MQTT available, fetching server detail ...
[10:31:15] INFO: Previous config file found, checking backup
[10:31:15] INFO: Creating backup config in '/config/zigbee2mqtt/.configuration.yaml.bk'
[10:31:16] INFO: Adjusting Zigbee2mqtt core yaml config with add-on quirks ...
[cont-init.d] zigbee2mqtt.sh: exited 0.
[cont-init.d] done.
[services.d] starting services
[services.d] done.
[10:31:18] INFO: Handing over control to Zigbee2mqtt Core ...
> [email protected] start /app
> node index.js
Zigbee2MQTT:error 2021-06-16 10:32:35: Error while starting zigbee-herdsman
Zigbee2MQTT:error 2021-06-16 10:32:35: Failed to start zigbee
Zigbee2MQTT:error 2021-06-16 10:32:35: Check https://www.zigbee2mqtt.io/information/FAQ.html#help-zigbee2mqtt-fails-to-start for possible solutions
Zigbee2MQTT:error 2021-06-16 10:32:35: Exiting...
Zigbee2MQTT:error 2021-06-16 10:32:35: Error: network commissioning timed out - most likely network with the same panId or extendedPanId already exists nearby
at ZnpAdapterManager.<anonymous> (/app/node_modules/zigbee-herdsman/dist/adapter/z-stack/adapter/manager.js:315:27)
at Generator.throw (<anonymous>)
at rejected (/app/node_modules/zigbee-herdsman/dist/adapter/z-stack/adapter/manager.js:25:65)
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-06-16T06_32_35_619Z-debug.log
[10:32:36] INFO: Handing over control to Zigbee2mqtt Core ...
Zigbee2MQTT:error 2021-06-16 10:32:35: Error: network commissioning timed out - most likely network with the same panId or extendedPanId already exists nearby
Change your pan_id. It is still using the same one from CC2531. Try adding another digit from the existing one.
I added a digit to the old pan_id (it was 6754 and now I have set it to 6755) but the log got “worst”
should I just remove the add-on and restart form scratch?
[services.d] starting services
[services.d] done.
[10:59:28] INFO: Handing over control to Zigbee2mqtt Core ...
> [email protected] start /app
> node index.js
Zigbee2MQTT:error 2021-06-16 10:59:39: Configuration is not consistent with adapter state/backup!
Zigbee2MQTT:error 2021-06-16 10:59:39: - PAN ID: configured=6755, adapter=6754
Zigbee2MQTT:error 2021-06-16 10:59:39: - Extended PAN ID: configured=00124b0022a51dee, adapter=00124b0022a51dee
Zigbee2MQTT:error 2021-06-16 10:59:39: - Network Key: configured=01030507090b0d0f00020406080a0c0d, adapter=01030507090b0d0f00020406080a0c0d
Zigbee2MQTT:error 2021-06-16 10:59:39: - Channel List: configured=11, adapter=11
Zigbee2MQTT:error 2021-06-16 10:59:39: Please update configuration to prevent further issues.
Zigbee2MQTT:error 2021-06-16 10:59:39: If you wish to re-commission your network, please remove coordinator backup at /config/zigbee2mqtt/coordinator_backup.json.
Zigbee2MQTT:error 2021-06-16 10:59:39: Re-commissioning your network will require re-pairing of all devices!
Zigbee2MQTT:error 2021-06-16 10:59:39: Error while starting zigbee-herdsman
Zigbee2MQTT:error 2021-06-16 10:59:39: Failed to start zigbee
Zigbee2MQTT:error 2021-06-16 10:59:39: Check https://www.zigbee2mqtt.io/information/FAQ.html#help-zigbee2mqtt-fails-to-start for possible solutions
Zigbee2MQTT:error 2021-06-16 10:59:39: Exiting...
Zigbee2MQTT:error 2021-06-16 10:59:39: Error: startup failed - configuration-adapter mismatch - see logs above for more information
at ZnpAdapterManager.<anonymous> (/app/node_modules/zigbee-herdsman/dist/adapter/z-stack/adapter/manager.js:201:35)
at Generator.next (<anonymous>)
at fulfilled (/app/node_modules/zigbee-herdsman/dist/adapter/z-stack/adapter/manager.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-06-16T06_59_39_584Z-debug.log
did that, and while it worked for like 30 minutes, then all back to where I start:
[15:08:40] INFO: Handing over control to Zigbee2mqtt Core ...
> [email protected] start /app
> node index.js
Zigbee2MQTT:error 2021-06-16 15:09:09: Error while starting zigbee-herdsman
Zigbee2MQTT:error 2021-06-16 15:09:09: Failed to start zigbee
Zigbee2MQTT:error 2021-06-16 15:09:09: Check https://www.zigbee2mqtt.io/information/FAQ.html#help-zigbee2mqtt-fails-to-start for possible solutions
Zigbee2MQTT:error 2021-06-16 15:09:09: Exiting...
Zigbee2MQTT:error 2021-06-16 15:09:09: Error: Failed to connect to the adapter (Error: SRSP - SYS - ping after 6000ms)
at ZStackAdapter.<anonymous> (/app/node_modules/zigbee-herdsman/dist/adapter/z-stack/adapter/zStackAdapter.js:93:31)
at Generator.throw (<anonymous>)
at rejected (/app/node_modules/zigbee-herdsman/dist/adapter/z-stack/adapter/zStackAdapter.js:25:65)
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-06-16T11_09_09_517Z-debug.log
[15:09:10] INFO: Handing over control to Zigbee2mqtt Core ...
> [email protected] start /app
> node index.js
I have configured duckDNS , but I don’t think that this could make any interference… no?
I have a similar issue.
Have been using this for months without issues.
Yesterday out of the blue my lights where no longer available.
I use the CC2531 stick.
Config from HA or Zigbee2MQTT had not been changed.
I had the same issue. The solution for me was login into the raspberry through ssh and find the zigbee2mqtt config. For me it was here: /config/zigbee2mqtt/configuration.yaml
I added the mentioned lines:
advanced:
pan_id: 6755
, and save the config file. I did not restart the addon, just wait for the next cycle when it tries to connect to the usb device, and woala, it worked.
Note: I tried the add theese lines on the addons page before, but that didn’t work form me.