Hi,
When I use the command sudo docker compose in the /opt/zwavejs-ui folder I get the following error:
[+] Running 2/2
✔ Network zwavejs-ui_default Created 0.2s
✔ Container zwave-js-ui Created 0.5s
Attaching to zwave-js-ui
Error response from daemon: error gathering device information while adding custom device "/dev/serial/by-id/usb-0658_0200_if00": no such file or directory
Can someone point me in the right direction to look for a solution?
Grz Piet
Docker compose error
Moderators: leecollings, remb0
-
- Posts: 345
- Joined: Thursday 01 November 2018 19:47
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 2024.6
- Location: Portugal
- Contact:
Re: Docker compose error
You need to change that to the correct ID of your USB Stick, assuming you have one. You can find this by getting a shell in the container and going to the directory /dev/serial/by-id/ where your USB devices are nicely listed as files.
Intel NUC with Ubuntu Server VM (Proxmox),mosquitto(docker),RFXtrx433E,zwavejsUI (docker),Zigbee2mqtt(docker),SMA Hub (docker),Harmony Hub plugin, Kodi plugin,Homebridge(docker)+Google Home,APC UPS,SMA Modbus,Mitsubishi MQTT, Broadlink,Dombus
- Bospieper
- Posts: 166
- Joined: Thursday 07 November 2019 10:26
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 2022.1
- Location: NL
- Contact:
Re: Docker compose error
Hi solarboy,
The Zwavejs-ui wiki does not supply this solution. I understand that using ls /dev/serial/by-id is not the correct way.
I'm not so familiar with Docker so can you tell me how perform the steps in getting the right serial/by-id ?
Grz Piet
The Zwavejs-ui wiki does not supply this solution. I understand that using ls /dev/serial/by-id is not the correct way.
I'm not so familiar with Docker so can you tell me how perform the steps in getting the right serial/by-id ?
Grz Piet
-
- Posts: 345
- Joined: Thursday 01 November 2018 19:47
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 2024.6
- Location: Portugal
- Contact:
Re: Docker compose error
This is not from a wiki, just general instructions to make USB devices available within a Docker container. Have a look in the /dev/serial/by-id/ folder, your answer will be there (or not)
Intel NUC with Ubuntu Server VM (Proxmox),mosquitto(docker),RFXtrx433E,zwavejsUI (docker),Zigbee2mqtt(docker),SMA Hub (docker),Harmony Hub plugin, Kodi plugin,Homebridge(docker)+Google Home,APC UPS,SMA Modbus,Mitsubishi MQTT, Broadlink,Dombus
- Bospieper
- Posts: 166
- Joined: Thursday 07 November 2019 10:26
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 2022.1
- Location: NL
- Contact:
Re: Docker compose error
Thanx for the replay.
To start a shell within a container the container has to be up. Because of the error while starting the container I cannot open a shell with the command:
docker execute -it zwave-js-ui ls /dev/serial/by-id
Grz Piet
To start a shell within a container the container has to be up. Because of the error while starting the container I cannot open a shell with the command:
docker execute -it zwave-js-ui ls /dev/serial/by-id
Grz Piet
Re: Docker compose error
It is more simple then that. You don't have to go inside the docker. You look on the main system (probably a Raspbery Pi) in /dev/serial/by-id and there you find your devices. With the help of "lsusb" you can figure out which is which. You are probably looking for a Aeon Z-stick Gen5? That is indeed usb-0658_0200-if00 but with the last separator a dash, not a underscore. If you fix that in your docker compose file, you should be good.
-
- Posts: 345
- Joined: Thursday 01 November 2018 19:47
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 2024.6
- Location: Portugal
- Contact:
Re: Docker compose error
This.capitalT wrote: ↑Thursday 04 January 2024 22:32 It is more simple then that. You don't have to go inside the docker. You look on the main system (probably a Raspbery Pi) in /dev/serial/by-id and there you find your devices. With the help of "lsusb" you can figure out which is which. You are probably looking for a Aeon Z-stick Gen5? That is indeed usb-0658_0200-if00 but with the last separator a dash, not a underscore. If you fix that in your docker compose file, you should be good.
Intel NUC with Ubuntu Server VM (Proxmox),mosquitto(docker),RFXtrx433E,zwavejsUI (docker),Zigbee2mqtt(docker),SMA Hub (docker),Harmony Hub plugin, Kodi plugin,Homebridge(docker)+Google Home,APC UPS,SMA Modbus,Mitsubishi MQTT, Broadlink,Dombus
- Bospieper
- Posts: 166
- Joined: Thursday 07 November 2019 10:26
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 2022.1
- Location: NL
- Contact:
Re: Docker compose error
Hello,
Youve made me very happy, what can it be simple a simple dash instaed of a underscore.
After weeks living in darkness in my house (all the lightning was OZW) there will be light soon.
Thanx
Youve made me very happy, what can it be simple a simple dash instaed of a underscore.
After weeks living in darkness in my house (all the lightning was OZW) there will be light soon.
Thanx
Who is online
Users browsing this forum: No registered users and 1 guest