Zigbee2MQTT is not starting

Hi,

I’m New to HA and i have just brought up my HA server online yesterday.
I’m trying to get Zigbee2MQTT working but it just won’t start.
I have browsed around the forum for related problems but non can solve my issue.

This is the log I’m getting when I try to start my zigbee2mqtt

[01:07:34] INFO: Preparing to start...
[01:07:35] INFO: Socat not enabled
[01:07:36] INFO: Starting Zigbee2MQTT...
Zigbee2MQTT:info  2023-05-17 01:07:39: Logging to console and directory: '/config/zigbee2mqtt/log/2023-05-17.01-07-39' filename: log.txt
Zigbee2MQTT:info  2023-05-17 01:07:39: Starting Zigbee2MQTT version 1.30.4 (commit #unknown)
Zigbee2MQTT:info  2023-05-17 01:07:39: Starting zigbee-herdsman (0.14.111)
Zigbee2MQTT:error 2023-05-17 01:08:00: Error while starting zigbee-herdsman
Zigbee2MQTT:error 2023-05-17 01:08:00: Failed to start zigbee
Zigbee2MQTT:error 2023-05-17 01:08:00: Check https://www.zigbee2mqtt.io/guide/installation/20_zigbee2mqtt-fails-to-start.html for possible solutions
Zigbee2MQTT:error 2023-05-17 01:08:00: Exiting...
Zigbee2MQTT:error 2023-05-17 01:08:00: Error: Failed to connect to the adapter (Error: SRSP - SYS - ping after 6000ms)
    at ZStackAdapter.start (/app/node_modules/zigbee-herdsman/src/adapter/z-stack/adapter/zStackAdapter.ts:103:27)
    at Controller.start (/app/node_modules/zigbee-herdsman/src/controller/controller.ts:132:29)
    at Zigbee.start (/app/lib/zigbee.ts:58:27)
    at Controller.start (/app/lib/controller.ts:101:27)
    at start (/app/index.js:107:5)

Seems like is constantly failing when it tries to start zigbee-herdsman.

These are my config in zigbee2mqtt

data_path: /config/zigbee2mqtt
socat:
  enabled: false
  master: pty,raw,echo=0,link=/tmp/ttyZ2M,mode=777
  slave: tcp-listen:8485,keepalive,nodelay,reuseaddr,keepidle=1,keepintvl=1,keepcnt=5
  options: "-d -d"
  log: false
mqtt:
  base_topic: zigbee2mqtt
  user: mqtt_user
  password: mqttpass
  server: mqtt//core-mosquitto:1883
serial:
  port: >-
    /dev/serial/by-id/usb-Silicon_Labs_Sonoff_Zigbee_3.0_USB_Dongle_Plus_0001-if00-port0

I have tried both tyyUSB0 and also serial/by-id but both give the same result.

What have I missed here?

Can you do list this device on host?
Probably wrong coordinator device.
Try

/dev/ttyACM0

Hi ddaniel,
Thank you for your reply

The port is correct.
It was not starting due to ZHA being enabled.
The zigbee–herdsman is starting after I disable ZHA but now is having problem connecting to the mosquito server

[01:52:58] INFO: Preparing to start...
[01:52:58] INFO: Socat not enabled
[01:52:59] INFO: Starting Zigbee2MQTT...
Zigbee2MQTT:info  2023-05-17 01:53:02: Logging to console and directory: '/config/zigbee2mqtt/log/2023-05-17.01-53-02' filename: log.txt
Zigbee2MQTT:info  2023-05-17 01:53:02: Starting Zigbee2MQTT version 1.30.4 (commit #unknown)
Zigbee2MQTT:info  2023-05-17 01:53:02: Starting zigbee-herdsman (0.14.111)
Zigbee2MQTT:info  2023-05-17 01:53:03: zigbee-herdsman started (resumed)
Zigbee2MQTT:info  2023-05-17 01:53:03: Coordinator firmware version: '{"meta":{"maintrel":1,"majorrel":2,"minorrel":7,"product":1,"revision":20221226,"transportrev":2},"type":"zStack3x0"}'
Zigbee2MQTT:info  2023-05-17 01:53:03: Currently 0 devices are joined:
Zigbee2MQTT:info  2023-05-17 01:53:03: Zigbee: disabling joining new devices.
Zigbee2MQTT:info  2023-05-17 01:53:03: Connecting to MQTT server at mqtt//core-mosquitto:1883
Zigbee2MQTT:error 2023-05-17 01:53:03: MQTT failed to connect, exiting...
Zigbee2MQTT:info  2023-05-17 01:53:03: Stopping zigbee-herdsman...

Any idea why this might be?

You cant have z2m and zha running simultaniously but you figure that out.
Probably wrong mqtt address.
Did you configured mqtt integration?
For host mqtt should be available on ha_ip:1883

I removed every mqtt setting and is now working.