Good evening everyone,
Despite having already had HA installed for a few years, my use of it has always been at a very basic level, which is why I had never used this forum. I apologize in advance if the Category chosen is not appropriate.
I have an HP Proliant Microserver Gen 8 server with ESXI installed, where I run my HA in a virtual machine.
As I have been having some problems with the electrical network, I decided to install a UPS to ensure that, whenever I have problems with the network, the HA shuts down in a “graceful” way.
I installed the NUT add-on, but I came across this error:
libusb1: Could not open any HID devices: insufficient permissions on everything
I don’t know if anyone has ever had this problem.
I searched on different sites, but I couldn’t find a solution…
The ups.conf file has these settings:
I transcribe the entire add-on log below to better understand the error.
Thank you in advance to anyone who can give me a solution or, at least, a path to it!
Thanks!
LOG do Add-on:
s6-rc: info: service s6rc-oneshot-runner: starting
s6-rc: info: service s6rc-oneshot-runner successfully started
s6-rc: info: service base-addon-banner: starting
Add-on: Network UPS Tools
Manage battery backup (UPS) devices
Add-on version: 0.12.2
You are running the latest version of this add-on.
System: Home Assistant OS 11.1 (amd64 / qemux86-64)
Home Assistant Core: 2023.11.0
Home Assistant Supervisor: 2023.10.1
Please, share the above information when looking for help
or support in, e.g., GitHub, forums or the Discord chat.
s6-rc: info: service base-addon-banner successfully started
s6-rc: info: service fix-attrs: starting
s6-rc: info: service base-addon-timezone: starting
s6-rc: info: service base-addon-log-level: starting
s6-rc: info: service fix-attrs successfully started
[23:10:42] INFO: Configuring timezone (Europe/Lisbon)…
s6-rc: info: service base-addon-log-level successfully started
s6-rc: info: service base-addon-timezone successfully started
s6-rc: info: service legacy-cont-init: starting
cont-init: info: running /etc/cont-init.d/nut.sh
[23:10:43] INFO: Setting mode to netserver…
[23:10:43] INFO: Connected USB devices:
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 004: ID 0463:ffff MGE UPS Systems UPS
Bus 002 Device 003: ID 0e0f:0002 VMware, Inc. Virtual USB Hub
Bus 002 Device 002: ID 0e0f:0003 VMware, Inc. Virtual Mouse
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
[23:10:43] INFO: Generating /etc/nut/upsd.users…
[23:10:43] INFO: Configuring user: eaton
[23:10:44] INFO: Password is NOT in the Have I Been Pwned database! Nice!
[23:10:45] INFO: Configuring Device named myups…
[23:10:45] INFO: Starting the UPS drivers…
libusb1: Could not open any HID devices: insufficient permissions on everything
No matching HID UPS found
Network UPS Tools - Generic HID driver 0.47 (2.8.0)
USB communication driver (libusb 1.0) 0.43
Driver failed to start (exit status=1)
cont-init: info: /etc/cont-init.d/nut.sh exited 1
cont-init: info: running /etc/cont-init.d/nutclient.sh
Network UPS Tools - UPS driver controller 2.8.0
cont-init: info: /etc/cont-init.d/nutclient.sh exited 0
cont-init: warning: some scripts exited nonzero
s6-rc: warning: unable to start service legacy-cont-init: command exited 1
/run/s6/basedir/scripts/rc.init: warning: s6-rc failed to properly bring all the services up! Check your logs (in /run/uncaught-logs/current if you have in-container logging) for more information.
/run/s6/basedir/scripts/rc.init: fatal: stopping the container.
s6-rc: info: service fix-attrs: stopping
s6-rc: info: service base-addon-timezone: stopping
s6-rc: info: service base-addon-log-level: stopping
s6-rc: info: service base-addon-timezone successfully stopped
s6-rc: info: service fix-attrs successfully stopped
s6-rc: info: service base-addon-log-level successfully stopped
s6-rc: info: service base-addon-banner: stopping
s6-rc: info: service base-addon-banner successfully stopped
s6-rc: info: service s6rc-oneshot-runner: stopping
s6-rc: info: service s6rc-oneshot-runner successfully stopped