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

1 hour ago, FlamongOle said:

I just tested them, they work here. But it might take up to 5 minutes before you'll see if it's in standby or not, it's background-caching. You can double check when you hover the LED if it says "device spun down" or "device is active" or something similar.

 

Server-side cache (nothing you can change)

@FlamongOle I waited 2 hours and the dynamic LEDs did not change.  I did accidentally find a fix.  I pressed the smart button under the system tab, then a few mins later the dynamic started working.  I did run the smart+db when I first installed the plugin.  Hope this helps. 

  • 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
1 minute ago, SShadow said:

@FlamongOle I waited 2 hours and the dynamic LEDs did not change.  I did accidentally find a fix.  I pressed the smart button under the system tab, then a few mins later the dynamic started working.  I did run the smart+db when I first installed the plugin.  Hope this helps. 

was that after coming from 2024-edition or after devel-upgrade? SMART(+DB) should regenerate the powermode file, hard to say what really happened there. It's also executed by crontab every 5 minutes and should update itself, and as long as you did SMART+DB it should also match each other. I'm gonna have a look if I find anything

1 hour ago, FlamongOle said:

 

No, the SMART errors are now just moved in the SMART section of the plugin instead. This will make it use SMART settings defined in Unraid config. I decided to not include it this time as it's more of a clutter anyway. (these: Reallocated Sector, Reported Uncorrectable, Command Timeout, Current Pending Sectors, Offline Uncorrectable incl. whatever you might have included from Unraid config).

 

But, "nvme_used" (Percentage used) still exists, just under another tag called "endurance" which is valid for both SSD and NVMe. Power On Time still exists, but two different formats: powerontime which gives you a calculated time "4 years 3 months" etc.. and powerontime_hours which gives you raw hours. Load Cycles still exists, but not included by default (loadcycle).

Press "help" button, and entire list will show up of what you can choose per table.

I understand.  I did press the help button but did not scroll all the way down to see all of the input variable section.  Doh! 🫣 

 

I did a quick format with a bunch of the variables to see what happens.  My Dashboard formatting looks like this:

 

[medium]*pool*[/medium] name capacity cache rotation formfactor [color:FFFFFF]*[serial]*[/color]
manufacturer model
temp comment device node
powerontime | powerontime_hours | nvme_spare | nvme_spare_thres | read | written | Used: endurance | Wty: expires

 

The dashboard after I save looks like this:

DiskLocationFormatt.thumb.png.00fbec92813b4b624d87a934738197c9.png

 

Are all the input variables supposed to be usable in the dashboard layout?  I can make it work with the days format but I liked the power on hours better.  I appreciate your patience. 

Edited by SShadow

50 minutes ago, FlamongOle said:

was that after coming from 2024-edition or after devel-upgrade? SMART(+DB) should regenerate the powermode file, hard to say what really happened there. It's also executed by crontab every 5 minutes and should update itself, and as long as you did SMART+DB it should also match each other. I'm gonna have a look if I find anything

Yes, that was after I came from the 2024 edition.  I stared today on non-devel 2025.02.08 updated to devel 2025.02.10-2201 RC2 got the blank dashboard, went back to non-devel 2025.02.08, then updated to 2025.02.11-1751 RC2 ran SMART+DB as the plugin said.  Waited 2 hours no dynamic LEDs.  By chance I pressed the SMART button to see what it would do and within minutes dynamic LEDs started working.  Dynamic LEDs have been working since and I am now on 2025.02.11-2218 RC2.  Sorry for the wordiness, but I wanted to be clear on what happened when.   

Edited by SShadow

  • Author
2 hours ago, SShadow said:

Yes, that was after I came from the 2024 edition.  I stared today on non-devel 2025.02.08 updated to devel 2025.02.10-2201 RC2 got the blank dashboard, went back to non-devel 2025.02.08, then updated to 2025.02.11-1751 RC2 ran SMART+DB as the plugin said.  Waited 2 hours no dynamic LEDs.  By chance I pressed the SMART button to see what it would do and within minutes dynamic LEDs started working.  Dynamic LEDs have been working since and I am now on 2025.02.11-2218 RC2.  Sorry for the wordiness, but I wanted to be clear on what happened when.   

 

Thanks, I have adjusted something in the cronjob, maybe it will solve it.

  • Author
2 hours ago, SShadow said:

I understand.  I did press the help button but did not scroll all the way down to see all of the input variable section.  Doh! 🫣 

 

I did a quick format with a bunch of the variables to see what happens.  My Dashboard formatting looks like this:

 

[medium]*pool*[/medium] name capacity cache rotation formfactor [color:FFFFFF]*[serial]*[/color]
manufacturer model
temp comment device node
powerontime | powerontime_hours | nvme_spare | nvme_spare_thres | read | written | Used: endurance | Wty: expires

 

The dashboard after I save looks like this:

DiskLocationFormatt.thumb.png.00fbec92813b4b624d87a934738197c9.png

 

Are all the input variables supposed to be usable in the dashboard layout?  I can make it work with the days format but I liked the power on hours better.  I appreciate your patience. 

Currently investigating this, there's things here which was parsed wrong. There should be more available, and also listed. Working on it!

Hopefully the last thing I find.  When I press the Backup button from the System tab I get this browser screen:

DiskLocationBackupError.thumb.jpg.b8cdb414ef9149d68d88ecc1dc7f9a1b.jpg

If I press the browser's back button it takes me back to the System tab.  Checking the flash drive I don't see any new files in the disklocation directory or disklocation/backup to show a backup file was created. 

Edited by SShadow

@FlamongOle after the update 2025.02.11-2218 the headmap is working correctly
Screenshot2025-02-12075631.png.5e5642e0164d8dc93a0ca9322c294ce6.png

Thank you for your work.

  • Author

Overhaul '25 update: 2025.02.12-2205 RC2

  • Dashboard selection is fixed and tested, actual selectors are now visible via Help function.
  • Changed some operations in cronjob to prevent powermode-function to not operate as expected.

 

@SShadow I could not find any issue with the Backup function here. Try this version and see if it's still an issue. Also check if you have /boot/config/plugins/disklocation/backup folder existing. If it is, try to create a file in it: "touch testfile" or something. Also check if you have any other files or folder other than dates and if they contain anything else than disklocation.*.gz files:

ls -la /boot/config/plugins/disklocation/backup/*

I have some old obsolete folder in there, and it still works. But I would like to know if there might be something conflicting there.  There should only be one file per date-folder.

 

I am grateful for your testing involvement! Thanks @SShadow @mr2toyou @PeterHS

@FlamongOle I downloaded 2025.02.12-2205 RC2.  Good news!  All the input variables for the dashboard formatting work on the Disk Location dashboard tab.  Dynamic LEDs continue to work.

DiskLocationGood.jpg.8a8d68d6793ffdac6d98755b26bbf8c3.jpg

 

On the main Unraid dashboard I did notice not all the input variables that worked on the Disk Location dashboard are resolving.  I cleared cache and tried multiple browsers, but it still looks like below.

DiskLocationOnHover.jpg.316bcc7ed208b0f3a9d86cfb3cee1901.jpg


I still have the issue with the backup not working.  I get the same "This page isn't working right now" screen.  On the flash drive running the command you listed I have two backups which match what I see in the system tab:  

 

/boot/config/plugins/disklocation/backup/20250211-102353:
total 48
drwx------ 2 root root 16384 Feb 11 10:23 ./
drwx------ 4 root root 16384 Feb 11 18:25 ../
-rw------- 1 root root  3510 Feb 11 10:23 disklocation.sqlite.gz

/boot/config/plugins/disklocation/backup/20250211-134742:
total 48
drwx------ 2 root root 16384 Feb 11 13:47 ./
drwx------ 4 root root 16384 Feb 11 18:25 ../
-rw------- 1 root root  3510 Feb 11 13:47 disklocation.sqlite.gz

 

I did happen to see some errors in the PHP log on my system, the log was empty before I installed the latest version:

[12-Feb-2025 16:13:57 America/New_York] PHP Warning:  Undefined variable $benchmark_backup in /usr/local/emhttp/plugins/disklocation/pages/page_system.php on line 321
[12-Feb-2025 16:13:57 America/New_York] PHP Fatal error:  Uncaught TypeError: implode(): Argument #1 ($array) must be of type array, string given in /usr/local/emhttp/plugins/disklocation/pages/page_system.php:321
Stack trace:
#0 /usr/local/emhttp/plugins/disklocation/pages/page_system.php(321): implode(',', NULL)
#1 {main}
  thrown in /usr/local/emhttp/plugins/disklocation/pages/page_system.php on line 321


[12-Feb-2025 16:31:14 America/New_York] PHP Warning:  Undefined variable $benchmark_backup in /usr/local/emhttp/plugins/disklocation/pages/page_system.php on line 321
[12-Feb-2025 16:31:14 America/New_York] PHP Fatal error:  Uncaught TypeError: implode(): Argument #1 ($array) must be of type array, string given in /usr/local/emhttp/plugins/disklocation/pages/page_system.php:321
Stack trace:
#0 /usr/local/emhttp/plugins/disklocation/pages/page_system.php(321): implode(',', NULL)
#1 {main}
  thrown in /usr/local/emhttp/plugins/disklocation/pages/page_system.php on line 321

 

The 16:13 lines are when I installed the latest version and the 16:31 lines are when I clicked the backup button.  I don't have any benchmarks yet.  I appreciate your efforts and quick turnaround.  Thanks!!

  

Edited by SShadow

  • Author
8 hours ago, SShadow said:

@FlamongOle I downloaded 2025.02.12-2205 RC2.  Good news!  All the input variables for the dashboard formatting work on the Disk Location dashboard tab.  Dynamic LEDs continue to work.

DiskLocationGood.jpg.8a8d68d6793ffdac6d98755b26bbf8c3.jpg

 

On the main Unraid dashboard I did notice not all the input variables that worked on the Disk Location dashboard are resolving.  I cleared cache and tried multiple browsers, but it still looks like below.

DiskLocationOnHover.jpg.316bcc7ed208b0f3a9d86cfb3cee1901.jpg


I still have the issue with the backup not working.  I get the same "This page isn't working right now" screen.  On the flash drive running the command you listed I have two backups which match what I see in the system tab:  

 

/boot/config/plugins/disklocation/backup/20250211-102353:
total 48
drwx------ 2 root root 16384 Feb 11 10:23 ./
drwx------ 4 root root 16384 Feb 11 18:25 ../
-rw------- 1 root root  3510 Feb 11 10:23 disklocation.sqlite.gz

/boot/config/plugins/disklocation/backup/20250211-134742:
total 48
drwx------ 2 root root 16384 Feb 11 13:47 ./
drwx------ 4 root root 16384 Feb 11 18:25 ../
-rw------- 1 root root  3510 Feb 11 13:47 disklocation.sqlite.gz

 

I did happen to see some errors in the PHP log on my system, the log was empty before I installed the latest version:

[12-Feb-2025 16:13:57 America/New_York] PHP Warning:  Undefined variable $benchmark_backup in /usr/local/emhttp/plugins/disklocation/pages/page_system.php on line 321
[12-Feb-2025 16:13:57 America/New_York] PHP Fatal error:  Uncaught TypeError: implode(): Argument #1 ($array) must be of type array, string given in /usr/local/emhttp/plugins/disklocation/pages/page_system.php:321
Stack trace:
#0 /usr/local/emhttp/plugins/disklocation/pages/page_system.php(321): implode(',', NULL)
#1 {main}
  thrown in /usr/local/emhttp/plugins/disklocation/pages/page_system.php on line 321


[12-Feb-2025 16:31:14 America/New_York] PHP Warning:  Undefined variable $benchmark_backup in /usr/local/emhttp/plugins/disklocation/pages/page_system.php on line 321
[12-Feb-2025 16:31:14 America/New_York] PHP Fatal error:  Uncaught TypeError: implode(): Argument #1 ($array) must be of type array, string given in /usr/local/emhttp/plugins/disklocation/pages/page_system.php:321
Stack trace:
#0 /usr/local/emhttp/plugins/disklocation/pages/page_system.php(321): implode(',', NULL)
#1 {main}
  thrown in /usr/local/emhttp/plugins/disklocation/pages/page_system.php on line 321

 

The 16:13 lines are when I installed the latest version and the 16:31 lines are when I clicked the backup button.  I don't have any benchmarks yet.  I appreciate your efforts and quick turnaround.  Thanks!!

  

Thanks, the logs will be very useful. I suspected something like this, just didn't know where to look. 

 

The front dashboard wasn't updated as I forgot it, should be a quick fix once I get time to fix it. I expect later today. 

  • Author

Overhaul '25 update: 2025.02.13-1433 RC2

  • Fixed dashboard to display correct values, wrong variable were used.
  • Added a check to prevent backup from failing if there's no benchmark files available.
  • Fixed an issue with the warning temp, wrong variable used.

 

@SShadow hopefully this will resolve both problems. I have not tested it myself yet, but it was minor fixes.

Edited by FlamongOle
Added 1410->1433

  • Author

Overhaul '25 update: 2025.02.13-2205 RC3

  • Added a button in System to delete obsolete files and/or folders if found. No button, nothing found, otherwise a list of files and folders are shown.
  • Hopefully the last RC, if nothing else is found during the next 10 hours, Overhaul '25 will be released as planned.
9 hours ago, FlamongOle said:

Overhaul '25 update: 2025.02.13-1433 RC2

  • Fixed dashboard to display correct values, wrong variable were used.
  • Added a check to prevent backup from failing if there's no benchmark files available.
  • Fixed an issue with the warning temp, wrong variable used.

 

@SShadow hopefully this will resolve both problems. I have not tested it myself yet, but it was minor fixes.

 

@FlamongOle Yes, the Unraid dashboard hover and backup issues are fixed!  Thank you!

 

To simulate a new conversion I uninstalled 2025.02.13-1433 RC2.  Deleted the devices.json, groups.json, locations.json, settings.json files, and json backup, then installed 2025.02.13-1433 RC2.  I retested the items below:

 

- Disk Location dashboard tab custom formatting: Good
- Disk Location dashboard tab input variables: Good
- Unraid Dashboard on hover custom formatting: Good
- Unraid Dashboard on hover input variables: Good
- Dynamic LEDs: Not working after conversion, waited for 7 hours after disks spun down. Same fix as before clicked the Smart button from the system tab and started working almost instantly.
- System tab Smart button: Good
- System tab Force Smart button: Good
- System tab Force Smart+DB button: Good
- System tab Backup button: Good creates JSON backup file
- System tab Restore button: Good
- System tab Delete button: Good
- System tab Undelete All Devices button: Good


I did some additional testing that I didn't do before, I do not think these are show stoppers for the release:

 

- System tab plugin reset configuration: wipes the config custom colors, Sorting of Tables section is blank, not sure if this is expected behavior
- System tab plugin reset layout: wipes layout appears to work as expected

- System tab plugin reset tray allocation: wipes tray allocation keeps config appears to work as expected
- System tab plugin reset devices: created a SQLite backup file, custom formatting is set to default, and drives are still listed like they were before the reset, not sure if this is expected behavior
- System tab plugin reset all: created a SQLite backup file, custom formatting is set to default, and drives are still listed like they were before the reset, not sure if this is expected behavior
- System tab plugin reset wipe: created a SQLite backup file, custom formatting is set to default, dashboard blank had to run Smart+DB, drives shown like they were before the reset, not sure if this is expected behavior

 

When running the reset devices and reset all (I tried each twice) there were some PHP errors afterward in the log:

 

[13-Feb-2025 09:13:02 America/New_York] PHP Warning:  unlink(/boot/config/plugins/disklocation/locations.json): No such file or directory in /usr/local/emhttp/plugins/disklocation/pages/page_system.php on line 244
[13-Feb-2025 09:14:55 America/New_York] PHP Warning:  unlink(/boot/config/plugins/disklocation/locations.json): No such file or directory in /usr/local/emhttp/plugins/disklocation/pages/page_system.php on line 244
[13-Feb-2025 09:51:56 America/New_York] PHP Warning:  unlink(/boot/config/plugins/disklocation/locations.json): No such file or directory in /usr/local/emhttp/plugins/disklocation/pages/page_system.php on line 244
[13-Feb-2025 09:54:38 America/New_York] PHP Warning:  unlink(/boot/config/plugins/disklocation/locations.json): No such file or directory in /usr/local/emhttp/plugins/disklocation/pages/page_system.php on line 244

 

I appreciate your receptiveness to feedback and keep up the great work!

Edited by SShadow

  • Author

Overhaul '25 update: 2025.02.14-1006 RC3 - ready for release.

  • Fixed so that default values are displayed in column and sort if the files has been reset.
  • Added a check if the file exists before trying to delete it.
  • Added a touch with new atime to CSS files in use after migration from SQLite to JSON, also added it after restoring old database. This should keep CSS up to date.
  • Also delete the SQLite database when conversion has succeeded, the file is anyway backed up. Otherwise the file will be converted again if "reset all/wipe" is initiated.

Thanks again @SShadow for incredible support!

  • Author

Update 2025.02.14 - Overhaul '25 released!

 

12490 changes has been made for Overhaul '25, around 300 hours of work. Special thanks to @SShadow, also thanks to @mr2toyou and @PeterHS for testing out the beta and finding some bugs.

 

The plugin loading time has been reduced drastically, and more stuff is now cached to memory instead. Some things might take up to 5 minutes until it's updated because of it, but it's worth it.

 

More stuff is now using Unraid config directly. If "Allow editing of Unraid config" enabled, it's possible to store configuration updates via the plugin directly to Unraid config, like manufacturer, purchase and warranty date in bulk. Also bulk acknowledgment is possible. 

 

Some bigger changes:

  • Disk Tray Layout is now in a separate tab, not below the Configuration.
  • SMART info is now in a separate tab, and not included in the "devices", this will also show all errors found for all drives displayed in one table.
  • Benchmark is a new feature, not the most accurate, but it might give an idea of the drive performance over time. This is disabled by default, but can be scheduled to run monthly or by custom configuration you can run it whenever you want. By running the script manually via eg. "User Scripts", disable the "Run monthly auto benchmark" under Benchmark.
  • Clicking the LED in the Unraid Dashboard will take you to the drive tab in Unraid directly, it's also accessible from Information tab if "name" is selected to be displayed.
  • Dashboard layout is shown on "hover" in the Unraid Dashboard same as the Plugin Dashboard, same config apply, except from some formatting not possible on "hover" tooltips.

 

The main ChangeLog:

  • Commit #378 - FEATURE: Added a cleanup function in System. If obsolete files are found, it will show a list of files and a button to delete the files shown. These are only files that are not in use.
  • Commit #372 - FEATURE: Seagate SMART vs FARM LOG check in System tab added for checking fraudulent drives.
  • Commit #369 - IMPROVEMENT: Use syslog to detect SMART read events.
  • Commit #365 - FEATURE: Added selected dashboard info to LED "hover" info on Unraid dashboard.
  • Commit #362 - FEATURE: Created a possibility to hide/bypass trays in a group.
  • Commit #361 - IMPROVEMENT: Performance tweak, cleaned up functions and system to improve loading speed.
  • Commit #360 - IMPROVEMENT: Debug function overhauled and made a bit more useful in some cases.
  • Commit #352 - FEATURE: Disk Location plugin time benchmark added, but must be executed manually by entering ?benchmark=1 in the address field. Value is visible in the "System" tab.
  • Commit #351 - FEATURE: Collect SMART errors in an own separate list. Also added possibility to acknowledge all drives at once, but only if plugin is set to allow Unraid config.
  • Commit #349 - MINOR: A few CSS fixes regarding the LEDs. Mostly changes with the dynamic LEDs.
  • Commit #348 - MINOR: Fixed color codes, make sure "empty" color will reset or delete the color of devices. Added a group color for default color for specific groups. Also changed default colors, must be reset manually after the plugin update for current users.
  • Commit #347 - IMPROVEMENT: SAVE button on all Disk Tray Layouts. Deleted the individual Save button on the Disk Tray Layouts, one button to rule them all.. finally.
  • Commit #346 - IMPROVEMENT: SQLite is removed! It will be automatically converted to multiple json files. This will also prevent sudden database corruptions, obviously. But maybe other type of corruptions? However, the backup/restore will still work on older SQLite database backups, they will be automagically converted.
  • Commit #345 - MINOR: Installation script cleaned up and fixed some bugs.
  • Commit #344 - IMPROVEMENT: Configuration cleanup. All supported dates can be stored in bulk, if Unraid config edit is enabled.
  • Commit #343 - IMPROVEMENT: Removed most SMART from the DB, running it in memory instead. Some data will be stored for History purposes.
  • Commit #342 - FEATURE: Added a customizable plugin dashboard (not to be confused with Unraid dashboard). Formatting of text and positioning possible.
  • Commit #277 - FEATURE: Added a small simple benchmark for read test (hdparm) with SVG graphs. Can be exported as CSV too.

 

Stay on or revert to 2024-edition, manual installation and update only. Should only be used for specific purpose. It is not part of Community Apps and won't be it either:

If you want to (for whatever reason) remain on the 2024 edition, follow instruction above and replace the URL to: https://raw.githubusercontent.com/olehj/disklocation/2024-edition/disklocation-2024-edition.plg
This version will not be maintained long in the future, but will exists for history purposes and special use cases.

 

 

Some screenshots of Overhaul '25 (some are taken during development, slight differences might occur):

 

During new configurations, you will now be greeted with a screen telling you what you should do:

disklocation_beta1.png.1fb1a645082c453eaa4d136783d4d2fe.png

 

Hover over LED on the Unraid Dashboard:

disklocation_beta2.png.24cc7ac2bd27c49cea1283821e0c0f70.png

 

Disk Location Disk Tray Layout configuration, now possible to select specific trays to exclude. Override is now deprecated (but still works):

disklocation_beta2-layout.png.a1722057e3336819cebc4a9f097f9950.png

 

Benchmark and SMART tab added

disklocation_alpha2.png.9c49065ed812604fba9bed607d814c0c.png

 

Benchmark graphs added

disklocation_benchmark.png.d913f8ffc33d55b86af44daf08e83c16.png

 

Seagate check added to check for fraudulent drives

disklocation_rc2-seagate.thumb.png.6ff0da79bae1801d5b32967710969d64.png 

Happy valentines day ❤️  

Good afternoon, I updated the app and ran force smart+db as it instructed and now all my drive are flashing smart warning. Did I miss a step?

I see no button to add a "Disk Tray Layout" on the "Layout" tab.

Edited by pacnpal

@FlamongOle I updated both my systems to the latest stable branch, looks like everything works as expected after the conversion including dynamic LEDs 😁.  Awesome job with the rewrite and new features!

 

I was retesting what I tested yesterday on this version and when I did a plugin reset all I am getting the same thing as @pacnpal no button to add a tray layout.  I don't think it was like that yesterday when I tested but I might have missed it.  Sorry.

 

DiskLocationNoDiskTrayLayout.thumb.jpg.bf9b8fb1b2542acbe934161ad313b660.jpg

 

 

2 hours ago, PsykoNeko said:

Good afternoon, I updated the app and ran force smart+db as it instructed and now all my drive are flashing smart warning. Did I miss a step?

I'm seeing this too. I'm getting everything flashing red with a "S.M.A.R.T. FAILED!" error for every drive (when SMART passes them all perfectly.

image.thumb.png.09de0cea617f1d55f795381f3f8ed817.png

@FlamongOle I updated Disk Location on two Unraid installs.  One seems normal, but the other has an empty System tab.  I've stopped and started the array.  I've rebooted the NAS twice.  I've tried with two different browsers.  The result is always the same -- an empty System tab in Disk Location.

Edited by Miss_Sissy

4 hours ago, SShadow said:

@FlamongOle I updated both my systems to the latest stable branch, looks like everything works as expected after the conversion including dynamic LEDs 😁.  Awesome job with the rewrite and new features!

 

I was retesting what I tested yesterday on this version and when I did a plugin reset all I am getting the same thing as @pacnpal no button to add a tray layout.  I don't think it was like that yesterday when I tested but I might have missed it.  Sorry.

 

 

I had the same problem today. Looks like the code generating that page iterates over configured groups, but on initial install that config is empty (the buttons are created inside the loop).  If you create a basic groups file it seems to fix it.  

 

Open a terminal from unraid and edit the /boot/config/plugins/disklocation/groups.json file and add this:

 

{
    "1": {
        "group_name": "Group A",
        "group_color": "AA2D2F",
        "tray_width": "400",
        "tray_height": "70",
        "grid_columns": "8",
        "grid_rows": "1",
        "disk_tray_direction": "v",
        "grid_count": "row",
        "tray_direction": "1",
        "tray_start_num": "1",
    }
}

 

  • Author
5 hours ago, Miss_Sissy said:

@FlamongOle I updated Disk Location on two Unraid installs.  One seems normal, but the other has an empty System tab.  I've stopped and started the array.  I've rebooted the NAS twice.  I've tried with two different browsers.  The result is always the same -- an empty System tab in Disk Location.

Can you please give me the PHP log for the system page problem? Tools -> PHP -> enable log and set logging to "all" or something. Then give me everything related to "disklocation", sounds like a parse/syntax issue somewhere in a specific situation.

  • Author
3 hours ago, Shmal said:

I had the same problem today. Looks like the code generating that page iterates over configured groups, but on initial install that config is empty (the buttons are created inside the loop).  If you create a basic groups file it seems to fix it.  

 

Open a terminal from unraid and edit the /boot/config/plugins/disklocation/groups.json file and add this:

 

{
    "1": {
        "group_name": "Group A",
        "group_color": "AA2D2F",
        "tray_width": "400",
        "tray_height": "70",
        "grid_columns": "8",
        "grid_rows": "1",
        "disk_tray_direction": "v",
        "grid_count": "row",
        "tray_direction": "1",
        "tray_start_num": "1",
    }
}

 

Yes, this will indeed fix it. Looks like I have overrun the check for existing locations and gotten rid of the "add" button when there's nothing available. 

 

Hopefully will be able to check this tomorrow, or at least during the weekend.

  • Author
8 hours ago, SShadow said:

@FlamongOle I updated both my systems to the latest stable branch, looks like everything works as expected after the conversion including dynamic LEDs 😁.  Awesome job with the rewrite and new features!

 

I was retesting what I tested yesterday on this version and when I did a plugin reset all I am getting the same thing as @pacnpal no button to add a tray layout.  I don't think it was like that yesterday when I tested but I might have missed it.  Sorry.

 

DiskLocationNoDiskTrayLayout.thumb.jpg.bf9b8fb1b2542acbe934161ad313b660.jpg

 

 

Same as above message. It's a glitch :P creating a manual layout with the one above will make it possible to use it. Restoring a backup should also be sufficient. Worse for new users.

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.