InCaseOf Posted March 23, 2022 Share Posted March 23, 2022 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? Quote Link to comment
Moose_Yooper Posted March 24, 2022 Share Posted March 24, 2022 What UPS are you using? I recently upgraded my UPS and via USB I am able to utilize the built in UPS plugin Quote Link to comment
InCaseOf Posted March 24, 2022 Author Share Posted March 24, 2022 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 Quote Link to comment
Moose_Yooper Posted March 24, 2022 Share Posted March 24, 2022 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 Quote Link to comment
Moose_Yooper Posted March 24, 2022 Share Posted March 24, 2022 This setting worked for me at least. Quote Link to comment
InCaseOf Posted March 24, 2022 Author Share Posted March 24, 2022 (edited) 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, 2022 by InCaseOf Quote Link to comment
InCaseOf Posted March 24, 2022 Author Share Posted March 24, 2022 (edited) 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, 2022 by InCaseOf Quote Link to comment
Moose_Yooper Posted March 24, 2022 Share Posted March 24, 2022 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. Quote Link to comment
InCaseOf Posted March 24, 2022 Author Share Posted March 24, 2022 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! Quote Link to comment
Moose_Yooper Posted March 24, 2022 Share Posted March 24, 2022 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. Quote Link to comment
ChatNoir Posted March 24, 2022 Share Posted March 24, 2022 It is not a great idea to unplug the UPS as everything on it with loose GROUND. It is safer to flip a breaker. 1 Quote Link to comment
Solution InCaseOf Posted March 25, 2022 Author Solution Share Posted March 25, 2022 (edited) 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, 2022 by InCaseOf Quote Link to comment
Moose_Yooper Posted March 25, 2022 Share Posted March 25, 2022 Glad you figured it out. Anything's possible in the world of IT 🤓 Quote Link to comment
InCaseOf Posted March 25, 2022 Author Share Posted March 25, 2022 Lol for real! Thanks again Moose! 1 Quote Link to comment
Recommended Posts
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.