PVE 8.1: Nut - lost USB connection to UPS after 1.5 days

simi

Member
Dec 29, 2019
13
1
23
52
After upgrading to PVE 8.1 (8.1.4) I am having a problem with the USB connection to my UPS (Salicru / Phoenixtec Power Co.) which gets lost after apprx 1.5 days. It was properly working under PVE 7.x. When I restart the server or reconnect the USB cable manually it is working for another 1.5 days before it fails again. I changed the USB cable and the USB port without any effect.

The log file gets flooded by this:
Code:
2024-01-13T23:19:10.275388+01:00 pve1 usbhid-ups[1451]: nut_libusb_get_interrupt: Input/Output Error
2024-01-13T23:19:12.132608+01:00 pve1 usbhid-ups[1451]: libusb1: Could not open any HID devices: insufficient permissions on everything
2024-01-13T23:19:12.133267+01:00 pve1 upsd[1532]: Data for UPS [ups1] is stale - check driver
2024-01-13T23:19:12.133490+01:00 pve1 nut-server[1532]: Data for UPS [ups1] is stale - check driver
2024-01-13T23:19:14.134528+01:00 pve1 usbhid-ups[1451]: libusb1: Could not open any HID devices: insufficient permissions on everything
2024-01-13T23:19:14.903601+01:00 pve1 nut-monitor[1577]: Poll UPS [ups1@localhost] failed - Data stale
2024-01-13T23:19:14.903807+01:00 pve1 nut-monitor[1577]: Communications with UPS ups1@localhost lost
2024-01-13T23:19:14.909358+01:00 pve1 nut-monitor[3856381]: Network UPS Tools upsmon 2.8.0
2024-01-13T23:19:16.135402+01:00 pve1 usbhid-ups[1451]: libusb1: Could not open any HID devices: insufficient permissions on everything

What could I try to do to solve this issue. It is strange that it is always stops working after 1.5 days...

Thanks :)
 
Last edited:
Did you ever resolve this? I am also getting "Data for UPS is stale - check driver" since upgrading from Proxmox 7 to 8 and it's also affecting another USB device (a Zigbee stick).

The latest thing I've tried is "Use USB Port" instead of "Use USB Vendor/Device ID" for the passhtrough of the UPS USB connection to the VM, hope it will resolve this very annoying issue.