Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

TengaM

Members
  • Joined

  • Last visited

  1. Here is the custom script I am now using - unraid-scripts/pwr-checker.sh at main · yddimitrov/unraid-scripts (github.com) I have tested couple of scenarios, and it will cover my basic needs. I will report back after long term usage and/or some real-world events. I do plan to evolve the script if needed so any feedback is welcomed and much appreciated. Thanks!
  2. As of now I've decided to go with the cheapest option and write a scheduled bash script which pings 3 devices in my network: 1. Main router which is on the UPS 2. Raspi directly on the grid 3. Second Wifi node directly on the grid Why 3 devices? Well the main router is to control the cases where the there is a network outage or the router is updating or restarting. The other two are to exclude cases where one devices is restarting or shut down. I do 5 pings each and the logic is: [ $pi_count = 0 ] && [ $node_count = 0 ] && [ $router_main_count != 0 ]; So the server will shutdown if the two grid devices are not responding at all and the router on the UPS is still available. I know there are scenarios where this can be problematic but I think it will cover 95% of the cases. I plan to do some more testing and share the script for the benefit everyone having the same issue. The official solution for me will be to get the correct UPS and sell this one or give it away to a friend. But before I go that route out of curiosity I want to test this approach.
  3. That is not a bad suggestion at all (at least the second part of getting a small USB connected UPS), but I will have to see if there is enough space to put the second UPS under my desk as well. On the topic of software solutions of this problem any other suggestions?
  4. Hi everyone, It's my first post here but I am a proud UnRaid owner for the past year or so. I have built a decent machine for my use case which is mainly storing files and movies and streaming with Plex but recently we started getting power outages and It's always annoying to do parity check after an outage and sometimes it happens couple of times in a row. My Parity is 8TB and it takes a while to complete. So, I decided to do the smart thing and get an UPS just for the sole purpose of shutting down my server gracefully and keeping the network gear operational. But I made a tiny, small mistake while ordering the UPS from a local reseller and I selected the wrong model - APC BVX1600LI-GR (instead of BX1600MI-GR) and I received the unmanaged version without any connectivity. Given that I cannot return or swap the UPS and I do want to use it I am now looking at other options for triggering a shutdown event when the power is out. I have a spare Raspberry Pi laying around and I had the idea of connecting it to the network and not on the UPS so when the power goes out the Pi will be offline. Then I just need to write a script to ping the Pi (or an API running on it) and after "n" number of failed pings for a given period (e.g. 5 consecutive failed pings with 30 seconds apart) to shut down the server gracefully. I think this will be a working solution with some potential problems, but I am looking for a ready solution in such scenarios where the UPS cannot communicate with the UnRaid server. Any suggestions?

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.