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.

Open Files Alert package

Featured Replies

Here is a little something I have been using for a long time that alerts me when there are open files on the unRAID array that will (likely) prevent shutdown.  I haven't had time to change it to a .plg plugin so I thought I'd throw it out there for whoever wanted it.

 

It has saved my bacon several times when I went to do a shutdown and something I forgot was running had files open on the array.

 

It will also show you the name of the application that has the files open and permit you to kill the process if necessary.

 

It adds a new tab called "Alerts" to the Main display with an icon that changes if there are any open files that may block shutdown.

 

Ultimately I'd like to add an alert on the Array Actions Operation page and require an extra click-through when stopping the array if files blocking dismount are open.

 

Unzip and use installpkg.

 

Enjoy.

OpenFileAlert-0.5.0-unraid-bubba.zip

Image2.jpg.09d5dd31b3053a1e8e0fc7caf43ee32c.jpg

Image3.jpg.f57c3c7f6627706061a1d7f554565733.jpg

Image4.jpg.dca468dc7ceea0be2bf4c73ac32c75c5.jpg

Clever! Will have to give this a shot

I am considering turning this into a plugin to help those that can't figure out why their server isn't shutting down cleanly.  Can I get your permission to do that?

Other than the support for the Alerts tab is not all this functionality already available via Dynamix Active Streams plugin?    If so might a better (and easier) way forward might be to see if a request to add the alerts tab (or some other equivalent) to that plugin would be accepted.

 

The Dynamix Active streams plugin already shows on the Dashboard if there are streams open so gives an indication that shutdown might be an issue, and more details via Tools->Active Streams so it seems everything essential might already be there.

 

Also, since the current GUI is based on Dynamix that might mean there is more chance of the functionality being integrated into the standard build?

Just looking at options at this point.  I think this might offer a little more functionality.  I am going to have a look.

 

If it makes sense to be a dynamix add on, or functionality enhancement, then I can offer it to bonienl.

  • Author

I am considering turning this into a plugin to help those that can't figure out why their server isn't shutting down cleanly.  Can I get your permission to do that?

 

Sure... go ahead.

 

This has features that are not in Active Streams.... such as interactively identifying and killing processes, as well as identifying loopback mounts.  It uses at the core:

 

lsof -F facn /mnt/disk* /mnt/user* /dev/loop* /dev/md* /mnt/cache

Can't kill a process.  Something is missing.

 

	window.open(document.location.href + "?pnum=" + pnum +"&action=kill");

 

Edit: I got it.

  • Author

Security first.  Need to sanitize the input. ;)

BubbaQ, Can you give me your script for creating the package?  Right now I am just zipping the emhttp files and I'd like to make a package instead.  I am not that familiar with making packages.

 

Thank you.

  • Author

I don't use a script.... I build by hand and CLI.

I don't use a script.... I build by hand and CLI.

 

Ok.  It's fine.  I will use what I have.  It works.

Archived

This topic is now archived and is closed to further replies.

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.