Everything posted by Rysz
-
[Plugin] NUT v2 - Network UPS Tools
Can you try raising the UPS Driver (not NUT Monitor!) Debug Level to 6 and post the syslog output?
-
[Plugin] NUT v2 - Network UPS Tools
The latest update allows adding the port to the IP address in GUI settings, please try and report back if it works. I've added a UniFi workaround in the latest update, please try and report back if it works. If using a custom port - the latest update allows adding the port to the IP address in GUI settings (if not the default of 3493).
-
[Plugin] NUT v2 - Network UPS Tools
Unfortunately not, I also like it better on the left but plugin developers were asked to put it on the right (the other plugin you're having probably wasn't updated for the new OS version yet).
-
[Plugin] NUT v2 - Network UPS Tools
I'm working on a client side mitigation of the UniFi protocol problems, hopefully I'll have good news with the next update to get these UPS functional for you all.
-
[Plugin] NUT v2 - Network UPS Tools
We'll have to see if more reports surface with users updating to 7.2. NUT code paths haven't changed and are all relative, so no assumptions about protocol/port are made. What's more is, it works for me on 7.2. over HTTP also... so perhaps something on your end (browser, proxy...)?
-
[Plugin] NUT v2 - Network UPS Tools
I just saw this is a UniFi UPS, these currently seem to have a non-compliant implementation of the NUT protocol. It seems to work for some users without authentication enabled on the NUT server side, so maybe you can try that... Windows NUT works because it queries a few individual variables, as opposed to our full variable dump. A compliant NUT server must implement both individual variable queries and full dump queries, theirs doesn't seem to. Unfortunately this is a problem on the vendor side, so nothing I can do from my point of view. https://forums.unraid.net/topic/60217-plugin-nut-v2-network-ups-tools/page/78/#findComment-1585510 https://community.ui.com/releases/UniFi-UPS-1-4-13/fdd23b70-1191-4bc1-8485-d85c41a3a510 https://forums.unraid.net/topic/60217-plugin-nut-v2-network-ups-tools/page/78/#findComment-1585683 https://community.ui.com/questions/UniFi-UPS-sends-incorrect-responses-in-NUT-protocol/7f862573-eda4-4180-a987-0aca1233ee8a#answer/a857cb90-866a-4db0-9f8a-9e1dab1af14a
-
[Plugin] NUT v2 - Network UPS Tools
Is the server running on a specific port?
-
[Plugin] NUT v2 - Network UPS Tools
The plugin uses relative paths, and I'm also accessing over HTTP (as I'm sure many others do), so I think this is maybe your browser enforcing SSL on these (sub-)requests?
-
[Plugin] NUT v2 - Network UPS Tools
It works for me: Please check in your browser console and the PHP Settings (Tools => PHP Settings => View Log) if there's any issues.
-
[Support] Linuxserver.io - Nextcloud
Let's all get back to being nice to each other and respecting our forum rules, thanks.
-
[Plugin] NUT v2 - Network UPS Tools
Thanks for the information, I think I traced this issue to a specific GUI settings problem. I'll add a custom "Port" setting, as part of the next update to NUT, which should resolve the issue. The problem is that the GUI assumes the default NUT port at the moment, which the user should be able to change.
-
[Plugin] NUT v2 - Network UPS Tools
This is not related to NUT, but rather to the kernel USB subsystem (so the kernel version in combination with your hardware). There's not much to do on the NUT side, because with such instabilities, even if it retries initial connections, it'll fail again eventually. I'd try another USB port (maybe a 2.0 one) or worst case downgrade the OS/wait for an Unraid OS version with a newer kernel version...
-
[Plugin] NUT v2 - Network UPS Tools
On another look... is your UPS name wrong? You're monitoring "nut-srvr", but your UPS name is "nutups"? If you're monitoring "nut-srvr", the UPS name must also be "nut-srvr" - otherwise the GUI won't show the values.
-
[Plugin] NUT v2 - Network UPS Tools
Please try to spin up all your array disks and try the debug package generation again. By any chance, is the UPS server you're trying to connect to running on a UniFi UPS? I'm not sure about your exact setup though, what happens when you run in command-line: upsc [email protected]:34493
-
[Plugin] NUT v2 - Network UPS Tools
I just checked with RC2 and the NUT software itself is fully functional. Your system log has a lot of kernel USB subsystem errors, unrelated to NUT. Power saving (e.g. powertop) or a kernel version compatibility problem with your hardware are possible causes. These kind of problems can however also affect the connectivity of NUT with the UPS, even if not caused by NUT itself.
-
[Plugin] NUT v2 - Network UPS Tools
Please post the NUT debug package that's found in NUT Settings.
-
[Plugin] NUT v2 - Network UPS Tools
Regarding Unifi UPS devices, it seems my guess of a broken, non-compliant protocol implementation on their side was right: https://community.ui.com/questions/UniFi-UPS-sends-incorrect-responses-in-NUT-protocol/7f862573-eda4-4180-a987-0aca1233ee8a#answer/a857cb90-866a-4db0-9f8a-9e1dab1af14a This means that users will need to wait for a firmware update to fix these UPS-side issues.
-
[Plugin] NUT v2 - Network UPS Tools
Can you try running in command line: upsc [email protected] upsc [email protected] ups.status
-
[Plugin] NUT v2 - Network UPS Tools
Nothing unusual sticks out, but it says access denied and looks like a credentials issue. Although that is weird, because even with wrong credentials it should show information (just not register as "slave"/secondary). It does look like they perhaps baked in some stricter authentication on their own; other UniFi UPS users do report: Still no dice connecting to the NUT server while using authentication. Unauthenticated seems OK, just when setting a username/password the NUT server is returning a mix of "ERR ACCESS-DENIED" and "ECONNRESET" when attempting to connect from any 3rd-party NUT client. https://community.ui.com/releases/UniFi-UPS-1-4-13/fdd23b70-1191-4bc1-8485-d85c41a3a510 Maybe this is even some kind of "fake" NUT server (just speaking NUT protocol) that just isn't fully bug-free yet (just a guess). In any case, I'd also try maybe using credentials that don't have any special characters, that could be a factor also... not sure...
-
[Plugin] NUT v2 - Network UPS Tools
Please post the NUT Debug Package found in NUT Settings.
-
[Plugin] NUT v2 - Network UPS Tools
Can you try putting in your UPS.CONF on line 9 or later: synchronous Then save and (re-)start NUT?
-
[Plugin] NUT v2 - Network UPS Tools
Thank you, that's great to hear - please make sure to remove the debug line from the configuration again and restart NUT after. Otherwise the debug information will fill up your logs.
-
[Plugin] NUT v2 - Network UPS Tools
Please add to UPS.CONF: debug_min = 6 and try starting again, then post the debug package again.
-
[Plugin] NUT v2 - Network UPS Tools
I'm confident we can get this to work with NUT as it reports as: Bus 003 Device 002: ID 2b89:ffff UGREEN US3000 And this type of UPS is reported to work with NUT after some tweaking of settings: https://github.com/networkupstools/nut/issues/2987 First stop NUT, then set this setting: Then apply the setting and on the same page go to the NUT Configuration Editor. Put into UPS.CONF the following settings: Save the settings and then change this setting as follows: Then apply the setting and start NUT again, report back if it works. If it doesn't work, produce another debug package and post it again here.
-
[Plugin] NUT v2 - Network UPS Tools
Thank you, any chance you could also post the drivers you were given? I may be able to take a look if we can derive a driver for NUT from them.