Zwave error - 2 programs try accesing usb port

I have migrated from hassio on PI, to ubuntu server docker hassio on intel nuc.
Now is my zwave “crasing“, after restart it lost all nodes, also the zwave stick is gone, after few restart nodes come back, but the again crash.
I have found out that 2 programs are trying-using usb port or zwave sick, what comes to errors:


All services are double.
Please for help!

Your obvious solution is to fix that so only one program tries at any one time.

We are not there to hold your hand and we know nothing about what is trying to access the stick or why.

how to fix that?

Which two programs are trying to access the USB stick?

do not know how to find this out! I have try to change usb path, but it is the same

What in that log is telling you that there are two programs accessing the stick? I don’t know how to read that log to tell me what you are saying is correct.

Partly it’s coming from the OpenZWave log where there are messages you only get if either the stick is broken, there’s massive amounts of interference going on, or (most commonly) there’s two programs interacting with it.

1 Like

Say what data do you need, zwave logs?

I’m honestly not sure.

I was simply asking questions to help you (or us) troubleshoot and was wondering what might have led you to jump to the immediate conclusion that the problem was that two programs were accessing the stick (“I have found out that 2 programs are trying-using usb port”).

And apparently according to @Tinkerer’s post above it’s a possibility that there could be at least two other possibilities that might cause the same problem so it’s not the best to try to figure stuff out if you are locked into one train of thought rather than considering other possibilities.

https://imgur.com/a/2XWdHwk maybe is here a hint? hassio client and server, root user and warcanoid? https://imgur.com/a/WiDo5JF

the only thing i see that might be strange is the references to nginx. i can’t see any reason why that is popping up in the log. did you set up the nginx container to access the usb somehow?

I do not use nginx

Your logs seem to think otherwise.

1 Like

I’d, personally, suggest you go back to just installing Debian (server, no GUI), and Hass.io - no add-ons, nothing else. Check then that things work.

You’ve installed at least one add-on or other program that you didn’t think you’d installed (nginx, which is clearly running). It’s entirely possible you’ve done something else.

You should also be able to see what’s using the USB stick with

lsof -n | grep ttyA

That will have to be done in Debian, and may well only show Docker using it, at which point you’d need to look at what add-ons you installed (for example, there’s an add-on for the OpenZWave control panel - if you’d installed that then it could cause exactly this kind of problem)

@Tinkerer thank you! This is what I get: https://imgur.com/a/vmYGifS, will try fresh install

@Tinkerer fresh install ubuntu server, docker hassio, only ssh and samba addon, get the same result with lsof /dev/ttyACM0, no zwave stick in pc, see: https://imgur.com/a/elEzxfN

New update, have put the stick in rPI-old configuration and zwave is working with all nodes:) but need it on intel nuc. So 100% sure I have not messed up the ubuntu server, docker and hassio installation! Maybe intel nuc has special setting in bios?