Hey all, Bit of a weird one after flashing zigbee firmware following this guide. The firmware flashed zigbee2mqtt runs fine for couple days or until I reboot home assistant. I’ll find zigbee2mqtt either randomly stopped (watchdog won’t enable since flashing firmware) or stopped on reboot and will not start manually. Each time it’s fails to start again and keeps asking to restart. I’ve to flash the zigbee2mqtt firmware again or it’ll not startup. The watchdog is also always turned off and I can’t enable it. Any help fixing this is welcome. Thanks.
[2024-07-15 23:34:41] info: z2m: Logging to console, file (filename: log.log)
[2024-07-15 23:34:41] debug: z2m: Loaded state from file /config/zigbee2mqtt/state.json
[2024-07-15 23:34:41] info: z2m: Starting Zigbee2MQTT version 1.39.0 (commit #unknown)
[2024-07-15 23:34:41] info: z2m: Starting zigbee-herdsman (0.50.1)
[2024-07-15 23:34:41] debug: z2m: Using zigbee-herdsman with settings: '"{\"network\":{\"panID\":6754,\"extendedPanID\":[221,221,221,221,221,221,221,221],\"channelList\":[15],\"networkKey\":\"HIDDEN\"},\"databasePath\":\"/config/zigbee2mqtt/database.db\",\"databaseBackupPath\":\"/config/zigbee2mqtt/database.db.backup\",\"backupPath\":\"/config/zigbee2mqtt/coordinator_backup.json\",\"serialPort\":{\"rtscts\":false,\"path\":\"/dev/ttyAMA1\",\"adapter\":\"ezsp\"},\"adapter\":{\"concurrent\":null,\"delay\":null,\"disableLED\":false}}"'
[2024-07-15 23:34:42] debug: zh:adapter: Failed to validate path: 'Error: spawn udevadm ENOENT'
[2024-07-15 23:34:42] debug: zh:ezsp: Adapter concurrent: 8
[2024-07-15 23:34:42] debug: zh:controller: Starting with options '{"network":{"networkKeyDistribute":false,"networkKey":"HIDDEN","panID":6754,"extendedPanID":[221,221,221,221,221,221,221,221],"channelList":[15]},"serialPort":{"rtscts":false,"path":"/dev/ttyAMA1","adapter":"ezsp"},"databasePath":"/config/zigbee2mqtt/database.db","databaseBackupPath":"/config/zigbee2mqtt/database.db.backup","backupPath":"/config/zigbee2mqtt/coordinator_backup.json","adapter":{"disableLED":false,"concurrent":null,"delay":null}}'
[2024-07-15 23:34:42] warning: zh:ezsp: Deprecated driver 'ezsp' currently in use, 'ember' will become the officially supported EmberZNet driver in next release. If using Zigbee2MQTT see https://github.com/Koenkk/zigbee2mqtt/discussions/21462
[2024-07-15 23:34:42] debug: zh:ezsp:uart: RTS/CTS config is off, enabling software flow control.
[2024-07-15 23:34:42] debug: zh:ezsp:uart: Opening SerialPort with {"path":"/dev/ttyAMA1","baudRate":115200,"rtscts":false,"autoOpen":false,"parity":"none","stopBits":1,"xon":true,"xoff":true}
[2024-07-15 23:34:42] error: zh:ezsp:ezsp: Connection attempt 1 error: Error: Error Resource temporarily unavailable Cannot lock port
[2024-07-15 23:34:47] debug: zh:ezsp:ezsp: Next attempt 2
[2024-07-15 23:34:47] debug: zh:ezsp:uart: RTS/CTS config is off, enabling software flow control.
[2024-07-15 23:34:47] debug: zh:ezsp:uart: Opening SerialPort with {"path":"/dev/ttyAMA1","baudRate":115200,"rtscts":false,"autoOpen":false,"parity":"none","stopBits":1,"xon":true,"xoff":true}
[2024-07-15 23:34:47] error: zh:ezsp:ezsp: Connection attempt 2 error: Error: Error Resource temporarily unavailable Cannot lock port
[2024-07-15 23:34:57] debug: zh:ezsp:ezsp: Next attempt 3
[2024-07-15 23:34:57] debug: zh:ezsp:uart: RTS/CTS config is off, enabling software flow control.
[2024-07-15 23:34:58] debug: zh:ezsp:uart: Opening SerialPort with {"path":"/dev/ttyAMA1","baudRate":115200,"rtscts":false,"autoOpen":false,"parity":"none","stopBits":1,"xon":true,"xoff":true}
[2024-07-15 23:34:58] error: zh:ezsp:ezsp: Connection attempt 3 error: Error: Error Resource temporarily unavailable Cannot lock port
[2024-07-15 23:35:13] debug: zh:ezsp:ezsp: Next attempt 4
[2024-07-15 23:35:13] debug: zh:ezsp:uart: RTS/CTS config is off, enabling software flow control.
[2024-07-15 23:35:13] debug: zh:ezsp:uart: Opening SerialPort with {"path":"/dev/ttyAMA1","baudRate":115200,"rtscts":false,"autoOpen":false,"parity":"none","stopBits":1,"xon":true,"xoff":true}
[2024-07-15 23:35:13] error: zh:ezsp:ezsp: Connection attempt 4 error: Error: Error Resource temporarily unavailable Cannot lock port
[2024-07-15 23:35:13] debug: zh:ezsp:driv: EZSP could not connect: Error: Error Resource temporarily unavailable Cannot lock port
[2024-07-15 23:35:13] error: z2m: Error while starting zigbee-herdsman
[2024-07-15 23:35:13] error: z2m: Failed to start zigbee
[2024-07-15 23:35:13] error: z2m: Check https://www.zigbee2mqtt.io/guide/installation/20_zigbee2mqtt-fails-to-start.html for possible solutions
[2024-07-15 23:35:13] error: z2m: Exiting...
[2024-07-15 23:35:13] error: z2m: Error: Failure to connect
at Ezsp.connect (/app/node_modules/zigbee-herdsman/src/adapter/ezsp/driver/ezsp.ts:370:19)
at Driver.startup (/app/node_modules/zigbee-herdsman/src/adapter/ezsp/driver/driver.ts:164:13)
at Controller.start (/app/node_modules/zigbee-herdsman/src/controller/controller.ts:129:29)
at Zigbee.start (/app/lib/zigbee.ts:63:27)
at Controller.start (/app/lib/controller.ts:139:27)
at start (/app/index.js:154:5)