/dev/serial/by-id: No such file or directory

OK it seems I did something (have no idea what) to destroy my zigbee2mqtt setup…
I have HA in NUC (Ubuntu) and when I “ls -l /dev/serial/by-id” I get the message: “ls: cannot access ‘/dev/serial/by-id’: No such file or directory” and of course zigbee2mqtt doesnt start…

When I use another cc2531 usb stick, everything is OK.

What should I do pls???

1 Like

Reflash the first stick.

OK did that and now I get the below error when trying to start z2m addon

20-07-28 21:10:41 ERROR (SyncWorker_2) [supervisor.docker] Can't start addon_7ad98f9c_zigbee2mqtt: 500 Server Error: Internal Server Error ("error gathering device information while adding custom device "/dev/serial/by-id/usb-Texas_Instruments_TI_CC2531_USB_CDC___0X00124B000E0EAB21-if00": no such file or directory")

and the configuration of add-on:

data_path: /share/zigbee2mqtt
devices: devices.yaml
groups: groups.yaml
homeassistant: true
permit_join: false
mqtt:
  base_topic: zigbee2mqtt
  server: 'mqtt://192.168.1.100:1883'
  user: XXX
  password: YYY
serial:
  port: /dev/ttyACM0
advanced:
  pan_id: 6754
  channel: 11
  network_key:
    - 1
    - 3
    - 5
    - 7
    - 9
    - 11
    - 13
    - 15
    - 0
    - 2
    - 4
    - 6
    - 8
    - 10
    - 12
    - 13
  availability_timeout: 60
  availability_blacklist: []
ban: []
whitelist: []
queue: {}
socat:
  enabled: false
  master: 'pty,raw,echo=0,link=/dev/ttyZ2M,mode=777'
  slave: 'tcp-listen:8485,keepalive,nodelay,reuseaddr,keepidle=1,keepintvl=1,keepcnt=5'
  restartdelay: 1
  initialdelay: 1
  options: '-d -d'
  log: false

thank you

Then I think your first cc2531 is defective.