Error Starting LCX Deconz after mapping USB Device (Conbee III) #1144

Closed
opened 2026-02-04 23:18:46 +03:00 by OVERLORD · 10 comments
Owner

Originally created by @guny74 on GitHub (Jun 22, 2025).

Have you read and understood the above guidelines?

yes

📜 What is the name of the script you are using?

Deconz LCX

📂 What was the exact command used to execute the script?

bash -c "$(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/ct/deconz.sh)"

⚙️ What settings are you using?

  • Default Settings
  • Advanced Settings

🖥️ Which Linux distribution are you using?

No response

📝 Provide a clear and concise description of the issue.

Hello,

I am really new to proxmox....

I create a LXC for Deconz with your script.
But after assign a passthrough Device (/dev/serial/by-id/usb-dresden_elektronik_ConBee_III_DE0xxxxxx-if00-port0)
I got the error during start... starts failed

safe_mount: 1425 No such file or directory - Failed to mount "/dev/ttyUSB1" onto "/usr/lib/x86_64-linux-gnu/lxc/rootfs/dev/ttyUSB1"
safe_mount: 1425 No such file or directory - Failed to mount "/dev/ttyACM0" onto "/usr/lib/x86_64-linux-gnu/lxc/rootfs/dev/ttyACM0"
safe_mount: 1425 No such file or directory - Failed to mount "/dev/ttyACM1" onto "/usr/lib/x86_64-linux-gnu/lxc/rootfs/dev/ttyACM1"
run_buffer: 571 Script exited with status 17
lxc_setup: 3948 Failed to run autodev hooks
do_start: 1273 Failed to setup container "101"
sync_wait: 34 An error occurred in another process (expected sequence number 4)
__lxc_start: 2114 Failed to spawn container "101"
TASK ERROR: startup for container '101' failed

I do not know what ist the problem... the Device is visible at the host....

Any Idea ?

Regards
Thorsten

🔄 Steps to reproduce the issue.

-Creating Container
-assigning passthrough device

  • reboot container

Paste the full error output (if available).

safe_mount: 1425 No such file or directory - Failed to mount "/dev/ttyUSB1" onto "/usr/lib/x86_64-linux-gnu/lxc/rootfs/dev/ttyUSB1"
safe_mount: 1425 No such file or directory - Failed to mount "/dev/ttyACM0" onto "/usr/lib/x86_64-linux-gnu/lxc/rootfs/dev/ttyACM0"
safe_mount: 1425 No such file or directory - Failed to mount "/dev/ttyACM1" onto "/usr/lib/x86_64-linux-gnu/lxc/rootfs/dev/ttyACM1"
run_buffer: 571 Script exited with status 17
lxc_setup: 3948 Failed to run autodev hooks
do_start: 1273 Failed to setup container "101"
sync_wait: 34 An error occurred in another process (expected sequence number 4)
__lxc_start: 2114 Failed to spawn container "101"
TASK ERROR: startup for container '101' failed

🖼️ Additional context (optional).

No response

Originally created by @guny74 on GitHub (Jun 22, 2025). ### ✅ Have you read and understood the above guidelines? yes ### 📜 What is the name of the script you are using? Deconz LCX ### 📂 What was the exact command used to execute the script? bash -c "$(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/ct/deconz.sh)" ### ⚙️ What settings are you using? - [x] Default Settings - [ ] Advanced Settings ### 🖥️ Which Linux distribution are you using? _No response_ ### 📝 Provide a clear and concise description of the issue. Hello, I am really new to proxmox.... I create a LXC for Deconz with your script. But after assign a passthrough Device (/dev/serial/by-id/usb-dresden_elektronik_ConBee_III_DE0xxxxxx-if00-port0) I got the error during start... starts failed ``` safe_mount: 1425 No such file or directory - Failed to mount "/dev/ttyUSB1" onto "/usr/lib/x86_64-linux-gnu/lxc/rootfs/dev/ttyUSB1" safe_mount: 1425 No such file or directory - Failed to mount "/dev/ttyACM0" onto "/usr/lib/x86_64-linux-gnu/lxc/rootfs/dev/ttyACM0" safe_mount: 1425 No such file or directory - Failed to mount "/dev/ttyACM1" onto "/usr/lib/x86_64-linux-gnu/lxc/rootfs/dev/ttyACM1" run_buffer: 571 Script exited with status 17 lxc_setup: 3948 Failed to run autodev hooks do_start: 1273 Failed to setup container "101" sync_wait: 34 An error occurred in another process (expected sequence number 4) __lxc_start: 2114 Failed to spawn container "101" TASK ERROR: startup for container '101' failed ``` I do not know what ist the problem... the Device is visible at the host.... Any Idea ? Regards Thorsten ### 🔄 Steps to reproduce the issue. -Creating Container -assigning passthrough device - reboot container ### ❌ Paste the full error output (if available). safe_mount: 1425 No such file or directory - Failed to mount "/dev/ttyUSB1" onto "/usr/lib/x86_64-linux-gnu/lxc/rootfs/dev/ttyUSB1" safe_mount: 1425 No such file or directory - Failed to mount "/dev/ttyACM0" onto "/usr/lib/x86_64-linux-gnu/lxc/rootfs/dev/ttyACM0" safe_mount: 1425 No such file or directory - Failed to mount "/dev/ttyACM1" onto "/usr/lib/x86_64-linux-gnu/lxc/rootfs/dev/ttyACM1" run_buffer: 571 Script exited with status 17 lxc_setup: 3948 Failed to run autodev hooks do_start: 1273 Failed to setup container "101" sync_wait: 34 An error occurred in another process (expected sequence number 4) __lxc_start: 2114 Failed to spawn container "101" TASK ERROR: startup for container '101' failed ### 🖼️ Additional context (optional). _No response_
OVERLORD added the not a script issue label 2026-02-04 23:18:46 +03:00
Author
Owner

@MickLesk commented on GitHub (Jun 22, 2025):

Unpriviligeted?

@MickLesk commented on GitHub (Jun 22, 2025): Unpriviligeted?
Author
Owner

@guny74 commented on GitHub (Jun 22, 2025):

Unprivileged = no --> priiviliged

@guny74 commented on GitHub (Jun 22, 2025): Unprivileged = no --> priiviliged
Author
Owner

@MickLesk commented on GitHub (Jun 22, 2025):

How do you have passthrough the device? Like our zigbee howto in #410?

So its defintily not an Script issue. Next time use Discussions as QA

@MickLesk commented on GitHub (Jun 22, 2025): How do you have passthrough the device? Like our zigbee howto in #410? So its defintily not an Script issue. Next time use Discussions as QA
Author
Owner

@guny74 commented on GitHub (Jun 22, 2025):

I add the it as a "device passthrough" via GUI. I do not know any config file where I could put the direct device path in deconz as in the z2m config file.

So how I have passthrough the USB Device to the deconz container ?

(Next Time I will use the discussion area, sorry)

@guny74 commented on GitHub (Jun 22, 2025): I add the it as a "device passthrough" via GUI. I do not know any config file where I could put the direct device path in deconz as in the z2m config file. So how I have passthrough the USB Device to the deconz container ? (Next Time I will use the discussion area, sorry)
Author
Owner

@MickLesk commented on GitHub (Jun 22, 2025):

Whats the Output in the LXC of:
ls -l /dev/serial/by-id

@MickLesk commented on GitHub (Jun 22, 2025): Whats the Output in the LXC of: ls -l /dev/serial/by-id
Author
Owner

@guny74 commented on GitHub (Jun 22, 2025):

root@deconz:~# ls -l /dev/serial/by-id
total 0
lrwxrwxrwx 1 root root 13 Jun 22 18:24 usb-dresden_elektronik_ConBee_III_DEXXXXX-if00-port0 -> ../../ttyUSB0
lrwxrwxrwx 1 root root 13 Jun 22 16:32 usb-Itead_Sonoff_Zigbee_3.0_USB_Dongle_Plus_V2_ccxxxxxx174bec31-if00-port0 -> ../../ttyUSB1

@guny74 commented on GitHub (Jun 22, 2025): root@deconz:~# ls -l /dev/serial/by-id total 0 lrwxrwxrwx 1 root root 13 Jun 22 18:24 usb-dresden_elektronik_ConBee_III_DEXXXXX-if00-port0 -> ../../ttyUSB0 lrwxrwxrwx 1 root root 13 Jun 22 16:32 usb-Itead_Sonoff_Zigbee_3.0_USB_Dongle_Plus_V2_ccxxxxxx174bec31-if00-port0 -> ../../ttyUSB1
Author
Owner

@MickLesk commented on GitHub (Jun 22, 2025):

Try this:

  1. Get the device name:
    ls -l /dev/serial/by-id/

  2. Set assign the device to deconz in:
    /etc/systemd/system/multi-user.target.wants/deconz.service

2.1 Set the Device:
Testcase:
ExecStart=/usr/bin/deCONZ -platform minimal --http-port=80 --dev=/dev/ttyACM1

@MickLesk commented on GitHub (Jun 22, 2025): Try this: 1. Get the device name: ls -l /dev/serial/by-id/ 2. Set assign the device to deconz in: /etc/systemd/system/multi-user.target.wants/deconz.service 2.1 Set the Device: Testcase: ExecStart=/usr/bin/deCONZ -platform minimal --http-port=80 --dev=/dev/ttyACM1
Author
Owner

@guny74 commented on GitHub (Jun 22, 2025):

Why "/dev/ttyACM1" ? The device is at /dev/ttyUSB0 ...

I tried different variants... but at the moment the conbee 3 nocht recogniced....but I think there may be an other reason...my lenovo under the proxmox have no "usb 2" port...and actually I find no old usb 2 hub...so I will return the next day if I connected only with USB 2.

Thank you

regards

@guny74 commented on GitHub (Jun 22, 2025): Why "/dev/ttyACM1" ? The device is at /dev/ttyUSB0 ... I tried different variants... but at the moment the conbee 3 nocht recogniced....but I think there may be an other reason...my lenovo under the proxmox have no "usb 2" port...and actually I find no old usb 2 hub...so I will return the next day if I connected only with USB 2. Thank you regards
Author
Owner

@MickLesk commented on GitHub (Jun 22, 2025):

Thats an example...

@MickLesk commented on GitHub (Jun 22, 2025): Thats an example...
Author
Owner

@guny74 commented on GitHub (Jun 24, 2025):

I found the problem...in the deconz.service file I put the specific device AND the bautrate

ExecStart=/usr/bin/deCONZ -platform minimal --http-port=80 --dev=/dev/serial/by-id/usb-dresden_elektronik_ConBee_III_DE0xxxx02-if00-port0 --baudrate=115200

Without the baudrate the conbee III will not be recognized.

@guny74 commented on GitHub (Jun 24, 2025): I found the problem...in the deconz.service file I put the specific device AND the bautrate `ExecStart=/usr/bin/deCONZ -platform minimal --http-port=80 --dev=/dev/serial/by-id/usb-dresden_elektronik_ConBee_III_DE0xxxx02-if00-port0 --baudrate=115200` Without the baudrate the conbee III will not be recognized.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/ProxmoxVE#1144