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.

[PLUGIN] Disk Location

Featured Replies

  • Author
1 hour ago, aeolos said:

I was thinking if it was possible to have an option to display all the info inside the box and not on the mouse over.

On my configuration (which your settings are just amazing !!!) my dashboard settings are the following which means if we split the dashboard view on the two columns by set specific percent of the dashboard title all the info would be able to fit (width wise).

Is this possible ? If you need any help with tests more than welcome to help !!!!

Thank you in advance.


[huge]*pool*[/huge]

node name

manufacturer

model

capacity rotation formfactor

[color:FFFFFF]*[serial]*[/color]

comment


image.png

No this is not possible, the widget type of the dashboard are meant only for reference and quick overview.

  • Replies 1.6k
  • Views 249.2k
  • Created
  • Last Reply

Top Posters In This Topic

Most Popular Posts

  • olehj is the maintainer and it's his choice to do with the plugin what he sees fit.   It is, however, unusual to release to production a version that requires a beta OS release, instead of r

  • FlamongOle
    FlamongOle

    Update 2025.05.29 Commit #446 - BUG: Fatal error in page_system - causing furious rage in the forums :P Syntax error, misplaced parentheses 😅 @Mr Q I have an idea for you. Why don't you save your o

  • You guys please settle down.  The fact that sqlite support was in php in the first place was an oversight.  We never intended that a plugin would utilize a database application and honestly, I didn't

Posted Images

  • Author

Update 2025.10.15

  • Commit #473 - MINOR: Math is difficult, corrected wrongly counted number of assignable devices when bypassed trays where used.

@aeolos try this update

Hey Folks!

I'm afraid something went wrong with the last update :) After updating tge plugin to the latest version (2025.10.15), the Dashboard page is blank. Same is Tools -> Disk Location. Trying to Force SMART+DB From Tools -> Disk Location Recovery ends with HTTP 500.

Hello ,

@FlamongOle Thank you for the update , issue with the count is resolved ! image.png

@dariusz.smolarek Latest update is working without any issue on my setup. One think that i have observed is that on plugin dashboard (Tools --> Disk Location) page looks empty but if i scroll down everything is there (seems that is not showing the bypassed/hidden disks, but keeps the space unused) image.png

Hmm, I have a strange problem...

Today I have added 2 more drives, they showed up in "disk location" after some minutes.

And of course it wanted to do "force smart update & db" too.

But then many (about 4 or 5) of the old disks vanished!

Some of them reappeared later on having lost group and location :-(

After some hours (and a lot of pushes on "force...") all drives are back, but most of them needed to be re-added manually to the grafics. Seems that the stored info was lost somehow.

Now we are back to business (I hope it stays this way).

Any idea what happened? just added 2 new drives and the plugin goes havoc?

  • Author
2 hours ago, MAM59 said:

Hmm, I have a strange problem...

Today I have added 2 more drives, they showed up in "disk location" after some minutes.

And of course it wanted to do "force smart update & db" too.

But then many (about 4 or 5) of the old disks vanished!

Some of them reappeared later on having lost group and location :-(

After some hours (and a lot of pushes on "force...") all drives are back, but most of them needed to be re-added manually to the grafics. Seems that the stored info was lost somehow.

Now we are back to business (I hope it stays this way).

Any idea what happened? just added 2 new drives and the plugin goes havoc?

Out of curiosity, do you use the deprecated "tray override" somwhere? It might have been destroyed in this update.

  • Author
4 hours ago, aeolos said:

Hello ,

@FlamongOle Thank you for the update , issue with the count is resolved ! image.png

@dariusz.smolarek Latest update is working without any issue on my setup. One think that i have observed is that on plugin dashboard (Tools --> Disk Location) page looks empty but if i scroll down everything is there (seems that is not showing the bypassed/hidden disks, but keeps the space unused) image.png

Hidden trays are "there" but hidden. If you want them on top, you must configure it accordingly.

  • Author
5 hours ago, dariusz.smolarek said:

Hey Folks!

I'm afraid something went wrong with the last update :) After updating tge plugin to the latest version (2025.10.15), the Dashboard page is blank. Same is Tools -> Disk Location. Trying to Force SMART+DB From Tools -> Disk Location Recovery ends with HTTP 500.

Out of curiosity, do you use the deprecated "tray override" somewhere? It might have been destroyed in this update.

  • Author

Update 2025.10.16

  • Commit #475 - MINOR: Due to recent changes, the old deprecated "tray override" did malfunction. Reverted some minor changes.

Try this update @dariusz.smolarek and @MAM59

But anyway, reconfigure "tray override" to something more useful, one day it will be removed entirely.

If this doesn't solve it, I can't look into it until weekend.

Edited by FlamongOle

On 10/15/2025 at 11:53 AM, FlamongOle said:

Update 2025.10.16

  • Commit #475 - MINOR: Due to recent changes, the old deprecated "tray override" did malfunction. Reverted some minor changes.

Try this update @dariusz.smolarek and @MAM59

But anyway, reconfigure "tray override" to something more useful, one day it will be removed entirely.

If this doesn't solve it, I can't look into it until weekend.

Thank you for your answer. No, I'm not using the "tray override" feature. Even when updated to the latest version, the Dashboard page was empty. I removed the plugin and tried to reinstall it. Unfortunately, this doesn't help. Dashboard and plugin configuration pages don't work. If you want I can try to gather some logs for you, but please tell me how to do it.

I navigated to Tools -> Disk Location, and it looks like I have absolutely no content rendered. See the screenshot from Chrome Dev Tools:
image.png

Same on the Dashboard page -> Nothing is rendered besides the header. Removing the Disk Location plugin resolves the issue.

Edited by dariusz.smolarek

  • Author

Update 2025.10.17

  • Commit #478 - BUG/FEATURE: Tray Allocations might have faulted in some occasions, adjusted some code to prevent that from happening again. Added selector boxes under "Layout" instead of radio buttons. Added "hide" for the group name text.

@dariusz.smolarek please try this one, I haven't been able to reproduce the fault myself, but this should check for some variables that might go into an error.

On 10/17/2025 at 11:32 PM, FlamongOle said:

Update 2025.10.17

  • Commit #478 - BUG/FEATURE: Tray Allocations might have faulted in some occasions, adjusted some code to prevent that from happening again. Added selector boxes under "Layout" instead of radio buttons. Added "hide" for the group name text.

@dariusz.smolarek please try this one, I haven't been able to reproduce the fault myself, but this should check for some variables that might go into an error.

Hey @FlamongOle , Here are the error logs. Same error on both -> Dashboard and Disk Location settings pages:

[19-Oct-2025 13:56:04 Europe/Warsaw] PHP Fatal error:  Uncaught TypeError: array_key_exists(): Argument #2 ($array) must be of type array, null given in /usr/local/emhttp/plugins/disklocation/pages/variables.php:135
Stack trace:
#0 /usr/local/emhttp/plugins/disklocation/pages/functions.php(23): require_once()
#1 /usr/local/emhttp/plugins/disklocation/pages/system.php(23): require_once('/usr/local/emht...')
#2 /usr/local/emhttp/plugins/dynamix/include/DefaultPageLayout.php(864) : eval()'d code(24): require_once('/usr/local/emht...')
#3 /usr/local/emhttp/plugins/dynamix/include/DefaultPageLayout.php(864): eval()
#4 /usr/local/emhttp/plugins/dynamix/template.php(94): require_once('/usr/local/emht...')
#5 {main}
  thrown in /usr/local/emhttp/plugins/disklocation/pages/variables.php on line 135

The above log comes from 2025.10.17 version

Edited by dariusz.smolarek

  • Author

Update 2025.10.19

  • Commit #480 - BUG: Fixed a bug where benchmark migration would search for 'null' instead of an array.

@dariusz.smolarek please try this update

14 hours ago, FlamongOle said:

Update 2025.10.19

  • Commit #480 - BUG: Fixed a bug where benchmark migration would search for 'null' instead of an array.

@dariusz.smolarek please try this update

Hey, @FlamongOle , it finally works. The only problem is I can't restore the configuration from my backups. No matter which backup I select - plugin is not initialized. I'll be starting from scratch, no big deal. Thank you for fixing the plugin!

  • Author
4 hours ago, dariusz.smolarek said:

Hey, @FlamongOle , it finally works. The only problem is I can't restore the configuration from my backups. No matter which backup I select - plugin is not initialized. I'll be starting from scratch, no big deal. Thank you for fixing the plugin!

Can you give me the output from the PHP logs again? Maybe there's some old configs or something which is conflicting somehow, might help others, or for you to restore later.

5 hours ago, FlamongOle said:

Can you give me the output from the PHP logs again? Maybe there's some old configs or something which is conflicting somehow, might help others, or for you to restore later.

Already checked - unfortunately the log is empty.

  • Author
10 minutes ago, dariusz.smolarek said:

Already checked - unfortunately the log is empty.

Alright, thanks anyway.

New user of this plugin here. It was recommended as useful to keep track of mapping between array drives and physical slots in a server.

I just installed, and see this on the dashboard:

Please configure Disk Location

  1. First go to "System", click "Force SMART+DB", this might take some time depending on how many drives you have installed.

Then the stern warning on the System tab "Force SMART+DB" button:

NB! Operations done on this page will execute without warning or confirmation and cannot be undone after execution!

Can anyone explain what Force SMART+DB actually does? Does it pose any risk to my array?

  • Author
46 minutes ago, timg11 said:

New user of this plugin here. It was recommended as useful to keep track of mapping between array drives and physical slots in a server.

I just installed, and see this on the dashboard:

Please configure Disk Location

  1. First go to "System", click "Force SMART+DB", this might take some time depending on how many drives you have installed.

Then the stern warning on the System tab "Force SMART+DB" button:

NB! Operations done on this page will execute without warning or confirmation and cannot be undone after execution!

Can anyone explain what Force SMART+DB actually does? Does it pose any risk to my array?

It will put your server on fire, be careful

  • Author
16 hours ago, FlamongOle said:

It will put your server on fire, be careful

But in all seriousness, this warning message should probably just be deleted by now as the System page has changed quite a bit since it was first created :P

I would not refer to it, if it wouldn't be safe. It will spin up drives in standby, but that's more or less the most harmful thing that is done.

Warning message will be deleted next release, and text adjusted.

Edited by FlamongOle

The last update (2025.10.19) seems to have broken the plugin for me. There is a new 'pages' share on my array with disklocation php files. THe plugin isn't listed on the tool tab anymore and myserver/Tools/disklocation shows a blank page.

Does anyone else has the same issue ?

I've made a bug report on github (https://github.com/olehj/disklocation/issues/482)

  • Author
1 hour ago, seneo said:

The last update (2025.10.19) seems to have broken the plugin for me. There is a new 'pages' share on my array with disklocation php files. THe plugin isn't listed on the tool tab anymore and myserver/Tools/disklocation shows a blank page.

Does anyone else has the same issue ?

I've made a bug report on github (https://github.com/olehj/disklocation/issues/482)

This is the strangest thing I've seen. There's no reason or really a possibility that this plugin would end up on any Unraid or other places than on the boot device you run Unraid from (typically USB drive).

Do you have any errors listed in PHP Settings logs related to this plugin?

I would also like to know the contents of one of the files in cache/pages, give me the top 3 lines of "locate.php" - I will make some further checks to prevent this regardless. Should be safe to delete that folder afterwards though.

I would in your case, delete the plugin the normal way (if possible). Then go to where it has been installed, your cache and delete it from there and then remove the pages share.

Then when it's wiped, install it again from community apps. Your settings should be intact on the USB drive, you can always check in terminal:

ls -l /boot/config/plugins/disklocation/

But how this happened is very strange and honestly makes no sense.

Edited by FlamongOle

  • Author

I would for sure check your system for any kind of corruption too, there's nothing I have changed or added that should make this happen.

The only major thing that in theory could cause this, is the new benchmark migration of the JSON files, but all locations are hard-coded with defined constants and would not leave outside the plugins area.

It does check for the specific location before even trying to run the code (which would fail if it somehow would pass it):

define("UNRAID_CONFIG_PATH", "/boot/config");
...
define("DISKLOCATION_PATH", "/plugins/disklocation");
...
is_dir(UNRAID_CONFIG_PATH . "" . DISKLOCATION_PATH . "/benchmark")

That path is specific to "/boot/config/plugins/disklocation/benchmark"

That's the only real file level change since a long time, and this can't be the cause.

Edited by FlamongOle

  • Author

Update 2025.10.23

  • Commit #483 - IMPROVEMENT: Added an extra check to verify JSON check during benchmark migration, in case this is related to #482.

  • Changed some code in benchmark page to prevent rest from not loading if a variable is empty.

  • Changed some minor text in system page to not scare people :P

This adds just another level of preventing what happened to @seneo , but I don't understand why it would do that in the first place. Please read earlier post and give me the info in case you find any. Otherwise, try what I said in earlier 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.

Guest
Reply to this topic...

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.