I managed to install z2m but I can’t access the frontend. Looking at the logs the error is with mqtt. I am running mqtt as a HA add on.
Can you figure out what the problem is from these logs:
[2024-05-13 01:13:15] info: zh:zstack:znp: closing
[2024-05-13 01:13:15] info: zh:zstack:znp: Port closed
[2024-05-13 01:13:15] info: z2m: Stopped zigbee-herdsman
Using ‘/app/data’ as data directory
[2024-05-13 01:14:17] info: z2m: Logging to console, file (filename: log.log)
[2024-05-13 01:14:17] info: z2m: Starting Zigbee2MQTT version 1.37.1 (commit #ea39d86)
[2024-05-13 01:14:17] info: z2m: Starting zigbee-herdsman (0.46.6)
[2024-05-13 01:14:17] info: zh:zstack:znp: Opening SerialPort with {“path”:“/dev/ttyACM0”,“baudRate”:115200,“rtscts”:false,“autoOpen”:false}
[2024-05-13 01:14:17] info: zh:zstack:znp: Serialport opened
[2024-05-13 01:14:18] info: z2m: zigbee-herdsman started (resumed)
[2024-05-13 01:14:18] info: z2m: Coordinator firmware version: ‘{“meta”:{“maintrel”:1,“majorrel”:2,“minorrel”:7,“product”:1,“revision”:20210708,“transportrev”:2},“type”:“zStack3x0”}’
[2024-05-13 01:14:18] info: z2m: Currently 0 devices are joined:
[2024-05-13 01:14:18] info: z2m: Zigbee: disabling joining new devices.
[2024-05-13 01:14:18] info: z2m: Connecting to MQTT server at mqtt://localhost
[2024-05-13 01:14:18] error: z2m: MQTT error: connect ECONNREFUSED ::1:1883
[2024-05-13 01:14:18] error: z2m: MQTT failed to connect, exiting…
[2024-05-13 01:14:18] info: z2m: Stopping zigbee-herdsman…
[2024-05-13 01:14:19] error: z2m: MQTT error: connect ECONNREFUSED ::1:1883
[2024-05-13 01:14:20] error: z2m: MQTT error: connect ECONNREFUSED ::1:1883
[2024-05-13 01:14:21] error: z2m: MQTT error: connect ECONNREFUSED ::1:1883
[2024-05-13 01:14:22] error: z2m: MQTT error: connect ECONNREFUSED ::1:1883
[2024-05-13 01:14:23] error: z2m: MQTT error: connect ECONNREFUSED ::1:1883
[2024-05-13 01:14:24] error: z2m: MQTT error: connect ECONNREFUSED ::1:1883
[2024-05-13 01:14:25] info: zh:controller: Wrote coordinator backup to ‘/app/data/coordinator_backup.json’
[2024-05-13 01:14:25] info: zh:zstack:znp: closing
[2024-05-13 01:14:25] info: zh:zstack:znp: Port closed
[2024-05-13 01:14:25] info: z2m: Stopped zigbee-herdsman
Using ‘/app/data’ as data directory
[2024-05-13 01:15:26] info: z2m: Logging to console, file (filename: log.log)
[2024-05-13 01:15:26] info: z2m: Starting Zigbee2MQTT version 1.37.1 (commit #ea39d86)
[2024-05-13 01:15:26] info: z2m: Starting zigbee-herdsman (0.46.6)
[2024-05-13 01:15:27] info: zh:zstack:znp: Opening SerialPort with {“path”:“/dev/ttyACM0”,“baudRate”:115200,“rtscts”:false,“autoOpen”:false}
[2024-05-13 01:15:27] info: zh:zstack:znp: Serialport opened
[2024-05-13 01:15:27] info: z2m: zigbee-herdsman started (resumed)
[2024-05-13 01:15:27] info: z2m: Coordinator firmware version: ‘{“meta”:{“maintrel”:1,“majorrel”:2,“minorrel”:7,“product”:1,“revision”:20210708,“transportrev”:2},“type”:“zStack3x0”}’
[2024-05-13 01:15:27] info: z2m: Currently 0 devices are joined:
[2024-05-13 01:15:27] info: z2m: Zigbee: disabling joining new devices.
[2024-05-13 01:15:27] info: z2m: Connecting to MQTT server at mqtt://localhost
[2024-05-13 01:15:27] error: z2m: MQTT error: connect ECONNREFUSED ::1:1883
[2024-05-13 01:15:27] error: z2m: MQTT failed to connect, exiting…
[2024-05-13 01:15:27] info: z2m: Stopping zigbee-herdsman…
[2024-05-13 01:15:28] error: z2m: MQTT error: connect ECONNREFUSED ::1:1883
[2024-05-13 01:15:29] error: z2m: MQTT error: connect ECONNREFUSED ::1:1883
[2024-05-13 01:15:30] error: z2m: MQTT error: connect ECONNREFUSED ::1:1883
[2024-05-13 01:15:31] error: z2m: MQTT error: connect ECONNREFUSED ::1:1883
[2024-05-13 01:15:32] error: z2m: MQTT error: connect ECONNREFUSED ::1:1883
[2024-05-13 01:15:33] error: z2m: MQTT error: connect ECONNREFUSED ::1:1883
[2024-05-13 01:15:34] info: zh:controller: Wrote coordinator backup to ‘/app/data/coordinator_backup.json’
[2024-05-13 01:15:34] info: zh:zstack:znp: closing
[2024-05-13 01:15:34] info: zh:zstack:znp: Port closed
[2024-05-13 01:15:34] info: z2m: Stopped zigbee-herdsman
Using ‘/app/data’ as data directory
[2024-05-13 01:16:36] info: z2m: Logging to console, file (filename: log.log)
[2024-05-13 01:16:36] info: z2m: Starting Zigbee2MQTT version 1.37.1 (commit #ea39d86)
[2024-05-13 01:16:36] info: z2m: Starting zigbee-herdsman (0.46.6)
[2024-05-13 01:16:36] info: zh:zstack:znp: Opening SerialPort with {“path”:“/dev/ttyACM0”,“baudRate”:115200,“rtscts”:false,“autoOpen”:false}
[2024-05-13 01:16:36] info: zh:zstack:znp: Serialport opened
[2024-05-13 01:16:36] info: z2m: zigbee-herdsman started (resumed)
[2024-05-13 01:16:36] info: z2m: Coordinator firmware version: ‘{“meta”:{“maintrel”:1,“majorrel”:2,“minorrel”:7,“product”:1,“revision”:20210708,“transportrev”:2},“type”:“zStack3x0”}’
[2024-05-13 01:16:36] info: z2m: Currently 0 devices are joined:
[2024-05-13 01:16:36] info: z2m: Zigbee: disabling joining new devices.
[2024-05-13 01:16:37] info: z2m: Connecting to MQTT server at mqtt://localhost
[2024-05-13 01:16:37] error: z2m: MQTT error: connect ECONNREFUSED ::1:1883
[2024-05-13 01:16:37] error: z2m: MQTT failed to connect, exiting…
[2024-05-13 01:16:37] info: z2m: Stopping zigbee-herdsman…
[2024-05-13 01:16:38] error: z2m: MQTT error: connect ECONNREFUSED ::1:1883
[2024-05-13 01:16:39] error: z2m: MQTT error: connect ECONNREFUSED ::1:1883
[2024-05-13 01:16:40] error: z2m: MQTT error: connect ECONNREFUSED ::1:1883
[2024-05-13 01:16:41] error: z2m: MQTT error: connect ECONNREFUSED ::1:1883
[2024-05-13 01:16:42] error: z2m: MQTT error: connect ECONNREFUSED ::1:1883
[2024-05-13 01:16:43] error: z2m: MQTT error: connect ECONNREFUSED ::1:1883
[2024-05-13 01:16:43] info: zh:controller: Wrote coordinator backup to ‘/app/data/coordinator_backup.json’
[2024-05-13 01:16:43] info: zh:zstack:znp: closing
[2024-05-13 01:16:44] info: zh:zstack:znp: Port closed
[2024-05-13 01:16:44] info: z2m: Stopped zigbee-herdsman
Using ‘/app/data’ as data directory
[2024-05-13 01:17:45] info: z2m: Logging to console, file (filename: log.log)
[2024-05-13 01:17:45] info: z2m: Starting Zigbee2MQTT version 1.37.1 (commit #ea39d86)
[2024-05-13 01:17:45] info: z2m: Starting zigbee-herdsman (0.46.6)
[2024-05-13 01:17:46] info: zh:zstack:znp: Opening SerialPort with {“path”:“/dev/ttyACM0”,“baudRate”:115200,“rtscts”:false,“autoOpen”:false}
[2024-05-13 01:17:46] info: zh:zstack:znp: Serialport opened
[2024-05-13 01:17:46] info: z2m: zigbee-herdsman started (resumed)
[2024-05-13 01:17:46] info: z2m: Coordinator firmware version: ‘{“meta”:{“maintrel”:1,“majorrel”:2,“minorrel”:7,“product”:1,“revision”:20210708,“transportrev”:2},“type”:“zStack3x0”}’
[2024-05-13 01:17:46] info: z2m: Currently 0 devices are joined:
[2024-05-13 01:17:46] info: z2m: Zigbee: disabling joining new devices.
[2024-05-13 01:17:46] info: z2m: Connecting to MQTT server at mqtt://localhost
[2024-05-13 01:17:46] error: z2m: MQTT error: connect ECONNREFUSED ::1:1883
[2024-05-13 01:17:46] error: z2m: MQTT failed to connect, exiting…
[2024-05-13 01:17:46] info: z2m: Stopping zigbee-herdsman…
[2024-05-13 01:17:47] error: z2m: MQTT error: connect ECONNREFUSED ::1:1883
[2024-05-13 01:17:48] error: z2m: MQTT error: connect ECONNREFUSED ::1:1883
[2024-05-13 01:17:49] error: z2m: MQTT error: connect ECONNREFUSED ::1:1883
[2024-05-13 01:17:50] error: z2m: MQTT error: connect ECONNREFUSED ::1:1883
[2024-05-13 01:17:51] error: z2m: MQTT error: connect ECONNREFUSED ::1:1883
[2024-05-13 01:17:52] error: z2m: MQTT error: connect ECONNREFUSED ::1:1883
[2024-05-13 01:17:53] info: zh:controller: Wrote coordinator backup to ‘/app/data/coordinator_backup.json’
[2024-05-13 01:17:53] info: zh:zstack:znp: closing
[2024-05-13 01:17:53] info: zh:zstack:znp: Port closed
[2024-05-13 01:17:53] info: z2m: Stopped zigbee-herdsman
Using ‘/app/data’ as data directory