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

Just installed the update and can confirm the plugin no longer breaks when enabling monthly benchmarks and clicking save.

  • Replies 1.7k
  • Views 249.7k
  • 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

On 3/3/2025 at 12:21 AM, FlamongOle said:

Update 2025.03.03

  • Commit #400 - IMPROVEMENT/MINOR: Added cronjob to use NVME data for warning and critical temperatures (this will be collected during a Force SMART+DB update). This should now follow Unraids default settings.

 

@s11 I was mistaken about the last conversation about this, nvme hot and max was not part of the global variable at all, so had to fetch the data myself. This version should be more correct!

Good fix 👍 I guess it was right or the data was given when the nvme temps were set explicit but to get values implicit it was necessary to use the unraid get_nvme_info method or your own impl using nvme id-ctrl command.

On 1/10/2025 at 2:38 PM, FlamongOle said:

Overhaul '25 will be limited for Unraid version 7

Ideally during dev, you should enable PHP warnings in Tools, PHP Settings.  Set them to All Categories.   Then  look at Tools / PHP Settings, PHP Log during your dev work.  IIRC correctly there are some PHP warnings coming from PHP 8's changes. 

 

Any improvements to handle the warnings in your code will be fully compatible with the older versions of PHP in 6.12.  (Highly unlikely you'd be using any PHP commands / features that have actual breaking changes)

 

  • Author
7 minutes ago, Squid said:

Ideally during dev, you should enable PHP warnings in Tools, PHP Settings.  Set them to All Categories.   Then  look at Tools / PHP Settings, PHP Log during your dev work.  IIRC correctly there are some PHP warnings coming from PHP 8's changes. 

 

Any improvements to handle the warnings in your code will be fully compatible with the older versions of PHP in 6.12.  (Highly unlikely you'd be using any PHP commands / features that have actual breaking changes)

 

It never saw the light, and 6.12 is still supported. The PHP log has usually been on, but as it turns off automatically during reboots, I sometimes forget to turn it one during development :P 

 

It shouldn't be any warnings I am aware of now, but the plugin is fairly large and have hell lot of different outcomes, usecases and systems, so hard to fetch them all at once.

Edited by FlamongOle

4 hours ago, FlamongOle said:

It never saw the light, and 6.12 is still supported. The PHP log has usually been on, but as it turns off automatically during reboots, I sometimes forget to turn it one during development :P 

 

It shouldn't be any warnings I am aware of now, but the plugin is fairly large and have hell lot of different outcomes, usecases and systems, so hard to fetch them all at once.

7.1 (soonTM) has them enabled by default.  Welcome to my aggravation at times.   One just showed up within CA out of the blue.   It's an annoyance right now, but as time goes on those PHP Deprecated issues will ultimately become fatal in future versions.

 

LOL. When we started Unraid 7 beta, we had to go and fix tons and tons of them.  Generally all uninitialized variables.   With CA I cheated as to start using ?? every time I'm looking at a variable or array key, I simply looked at every error that was popping up and initialized the main array with every possible entry set to null.  Saved a ton of work and debugging and the inevitable typos.

  • Author
13 hours ago, Squid said:

7.1 (soonTM) has them enabled by default.  Welcome to my aggravation at times.   One just showed up within CA out of the blue.   It's an annoyance right now, but as time goes on those PHP Deprecated issues will ultimately become fatal in future versions.

 

LOL. When we started Unraid 7 beta, we had to go and fix tons and tons of them.  Generally all uninitialized variables.   With CA I cheated as to start using ?? every time I'm looking at a variable or array key, I simply looked at every error that was popping up and initialized the main array with every possible entry set to null.  Saved a ton of work and debugging and the inevitable typos.

 

Ye, it's probably for the best to enable it by default, but I understand why it isn't right now. Would be a hell lot of messages popping up everywhere before plugin and Unraid devs got it all sorted out :P 

 

Haha ye exactly. PHP has been ugly/lazy that way. But even then, there's always some sneaky ones that hid themselves until someone did something you didn't account for :P Then you add some new ones, removes some old ones, and suddenly there's more of them. I do look at the log files from time to time to see if there's something popping up. But usually the users finds them first haha.
 

3 hours ago, FlamongOle said:

messages popping up everywhere

Display on screen is disabled by default.  (CA actually turns off that setting in its PHP if it's enabled as when its enabled every warning would tend to crash the javascript as it's not expecting it).

On 3/4/2025 at 3:52 PM, FlamongOle said:

Update 2025.03.04

  • Commit #402 - MINOR: Fixed that in some instances and configurations, the benchmark save would trigger an error resulting in an incomplete settings.json file.

I can't get this version...

 

Is this normal?

image.thumb.png.552c69dd2b36b7acd3b3709640e5e160.png

 

UnRAID can't check for newer version of this plugin. I'm on version 7.0.1.

 

  • Author
2 minutes ago, PetabyteLDA said:

I can't get this version...

 

Is this normal?

image.thumb.png.552c69dd2b36b7acd3b3709640e5e160.png

 

UnRAID can't check for newer version of this plugin. I'm on version 7.0.1.

 

This case has several posts already, you'll find answers just 1 or 2 pages back 😛

3 minutes ago, FlamongOle said:

This case has several posts already, you'll find answers just 1 or 2 pages back 😛

 

Yeah, it says it only occurs when we install the plugin manually. This was not my case. I've installed using CA APPS.

The only plugin I've installed manually was the "Folder View" for UnRAID 7.

 

Do I need to do the same procedure? Uninstall and install again?

Is there any way to keep the existing configuration?

  • Author
2 minutes ago, PetabyteLDA said:

 

Yeah, it says it only occurs when we install the plugin manually. This was not my case. I've installed using CA APPS.

The only plugin I've installed manually was the "Folder View" for UnRAID 7.

 

Do I need to do the same procedure? Uninstall and install again?

Is there any way to keep the existing configuration?

Config's always untouched.

 

not sure why it stops at the 2024-edition version as I think it should use the newest date available at all times. I guess I should check some stuff.

I don't know if this helps, but I just noticed, I've 3 directories in /boot/config/plugins related to "Disk Location". Is this normal?

 

image.png.abcc142e7452fc46a292e0c06ed1c577.png

  • Author
Just now, PetabyteLDA said:

I don't know if this helps, but I just noticed, I've 3 directories in /boot/config/plugins related to "Disk Location". Is this normal?

 

image.png.abcc142e7452fc46a292e0c06ed1c577.png

I don't know why disklocation-2024-edition folder exists if you never installed it manually. However, it is safe to delete. disklocation and diskalocation-master are both required. disklocation-master must be there to enable crontabs after reboots etc. disklocation is the main folder for settings. Everything under disklocation are settings etc. and won't be touched during uninstall, these can only be removed manually or reset in the System tab or Recovery.

  • Author

@Squid since you're "here" 😛 

 

Do you detected any issues with the versions or some configs with Disk Location in CA? Looks like several users have issues with automatic updates from 2025.02.08 specifically.

 

I just updated the CA xml for last plugin update version (but usually that didn't/doesn't matter).

I've deleted the 2024 folder but the problem with the update persists...

  • Author
1 hour ago, PetabyteLDA said:

I've deleted the 2024 folder but the problem with the update persists...

It has nothing to do with the folders, just uninstall it, then install it again

49 minutes ago, FlamongOle said:

It has nothing to do with the folders, just uninstall it, then install it again

 

Now it's on the latest version. Configuration was kept intact.

 

Thank you for your support!

Good morning!

 

I've got two questions, and I'm sure they are something I must be missing...  Thanks for a very nice map that my OCD loves!  And thanks for any help/pointers!

 

#1 - In the Tray Allocations tab, I can't select a custom color - they appear to be disabled.  I've tried in Safari on Mac, Safari on iPad, and Firefox/Chrome/Edge on Windows.

image.png.bcbeaf200e217ecbb72e126e4f40bc89.png

 

#2 - I'm having some difficulty getting my tray configuration the way I want it.  What I'd like to see:

desired.thumb.png.953e47973d5b5881c780e32199e39ab8.png

 

Here's what I get with "Count bypassed..." UNchecked:

skipbypassed.thumb.png.5a14c06cc6f7231b211f39a5132a3742.png

 

And here's what I get with "Count bypassed..." Checked:

countbypassed.thumb.png.6c6c387479803e86b6fe6161dcca0048.png

hi,

 

I just wanted to report a problem I had with the Disk Location plugin.  I was having 2 problems on my unraid server.  It recently started crashing and going unresponsive every couple of days, and there was no content at all under the Dashboard tab of the Unraid UI. No idea if the problems are related.


In working with support for the Dashboard issue they had me boot into safe mode which did fix the dashboard issue.  So I started to remove plugins.  Once I removed the Disk Location plugin then the problem with the dashboard went away and it started functioning normally. 

I do not know the last time I updated I updated the plugin or what version it was on.  Once the problem started I did update unraid from 6.12ish to 7.01.  That in itself did not fix anything.I thought I updated all plugins a week or so ago but I'm not positive.  That might have just been dockers.

 

Anyway I just wanted to make note of a potential issue with Disk Location.  Honestly it was my favorite plugin as I have 7 drives in now and plan for more.

 

  • Author
On 3/7/2025 at 5:09 PM, NotesIn9 said:

hi,

 

I just wanted to report a problem I had with the Disk Location plugin.  I was having 2 problems on my unraid server.  It recently started crashing and going unresponsive every couple of days, and there was no content at all under the Dashboard tab of the Unraid UI. No idea if the problems are related.


In working with support for the Dashboard issue they had me boot into safe mode which did fix the dashboard issue.  So I started to remove plugins.  Once I removed the Disk Location plugin then the problem with the dashboard went away and it started functioning normally. 

I do not know the last time I updated I updated the plugin or what version it was on.  Once the problem started I did update unraid from 6.12ish to 7.01.  That in itself did not fix anything.I thought I updated all plugins a week or so ago but I'm not positive.  That might have just been dockers.

 

Anyway I just wanted to make note of a potential issue with Disk Location.  Honestly it was my favorite plugin as I have 7 drives in now and plan for more.

 

There's been several updates about this, so hard to know without any PHP error log and not knowing which version that was installed.

 

Feel free to check the PHP log if there's anything in there about this plugin. Otherwise, not much I can do.

For some reason I can't seem to update the plugin to the latest version. I still have the older version (2025.02.08), and when i go to the plugins page it says not available next to just this one. In community applications, it shows it installed.

29 minutes ago, HynesJeff said:

For some reason I can't seem to update the plugin to the latest version. I still have the older version (2025.02.08), and when i go to the plugins page it says not available next to just this one. In community applications, it shows it installed.

Just check some pages back. I had the same error and help was provided in this forum to fix it.

Just uninstall the plugin and install it again. Configuration is not deleted during uninstall.

2 minutes ago, PetabyteLDA said:

Just check some pages back. I had the same error and help was provided in this forum to fix it.

Just uninstall the plugin and install it again. Configuration is not deleted during uninstall.

worked, ty!

15 minutes ago, HynesJeff said:

worked, ty!

Welcome!

  • Author

Update 2025.03.12

 

  • Commit #407 - MINOR: Obsolete files function listing wrong entries. Found a minor flaw where the obsolete files function would include the backup list into the array if no obsolete files were detected. This would just list "0" and do no harm, neither delete the backups as it was an non-parseable array by the function.
  • Commit #405 - IMPROVEMENT: Removed a few History tags that would just become empty as it won't contain any data. If they are selected, an error message will popup and a red border around the faulty area.
  • Commit #404 - MINOR: Commit not found. Reported by user @SickPup404, not found. Just kidding 😛 Tray count wrong in some count directions if bypassed trays are enabled. Rewrote the tray numbering function.
     

FOR USERS WITH STUCK UPDATES: Tried to work around a possible flaw where the plugin would not automatically update, it might at some point been headed to the 2024-edition branch instead of the master branch. New installation file in 2024-edition branch will point it back to the master branch, hopefully. Alternatively, re-installation of the plugin might be required if it continues to be stuck on version 2025.02.08. Re-installations/removal will NOT remove any configuration.

Edited by FlamongOle

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.