Zigbee2mqtt will not start , can not find the usb0 port

hello i have problems get running zigbee2mqtt eith my sonoff E stick …
my homeassistant system was running over 10 month without problems …. and after i did try to delete a automatisation the system frees and i had to start. homeassistant again …
then zigbee2mqtt did not start …
i tryed the following actions
—- delete zigbee2mqtt and reinstaled … no result

zh:ember:uart:ash: Failed to init port with error Error: Error Resource temporarily unavailable Cannot lock port

—-i tryed to flash the sonoffstick with the actually sw but not working … the usb0 port can not be used ( occupaid )

i can not find out what process is using my usb0 port

( i do not know what i have todo with yaml to get this information)
i would be happy if somebody can help me …
thanks and greetings hartmut

sounds like maybe you have something else using the device (ZHA perhaps?) or the device path is not specified correctly.

in the settings > system > hardware you can search for usb and it should show the attached devices and their device path.

Based on that, make sure you are not trying to start ZHA and Zigbee2mqtt on the same USB stick, that will not work.

Assumption you are not, it might be that it cannot find the right USB Device.
The TTY ports can sometimes change internally, so it is suggested to use the /serial/by-id/ URL that always talks to your dongle by serial so it is always right.
You can find out what that is by using:

and looking for it under all hardware, something like this:

Once you have the long URL use that instead of the ttyxxx one.

1 Like

hello thanks for trying to help me :hugs:
i put in the long version

(/dev/serial/by-id/usb-ITead_Sonoff_Zigbee_3.0_USB_Dongle_Plus_ccc25fdc12e2ed119babee5162c613ac-if00-port0

i read on faq tha to write on yaml
the following text
lsof /dev/ttyusb0
to find out what process is ocupying this port
but i do not know where to write it down …,sorry

ZHA i did put inactiv ….so hopefully its not the reason for the problem

you put that device id path in the zigbee2mqtt addon settings

then reboot your host, then check the z2m logs after restart