zigbee2mqtt / hassio-zigbee2mqtt

Official Zigbee2MQTT Home Assistant add-on
https://www.zigbee2mqtt.io
Apache License 2.0
1.21k stars 439 forks source link

Watchdog didn't recover crashed zigbee2mqtt #545

Closed midlan closed 8 months ago

midlan commented 1 year ago

Description of the issue

I diconnected and connected back ethernet cable from my zigbee gateway SLZB-06 and zigbee2mqtt module is down and won't start automatically when watchdog is enabled.

Logs attached

Addon version

1.34.0-1

Platform

Home Assistant OS

Core 2023.11.2 Supervisor 2023.11.6 Operating System 11.1 Frontend 20231030.2

Logs of the issue (if applicable)

[10:59:43] INFO: Preparing to start...
[10:59:43] INFO: Socat not enabled
[10:59:43] INFO: Zigbee Herdsman debug logging enabled
[10:59:43] INFO: Starting Zigbee2MQTT...
Zigbee2MQTT:debug 2023-12-10 10:59:45: Loaded state from file /config/zigbee2mqtt/state.json
Zigbee2MQTT:info  2023-12-10 10:59:45: Logging to console and directory: '/config/zigbee2mqtt/log/2023-12-10.10-59-45' filename: log.txt
Zigbee2MQTT:debug 2023-12-10 10:59:45: Removing old log directory '/config/zigbee2mqtt/log/2023-12-01.17-35-00'
Zigbee2MQTT:info  2023-12-10 10:59:45: Starting Zigbee2MQTT version 1.34.0 (commit #unknown)
Zigbee2MQTT:info  2023-12-10 10:59:45: Starting zigbee-herdsman (0.25.0)
Zigbee2MQTT:debug 2023-12-10 10:59:45: Using zigbee-herdsman with settings: '{"adapter":{"concurrent":null,"delay":null,"disableLED":false},"backupPath":"/config/zigbee2mqtt/coordinator_backup.json","databaseBackupPath":"/config/zigbee2mqtt/database.db.backup","databasePath":"/config/zigbee2mqtt/database.db","network":{"channelList":[11],"extendedPanID":[221,221,221,221,221,221,221,221],"networkKey":"HIDDEN","panID":6754},"serialPort":{"baudRate":115200,"path":"tcp://192.168.0.9:6638"}}'
2023-12-10T09:59:46.101Z zigbee-herdsman:adapter Failed to validate path: 'Error: spawn udevadm ENOENT'
2023-12-10T09:59:46.103Z zigbee-herdsman:controller:log Starting with options '{"network":{"networkKeyDistribute":false,"networkKey":[1,3,5,7,9,11,13,15,0,2,4,6,8,10,12,13],"panID":6754,"extendedPanID":[221,221,221,221,221,221,221,221],"channelList":[11]},"serialPort":{"baudRate":115200,"path":"tcp://192.168.0.9:6638"},"databasePath":"/config/zigbee2mqtt/database.db","databaseBackupPath":"/config/zigbee2mqtt/database.db.backup","backupPath":"/config/zigbee2mqtt/coordinator_backup.json","adapter":{"disableLED":false,"concurrent":null,"delay":null}}'
2023-12-10T09:59:46.103Z zigbee-herdsman:adapter:zStack:znp:log Opening TCP socket with 192.168.0.9:6638
2023-12-10T09:59:49.222Z zigbee-herdsman:adapter:zStack:znp:log Socket error
Zigbee2MQTT:error 2023-12-10 10:59:49: Error while starting zigbee-herdsman
Zigbee2MQTT:error 2023-12-10 10:59:49: Failed to start zigbee
Zigbee2MQTT:error 2023-12-10 10:59:49: Check https://www.zigbee2mqtt.io/guide/installation/20_zigbee2mqtt-fails-to-start.html for possible solutions
Zigbee2MQTT:error 2023-12-10 10:59:49: Exiting...
Zigbee2MQTT:error 2023-12-10 10:59:49: Error: Error while opening socket
    at Socket.<anonymous> (/app/node_modules/zigbee-herdsman/src/adapter/z-stack/znp/znp.ts:198:24)
    at Socket.emit (node:events:525:35)
    at emitErrorNT (node:internal/streams/destroy:157:8)
    at emitErrorCloseNT (node:internal/streams/destroy:122:3)
    at processTicksAndRejections (node:internal/process/task_queues:83:21)
2023-12-10T09:59:49.257Z zigbee-herdsman:adapter:zStack:znp:log Port closed
github-actions[bot] commented 11 months ago

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

midlan commented 11 months ago

not stale

github-actions[bot] commented 10 months ago

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

midlan commented 10 months ago

not stale

github-actions[bot] commented 9 months ago

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