Closed OriginalResponsibleUser closed 1 year ago
HASS on Synology Virtual mashine also not start after Update.
Hm, my best guess is that this is related to #2623 :thinking:
Can you double check with 10.3 to confirm that this is indeed 10.4 related? You can downgrade the OS safely using ha os update --version 10.3
.
This can be closed. I did a bit more troubleshooting and the issue was not related to HAOS nor the NUT Add-on/integration.
Could you please share what was the issue? I'm facing the exactly same error message when trying to setup this for the first time.
I'm also having the same problem. Trying to connect my first UPS.
This can be closed. I did a bit more troubleshooting and the issue was not related to HAOS nor the NUT Add-on/integration.
What was it? I have exactly same problem same as few above...
In my case I've got it working by rebooting my HA host system and UPS.
what was the issue at the end? @OriginalResponsibleUser
Rebooting didn't help.
I'm using the Docker container in Debian 12 rather than HA OS, but I just ran into this same issue after rebooting for a kernel update and my solution may be helpful. I'm here because this was the first result when I Googled the "insufficient permissions on everything" error.
Compare the output of nut-scanner -U
with the configuration in /etc/nut/ups.conf
and modify as necessary.
In my case, bus
had changed from 001
to 003
.
The nut-driver service picked up the updated config right away, though apparently I had to reload the HA configuration for it to see the UPS again (or I didn't wait long enough).
Same issue here might be related to the recent HASSOS update
Network UPS Tools
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.13.0
You are running the latest version of this add-on.
System: Home Assistant OS 11.4 (aarch64 / raspberrypi4-64)
Home Assistant Core: 2024.1.2
Home Assistant Supervisor: 2023.12.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
[14:45:30] INFO: Configuring timezone (America/Denver)...
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
[14:45:33] INFO: Setting mode to netserver...
[14:45:33] INFO: Generating /etc/nut/upsd.users...
[14:45:34] INFO: Configuring user: webstas
[14:45:34] INFO: Password is NOT in the Have I Been Pwned database! Nice!
[14:45:36] INFO: Configuring Device named myups...
[14:45:37] INFO: Starting the UPS drivers...
Network UPS Tools - Generic HID driver 0.47 (2.8.0)
USB communication driver (libusb 1.0) 0.43
libusb1: Could not open any HID devices: insufficient permissions on everything
No matching HID UPS found
Network UPS Tools - UPS driver controller 2.8.0
Driver failed to start (exit status=1)
Yes I confirm that's the solution.... shutdown the host.
It's not reboot HA, you do this: Go to settings, system, power button on the top right, advance option, shutdown server. Once you turn it on everything is working again
Same problem here. Shutdown didn't help, other here reported that shutdown the raspberry is not (always) the solution
please re-open this
Same, I'm still researching the issue, but neither reboot nor shutdown helped. I can't even see why that should help. Also see https://github.com/hassio-addons/addon-nut/issues/322
Edit: using the nutdrv_qx
instead of the hid driver fixed it for me.
Same, I'm still researching the issue, but neither reboot nor shutdown helped. I can't even see why that should help. Also see hassio-addons/addon-nut#322
Edit: using the
nutdrv_qx
instead of the hid driver fixed it for me.
Hello @john8329 . Could you please elaborate how to change it to use nutdrv_qx?
Thanks
Same, I'm still researching the issue, but neither reboot nor shutdown helped. I can't even see why that should help. Also see hassio-addons/addon-nut#322 Edit: using the
nutdrv_qx
instead of the hid driver fixed it for me.Hello @john8329 . Could you please elaborate how to change it to use nutdrv_qx?
Thanks
Sure, I even found the right driver that works permanently for my UPS (before it was disconnecting after a while). You have to set it up like this under settings > add-ons > NUT > Configuration:
The driver name and configuration can be created depending on the device, you can find more here.
Cheers
Same, I'm still researching the issue, but neither reboot nor shutdown helped. I can't even see why that should help. Also see hassio-addons/addon-nut#322 Edit: using the
nutdrv_qx
instead of the hid driver fixed it for me.Hello @john8329 . Could you please elaborate how to change it to use nutdrv_qx? Thanks
Sure, I even found the right driver that works permanently for my UPS (before it was disconnecting after a while). You have to set it up like this under settings > add-ons > NUT > Configuration:
The driver name and configuration can be created depending on the device, you can find more here.
Cheers
Thank you so much. I will git it a try.
Same problem here: libusb1: Could not open any HID devices: insufficient permissions on everything No matching HID UPS found Network UPS Tools - UPS driver controller 2.8.0 Driver failed to start (exit status=1)
Home Assistant OS 13.1 Supervisor 2024.09.1
I use the following configuration for APC smart UPS 1500i usb connected:
name: apcsmart driver: usbhid-ups port: auto config: vendorid = 051d productid = 0002 serial = AS0614322014 Last year this configuration was working. I don’t know exactly when it stopped to work.
I am also having this issue. Why is this closed? Any fix?
IIRC the usbhid-ups driver is deprecated you may want to try a different one, maybe nutdrv_qx
Describe the issue you are experiencing
After upgrading to Home Assistant OS 10.4, the NUT addon no longer starts, seemingly due to a permission issue not allowing the UPS to be detected. This worked fine in OS 10.3 and earlier.
I opened this issue originally in the NUT-Addons page, but was told to take it here due to being on OS 10.4 https://github.com/hassio-addons/addon-nut/issues/317
What operating system image do you use?
generic-x86-64 (Generic UEFI capable x86-64 systems)
What version of Home Assistant Operating System is installed?
Home Assistant OS 10.4
Did you upgrade the Operating System.
Yes
Steps to reproduce the issue
Anything in the Supervisor logs that might be useful for us?
Anything in the Host logs that might be useful for us?
System information
System Information
Home Assistant Community Store
GitHub API | ok -- | -- GitHub Content | ok GitHub Web | ok GitHub API Calls Remaining | 5000 Installed Version | 1.32.1 Stage | running Available Repositories | 1267 Downloaded Repositories | 8Home Assistant Cloud
logged_in | false -- | -- can_reach_cert_server | ok can_reach_cloud_auth | ok can_reach_cloud | okHome Assistant Supervisor
host_os | Home Assistant OS 10.4 -- | -- update_channel | beta supervisor_version | supervisor-2023.08.0 agent_version | 1.5.1 docker_version | 23.0.6 disk_total | 116.7 GB disk_used | 14.3 GB healthy | true supported | true board | generic-x86-64 supervisor_api | ok version_api | ok installed_addons | Z-Wave JS (0.1.85), Mosquitto broker (6.2.1), Ring-MQTT with Video Streaming (5.5.1), File editor (5.6.0), Advanced SSH & Web Terminal (15.0.6), Matter Server (4.9.0), Silicon Labs Flasher (0.1.1), Silicon Labs Multiprotocol (2.3.0), Network UPS Tools (0.12.0), Studio Code Server (5.10.0), Z-Wave JS UI (1.15.3), Let's Encrypt (4.12.9), OpenThread Border Router (2.3.0)Dashboards
dashboards | 1 -- | -- resources | 5 views | 1 mode | storageRecorder
oldest_recorder_run | July 27, 2023 at 12:14 AM -- | -- current_recorder_run | August 2, 2023 at 8:04 PM estimated_db_size | 64.04 MiB database_engine | sqlite database_version | 3.41.2Additional information
NUT Addon Configuration file
NUT Addon Startup Logs