Zigbee2mqtt, Mqtt Don't work. Zigbee2mqtt cant register device

Hello, I’m trying to setup zigbee2mqtt, with mosquitto (and obviously HA)
I’m new to HA and have watched a few tutorial videos and browsed the forum on this exact issue.

Zigbee2mqtt doesnt allow me to register my devices somehow. It doesn’t give an error, and just says this:

[13:15:46] INFO: Preparing to start...
[13:15:46] INFO: Socat not enabled
[13:15:48] INFO: Starting Zigbee2MQTT...
Zigbee2MQTT:info  2023-09-17 13:15:54: Logging to console and directory: '/config/zigbee2mqtt/log/2023-09-17.13-15-54' filename: log.txt
Zigbee2MQTT:info  2023-09-17 13:15:54: Starting Zigbee2MQTT version 1.33.0 (commit #unknown)
Zigbee2MQTT:info  2023-09-17 13:15:54: Starting zigbee-herdsman (0.18.5)
Zigbee2MQTT:info  2023-09-17 13:15:54: zigbee-herdsman started (resumed)
Zigbee2MQTT:info  2023-09-17 13:15:54: Coordinator firmware version: '{"meta":{"maintrel":0,"majorrel":38,"minorrel":88,"product":0,"revision":"0x26580700","transportrev":0},"type":"ConBee2/RaspBee2"}'
Zigbee2MQTT:info  2023-09-17 13:15:54: Currently 0 devices are joined:
Zigbee2MQTT:info  2023-09-17 13:15:54: Zigbee: disabling joining new devices.
Zigbee2MQTT:error 2023-09-17 13:16:54: Failed to set permit join to false
Zigbee2MQTT:info  2023-09-17 13:16:54: Connecting to MQTT server at mqtt://core-mosquitto
Zigbee2MQTT:info  2023-09-17 13:16:55: Connected to MQTT server
Zigbee2MQTT:info  2023-09-17 13:16:55: MQTT publish: topic 'zigbee2mqtt/bridge/state', payload 'online'
Zigbee2MQTT:info  2023-09-17 13:16:55: Started frontend on port 0.0.0.0:8099
Zigbee2MQTT:info  2023-09-17 13:16:55: MQTT publish: topic 'zigbee2mqtt/bridge/config', payload '{"commit":"unknown","coordinator":{"meta":{"maintrel":0,"majorrel":38,"minorrel":88,"product":0,"revision":"0x26580700","transportrev":0},"type":"ConBee2/RaspBee2"},"log_level":"info","network":{"channel":11,"extendedPanID":"0x6eaacbd84d255ebf","panID":16010},"permit_join":false,"version":"1.33.0"}'
Zigbee2MQTT:info  2023-09-17 13:16:55: MQTT publish: topic 'zigbee2mqtt/bridge/state', payload 'online'
Zigbee2MQTT:info  2023-09-17 13:16:55: Zigbee2MQTT started!
Zigbee2MQTT:info  2023-09-17 13:17:17: Zigbee: allowing new devices to join.
Zigbee2MQTT:info  2023-09-17 13:17:20: Zigbee: allowing new devices to join.
Zigbee2MQTT:info  2023-09-17 13:17:30: Zigbee: allowing new devices to join.
Zigbee2MQTT:info  2023-09-17 13:17:56: Successfully changed options
Zigbee2MQTT:info  2023-09-17 13:17:56: MQTT publish: topic 'zigbee2mqtt/bridge/response/options', payload '{"data":{"restart_required":true},"status":"ok","transaction":"7f1q8-4"}'
Zigbee2MQTT:info  2023-09-17 13:18:02: MQTT publish: topic 'zigbee2mqtt/bridge/state', payload 'online'
Zigbee2MQTT:info  2023-09-17 13:18:02: Successfully changed options
Zigbee2MQTT:info  2023-09-17 13:18:02: MQTT publish: topic 'zigbee2mqtt/bridge/response/options', payload '{"data":{"restart_required":true},"status":"ok","transaction":"7f1q8-5"}'
Zigbee2MQTT:error 2023-09-17 13:18:04: Request 'zigbee2mqtt/bridge/request/options' failed with error: 'homeassistant must be boolean'
Zigbee2MQTT:info  2023-09-17 13:18:05: MQTT publish: topic 'zigbee2mqtt/bridge/response/options', payload '{"data":{},"error":"homeassistant must be boolean","status":"error","transaction":"7f1q8-6"}'
Zigbee2MQTT:info  2023-09-17 13:18:05: MQTT publish: topic 'zigbee2mqtt/bridge/state', payload 'online'
Zigbee2MQTT:info  2023-09-17 13:18:05: Successfully changed options
Zigbee2MQTT:info  2023-09-17 13:18:05: MQTT publish: topic 'zigbee2mqtt/bridge/response/options', payload '{"data":{"restart_required":true},"status":"ok","transaction":"7f1q8-7"}'

/config/zigbee2mqtt/configuration.yaml:

homeassistant: true
advanced:
  network_key:
    - 64
    - 89
    - 217
    - 156
    - 228
    - 43
    - 92
    - 180
    - 46
    - 254
    - 103
    - 110
    - 175
    - 239
    - 77
    - 106
  pan_id: 16010
  ext_pan_id:
    - 110
    - 170
    - 203
    - 216
    - 77
    - 37
    - 94
    - 191
mqtt:
  server: mqtt://core-mosquitto:1883
  user: homeassistant
  password: AutomaticHomeAssitantPassword (Same password as at mqtt)
frontend:
  port: 8099

Zigbee2mqtt add-on config:

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:
  server: mqtt://core-mosquitto
serial:
  port: >-
    /dev/serial/by-id/usb-dresden_elektronik_ingenieurtechnik_GmbH_ConBee_II_DE2228585-if00
  adapter: deconz
zigbee_herdsman_debug: false

MQTT (mosquitto) settings:

broker: core-mosquitto
port: 1883
username: homeassistant
password: AutomaticHomeAssitantPassword (Same password as at zigbee2mqtt)

USB port/hardware:

I see a lot of ‘restart required’ at the end of your log. Maybe a restart will help.

I tried that, didnt change anything.

Do you use an USB extension cable ? If not, you really should.

I have an usb extension cable.

I changed the USB port and solved the issue.