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

44 minutes ago, FlamongOle said:

Update 2025.05.28

  • Commit #444 - BUG: Virtual drives causes dashboard issues due to missing SMART data. Made an ignore list for these devices to prevent slower SMART collecting.

  • Commit #443 - MINOR: Undefined array key and Passing null to file_exists in page_system.

You can try this @grupoleon , I have not been able to test it, but a Force SMART is required after update. This should be updated every reboot etc., but can cause issues during hot swap (but very unlikely).

dude you have be awesome. but it is now throwing this error and "system" tab won't render. have tried to uninstall and re-install.

[28-May-2025 10:23:58 America/Chicago] PHP Fatal error: Cannot use isset() on the result of an expression (you can use "null !== expression" instead) in /usr/local/emhttp/plugins/disklocation/pages/page_system.php on line 357

  • 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

31 minutes ago, grupoleon said:

dude you have be awesome. but it is now throwing this error and "system" tab won't render. have tried to uninstall and re-install.

[28-May-2025 10:23:58 America/Chicago] PHP Fatal error: Cannot use isset() on the result of an expression (you can use "null !== expression" instead) in /usr/local/emhttp/plugins/disklocation/pages/page_system.php on line 357


Yes I can confirm I have the same issue, the system tab is just blank for me I have only just installed the plugin for the first time.

Screenshot_2.jpgDisklocation 2.jpgDisklocation.jpg

2 hours ago, witalit said:


Yes I can confirm I have the same issue, the system tab is just blank for me I have only just installed the plugin for the first time.

2 hours ago, witalit said:


Yes I can confirm I have the same issue, the system tab is just blank for me I have only just installed the plugin for the first time.

Im experience the same error with the "System" tab.
Beside that, I'm also unable to remove disks from the History on the bottom of the "Tray Allocations" tab

Edited by capino

I'm another "blank system tab" person. Running 7.1.2. Looked like an interesting plugin, but I can't get it configured as the first step says, "Go to the system tab" but nothing is there.

Just now, Mr Q said:

Screenshot_2.jpgDisklocation 2.jpgDisklocation.jpg

what is the problem? maybe reinstall? please help

12 minutes ago, kirbyrj said:

I'm another "blank system tab" person. Running 7.1.2. Looked like an interesting plugin, but I can't get it configured as the first step says, "Go to the system tab" but nothing is there.

always the same with this plugin, things like this happens atleast every 6 months, if it's fixt i won't be updating this anymore, or i won't use it anymore

Same error as some others here, blank system tab and unable to create layout or change location etc after updating the plugin to 2025.05.28. Running 7.1.2.

The log output shows this error:

May 28 21:23:59 ****** webGUI: error: /Tools/disklocation - missing csrf_token

Edited by miniPax

  • Author

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 own health by deleting this plugin then? 😅 I don't think anybody forced you, if I'm wrong, then they're bad people!

The rest of you: well.. update :P

14 minutes ago, FlamongOle said:

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 own health by deleting this plugin then? 😅 I don't think anybody forced you, if I'm wrong, then they're bad people!

The rest of you: well.. update :P

Thanks for the update. Systems tab is working and I was also able to remove the old disk.

I have noticed an issue with automatic backups.

I have configured it to take backups every 30 days but nothing seems to happen.

During updates I get the following output

Backup was made in the recent 0 days or backup is disabled, skipping.

Even through the last manual backup is several days old.

Manual backups work fine however.

1 hour ago, FlamongOle said:

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 own health by deleting this plugin then? 😅 I don't think anybody forced you, if I'm wrong, then they're bad people!

The rest of you: well.. update :P

Where can I buy you coffee my dude. got a link? thanks for your help.

1 hour ago, FlamongOle said:

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 own health by deleting this plugin then? 😅 I don't think anybody forced you, if I'm wrong, then they're bad people!

The rest of you: well.. update :P

sorry for my comment but when something goes wrong I get quite frustrated

2 hours ago, Starfiresg1 said:

I have noticed an issue with automatic backups.

I have configured it to take backups every 30 days but nothing seems to happen.

During updates I get the following output

Even through the last manual backup is several days old.

Manual backups work fine however.

@Starfiresg1 I have seen the "Backup was made in the recent 0 days or backup is disabled, skipping." message too when updating. I never put much thought into it because the backup did eventually run on its own. I made the assumption that the backup would run 30 days from my last manual backup, but it did not work that way. The screenshot below is from my server showing the last 3 backups as automated.

Disk Location Backup.jpg

@FlamongOle I don't know how you have the backup date/time coded but would it be possible for the user to set a specific date/time in a future release? I leave my server on all the time, for me when the backup runs is not a big deal but others who put their servers to sleep it might be. When would the backup run for a server that is put to sleep, would it run after startup from missing the date/time you have set the auto backup? Just curious. Thanks!

  • Author
9 hours ago, grupoleon said:

Where can I buy you coffee my dude. got a link? thanks for your help.

str_replace("beer", "coffee", $signature); 

(it's in my signature)

  • Author
9 hours ago, Mr Q said:

sorry for my comment but when something goes wrong I get quite frustrated

No worries, been there myself ;)

  • Author
9 hours ago, Starfiresg1 said:

I have noticed an issue with automatic backups.

I have configured it to take backups every 30 days but nothing seems to happen.

During updates I get the following output

Even through the last manual backup is several days old.

Manual backups work fine however.

How old? It will only create a new one if the oldest is MORE than 30 days (unless configured otherwise). Either by plugin update or midnight cronjob.

  • Author
7 hours ago, SShadow said:

@Starfiresg1 I have seen the "Backup was made in the recent 0 days or backup is disabled, skipping." message too when updating. I never put much thought into it because the backup did eventually run on its own. I made the assumption that the backup would run 30 days from my last manual backup, but it did not work that way. The screenshot below is from my server showing the last 3 backups as automated.

Disk Location Backup.jpg

@FlamongOle I don't know how you have the backup date/time coded but would it be possible for the user to set a specific date/time in a future release? I leave my server on all the time, for me when the backup runs is not a big deal but others who put their servers to sleep it might be. When would the backup run for a server that is put to sleep, would it run after startup from missing the date/time you have set the auto backup? Just curious. Thanks!

It will only create a new one if the oldest is MORE than 30 days (unless configured otherwise). Either by plugin update or midnight cronjob. @SShadow remember there's less days in February, so the jump is larger. It's only 30 days, not specific day each month.

If you want to schedule your own backup plan, this has been available since launch but never added to "Help" :P I think I wrote it in here once for the specific update. Anyway, disable automatic in the plugin config, then use "User Scripts" plugin or add this to your own crontab:

php -f /usr/local/emhttp/plugins/disklocation/pages/page_system.php backup silent

("silent" is optional. Right now the output is silent regardless, but it will change next release)

Help text is added in next release, planned later today/tomorrow, but this is added:

  • Configuration tab help: Run auto backup every set full days, 0 to disable. Disable this if you plan to schedule auto backup on your own. See help under "System" tab.

  • System tab help: If you want to schedule your own backup cycle, disable "Auto backup" under "Configuration" tab. Then add this command into your scheduler (e.g. User Scripts or crontab):

    php -f /usr/local/emhttp/plugins/disklocation/pages/page_system.php backup [silent]

Edited by FlamongOle

Custom Color can't be changed. How can I access it? I want another color for my two parity drives.

Bildschirmfoto 2025-05-29 um 18.51.25.png

Custom text is written outside the box in the dashboard.

Bildschirmfoto 2025-05-29 um 18.58.13.png

  • Author
46 minutes ago, shire said:

Custom text is written outside the box in the dashboard.

Bildschirmfoto 2025-05-29 um 18.58.13.png

Make sure you have read all Help text. Here you need to increase the size of the blocks. They do not scale itself.

Check if you have heat map enabled or not. Heat map overrides custom colors.

Otherwise: device colors > group colors > default colors

  • Author

Update 2025.05.30

  • Commit #448 - IMPROVEMENT: Added help text for how to add own backup cycle via scheduler/crontab. Minor "Help" updates in Configuration and System tab. Added a slight difference between "silent" and non-silent output. Also updated the Help on Dashboard tab.

3 hours ago, FlamongOle said:

Update 2025.05.30

  • Commit #448 - IMPROVEMENT: Added help text for how to add own backup cycle via scheduler/crontab. Minor "Help" updates in Configuration and System tab. Added a slight difference between "silent" and non-silent output. Also updated the Help on Dashboard tab.

@FlamongOle thanks for the manual backup info for this update. I updated to 2025.05.30, followed your steps for manual backups through UserScripts. The manual backups show up the same as the auto backups under the system tab.

Below is the sample of the quick script I made to test and run the manual Disk Location backup through UserScripts. It appears to work fine for me but use at your own risk. 😁

#!/bin/bash

#

# This script runs a manual backup of the Disk Location configuration and benchmarks.

# *** Remember to set "Auto backup" days to 0 in the Configuration Tab before using the script. ***

#

#

# Add comment mark "#" to the beginning of the line below to disable the silent option of the backup script.

#

php -f /usr/local/emhttp/plugins/disklocation/pages/page_system.php backup silent

#

#

#

# Remove comment mark "#" from the beginning of the line below to enable the logging option of the backup script.

# *** Remember to add the comment mark "#" to the line above otherwise the backup script will run twice. ***

#

#php -f /usr/local/emhttp/plugins/disklocation/pages/page_system.php backup

#

#

#

# Add comment mark "#" to the beginning of the line below to disable notification in syslog.

#

logger "Disk Location configuration and benchmarks backup complete!!"

#

#

#

# Add comment mark "#" to the beginning of the line below to disable notification on Unraid dashboard.

#

/usr/local/emhttp/webGui/scripts/notify -e "Backup Disk Location" -s "Backup Disk Location Configuration" -d "Backup of Disk Location configuration and benchmarks complete" -i "normal"

Edited by SShadow

  • Author
6 hours ago, SShadow said:

@FlamongOle thanks for the manual backup info for this update. I updated to 2025.05.30, followed your steps for manual backups through UserScripts. The manual backups show up the same as the auto backups under the system tab.

Below is the sample of the quick script I made to test and run the manual Disk Location backup through UserScripts. It appears to work fine for me but use at your own risk. 😁

Note: It should be silent without [], the brackets traditionally shows it is optional to use it ;) It might however still work regardless. And to just point out, it is possible to fetch the output to post that into notifications via shell variable :P But you maybe want something more "useful" than just "Backup created." :P

Edited by FlamongOle

5 hours ago, FlamongOle said:

Note: It should be silent without [], the brackets traditionally shows it is optional to use it ;) It might however still work regardless. And to just point out, it is possible to fetch the output to post that into notifications via shell variable :P But you maybe want something more "useful" than just "Backup created." :P

@FlamongOle thanks for catching that. I never claimed to know what I was doing! 😁 I edited my original post. Take care!

19 hours ago, FlamongOle said:

Make sure you have read all Help text. Here you need to increase the size of the blocks. They do not scale itself.

Check if you have heat map enabled or not. Heat map overrides custom colors.

Otherwise: device colors > group colors > default colors

Thanks. Worked with both issues.

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.