March 23, 20224 yr Hello! So a few months back I got a UPS and finally got around to setting it up. My problem is as soon as the UPS switches to battery, the server shuts downs. Here is my NUT settings: I hooked up a monitor so I can watch what gets displayed on the terminal and it is this: After that it displays the normal shut down stuff and shuts down cleanly. From that picture it looks like two things are going one: 1: something is saying there is a power-fail and is forcing a shutdown 2: NUT is working and is attempting to wait for 5 mins before shutting down I jump to the idea that my UPS is not working correctly and the server sees a bad voltage for a second, but it is still on so it cant be that bad, can it? Anyone have a better idea, or see something I missed?
March 24, 20224 yr What UPS are you using? I recently upgraded my UPS and via USB I am able to utilize the built in UPS plugin
March 24, 20224 yr Author I got this one: https://www.apc.com/shop/us/en/products/APC-Back-UPS-Pro-1500VA-for-Gaming-120V-Pure-Sinewave-LCD-Black-3-USB-charging-ports-10-NEMA-outlets-4-surge-/P-BGM1500B I did initially try to use the built it and it didn't seem to recognize it, I can give it another go though, good idea
March 24, 20224 yr I went with a CyberPower 1500VA 900 W that has the same Eth and coax in/out options. But my cyber power had USB B also. Then it worked for my setup. My first UPS with USB A both ends was a no go
March 24, 20224 yr Author Thanks! Just tried the built in one, and it set it like this: Gonna have to wait till tomorrow to shut the breaker to test it but hopefully it was that , Thanks for the pic Edit: I just saw Time b4 shutdown is in seconds on this one, whoops Here's updated version: Edited March 24, 20224 yr by InCaseOf
March 24, 20224 yr Author I was able to test the new setup shown in the previous pictures just now and as soon as I flip the breaker off, the ups kicks to battery, Unraid starts a clean shutdown, despite the ups shutdown settings not being met. I do have my modem connected to the UPS and that hasn't power cycled once. I did this with the updated 300 second shutdown timer Maybe tomorrow I can turn off all the Unraid UPS daemons and test the ups, if it still shuts Unraid down then its a UPS problem, I think that makes sense Edited March 24, 20224 yr by InCaseOf
March 24, 20224 yr Awesome, yeah i have my modem, router, camera nvr, server, and couple other misc. things connected. After spinning up grafana dashboard i average about 120ish watts pull on it.
March 24, 20224 yr Author Very nice! Yeah man UPS-s are awesome when they work lol. Still trying to figure out this thing, I can't imagine it should be this difficult to setup, probobly gonna reach out to APC depending on how tomorrow goes, thanks for the help though!
March 24, 20224 yr Well i guess one way to test is just unplug it from the wall outlet 😆 Looking at your screenshots if that information is populated and you're getting stat readouts should be good to go.
March 24, 20224 yr It is not a great idea to unplug the UPS as everything on it with loose GROUND. It is safer to flip a breaker.
March 25, 20224 yr Author Solution So, I went back to the default UPS daemon and it reported that my ups was OFFLINE which made unraid shut off. I did a bit more digging Found this tread Which led me to this comment I re-installed NUT and everything is working as it should be, maybe a bug with NUT? No clue since my was detecting the UPS Anyway, thanks for the help! Just wanted to add this here in case someone else runs into this problem Edited March 25, 20224 yr by InCaseOf
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.