Hi.
Im trying to run deconz v2.13.01 in an LXC ubuntu 20.04 LTS container in proxmox, deconz starts and i can access it from browser but i cant seem to establish connection to my ConBee II.
I have passed my ConBee through to the cointainer and tried every solution i could find on the web, i’ve also tried installing docker in LXC and then deconz in that(because thats what was working on my Pi) also with no luck.
Can anyone point me in the right direction please, thanks
here is some of the log, let me know if i should be looking for something specific.
For deConz to be able to access the Conbee, the container must run in privilege mode and have full access to the machine HW.
An LXC container virtualizes this and commands cannot pass through the abstracted layers.
Try a Docker container instead of an LXC.
Thanks for the reply
Iam running privileged mode, full access to machine hardware? should it not be enough to pass the Conbee stick through to the container?
Are you saying there is absolutely no way of running deconz in a LXC container?
When i install home assistant OS in a VM there is no problem passing the stick through to the deconz add-on in HA
I managed to get around by creating a new startup script for DECONZ, it works perfectly for me.
Add the user who runs the process to /etc/sudoers
deconz ALL=(ALL) NOPASSWD:ALL
Create a new startup file for deconz:
nano /lib/systemd/system/deconz-lxc.service
Thanks man, i already have a startup service, its not exactly same as your but should do the same thing?
i’ve made it following a guide i found. whats your setup? maybe ill try clean install and do it your way
So i never got it to work in the LXC container i feel like i have tried everything but somehow i must be missing something…
I gave up and installed it in a VM following the German guide, translated by google and it was surprisingly good, worked in first try.
for me the downside of running it in a VM is that it uses more resources and also more power, but for now it will have to do, maybe in the in the future ill try in a LXC container again.
Many thanks to both of you for taking the time to help!
i had the same hassel with LXC but with a VM installed headless it needs not that much more resources then the LXC Container. At least it runs super stable!
I’ve been trying to get deCONZ to work in a Proxmox LXC as well, with no luck.
Is the conclusion that it won’t work? And if so why is this different than for the Aeotec Z-stick for Z-wave?