February 28, 20242 yr Since upgrading to 6.12.8 the USB communication between the OS and the UPS continues to fail after a window of time. If I move the USB cable to a different USB port, communication is restored. However, in a short period of time (1 - 3) hours, the connection will fail again. Suggestions?
February 28, 20242 yr Community Expert welcome to the club 😩 This is almost "normal" behaviour for many UPS. No idea why. Even changing to NUTS won't help With some "tricks" you can get it to run, but lines like these Feb 28 01:01:05 F upsmon[5872]: Poll UPS [[email protected]] failed - Driver not connected Feb 28 01:01:05 F upsmon[5872]: Communications with UPS [email protected] lost Feb 28 01:01:10 F upsmon[5872]: Communications with UPS [email protected] established Feb 28 02:01:06 F upsmon[5872]: Poll UPS [[email protected]] failed - Driver not connected Feb 28 02:01:06 F upsmon[5872]: Communications with UPS [email protected] lost Feb 28 02:01:11 F upsmon[5872]: Communications with UPS [email protected] established Feb 28 03:01:06 F upsmon[5872]: Poll UPS [[email protected]] failed - Driver not connected Feb 28 03:01:06 F upsmon[5872]: Communications with UPS [email protected] lost Feb 28 03:01:11 F upsmon[5872]: Communications with UPS [email protected] established Feb 28 04:01:01 F upsmon[5872]: Poll UPS [[email protected]] failed - Driver not connected Feb 28 04:01:01 F upsmon[5872]: Communications with UPS [email protected] lost Feb 28 04:01:06 F upsmon[5872]: Communications with UPS [email protected] established are constant (but still it works somehow). The problem is that restarting the daemons on UNRAID is rather tricky and often not reliable. Also, at some point you will notice that the USB Port is totally blocked, a daemon restart is not enough, you need to pull out the cable or reboot. Of course, this is not good on UNRAID, you want a stable running reliable fileserver. What I did after many tests is a quite "uncommon" and "strange" construction. First of all I switched off the UNRAID ups daemon and installed NUTS instead. This talks a lot better to the UPS, but still the dropouts happen almost every hour as you can see. So I installed another NUTS on a different, not vital, raspberry that is used for Pihole and such things and also running 24/7. There you have the full NUTS package, including some programs to check for running drivers and daemons. I do the checks every 30mins and if one fails, the driver is stopped and reloaded (not the daemon! it is the kernel part that does the evil!). If such a restart fails 3 times in a row, the raspi is rebooted (clears the port, communication to the ups then works again for some time). The NUT on UNRAID is just configured to be a slave of the raspi. This "solution" is far from beeing "clean", but the best I could get to run. If somebody has a better approach, please enlight me. Edited February 28, 20242 yr by MAM59
February 28, 20242 yr Do you perhaps use "powertop" on your system to tune power consumption? This post is regarding NUT but also valid for APCUPSD, might shed some insight on the backgrounds of such issues: Mostly it's a combination of the USB implementation of the driver and one of the controllers either on machine or UPS. Not much one can do about that unfortunately, easiest things to try being another USB port or USB cable... Edited February 28, 20242 yr by Rysz
February 28, 20242 yr Community Expert No powertop here, and, surely it is a fault in the linux kernel drivers for usb. It happens on ANY Linux (and no Windows, even on the same hardware). As I said, the raspi with raspian (debian) faces the same problems, Windows and FreeBSD do not.
January 11, 20251 yr I have the same issue. however I have another Unraid box same version and it has no problem keeping the connection. only difference is the one that loses connection also has a Zigbee dongle passed through to a VM which works just fine. both currently running 6.12.14. both use same UPS model CP1500PFCLCD Edited January 11, 20251 yr by Leaf Fan
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.