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
29 minutes ago, Starfiresg1 said:

When updating to 2024.10.27 the updates completes as expected and the "Done" button appears - it no longer navigated to the settings page during upgrade like it did with 2024.10.26 for me.

 

The update windows states now that the existing database (that I restored from a backup) didn't need an upgrade.

 

After the update the settings page of the plugin worked out of the box. The dashboard however was broken (empty) again.

Going to the "Configuration" page in the plugin settings and clicking "Save" without actually changing anything fixed the dashboard again. Maybe my old database was missing some settings-migrations from the broken update to 2024.10.26?

 

So far everything is working now :)

 

Found the following new warning in the PHP log - maybe related to the initial empty Dashboard?

[27-Oct-2024 12:56:43 Europe/Berlin] PHP Fatal error:  Uncaught Error: Failed opening required '/usr/local/emhttp/plugins/disklocation/pages/styles/signals.css' (include_path='.:/usr/local/emhttp') in /usr/local/emhttp/plugins/dynamix/include/DefaultPageLayout.php(715) : eval()'d code:61
Stack trace:
#0 /usr/local/emhttp/plugins/dynamix/include/DefaultPageLayout.php(715): eval()
#1 /usr/local/emhttp/plugins/dynamix/template.php(82): require_once('/usr/local/emht...')
#2 {main}
  thrown in /usr/local/emhttp/plugins/dynamix/include/DefaultPageLayout.php(715) : eval()'d code on line 61

 

 

I updated the plugin a bit again:

Commit #331 - BUG: (Update 1337) Used wrong datatype in the database for a new function, might have caused an issue where you must manually save the config again.

 

I think this might have caused the issue, the other one you refers to there, should have been fixed in the last installer script.

 

You will see a new database will be updated due to faulty datatype.

Edited by FlamongOle

  • 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

@FlamongOle Is it possible that the Unraid dashboard is a white page without showning anything after the latest plugin update?

OK, restoring database from old version did not the trick, but as SuperMario86 suggested, the led style change did return the dashboard to normal behaviour.

Edited by CHAU

I have removed Disk Location plug-in and have a much better view of the world (well... the dashboard, at least).

40 minutes ago, FlamongOle said:

 

I updated the plugin a bit again:

Commit #331 - BUG: (Update 1337) Used wrong datatype in the database for a new function, might have caused an issue where you must manually save the config again.

 

I think this might have caused the issue, the other one you refers to there, should have been fixed in the last installer script.

 

You will see a new database will be updated due to faulty datatype.

I updated again - installer now mentioned "Database successfully updated" - Dashboard was directly working after the update. 👍

My dashboard is back.  It looks like by drive data is there under information but they show blank on the tray screen.

blank.png

6 minutes ago, Gragorg said:

My dashboard is back.  It looks like by drive data is there under information but they show blank on the tray screen.

blank.png

Same here.

Just go into the plugin on the configuration tab and pick  any boxes to be displayed from "Visible Frontpage Information" be sure to save to take effect.

Edited by Gragorg

2 hours ago, Gragorg said:

Just go into the plugin on the configuration tab and pick  any boxes to be displayed from "Visible Frontpage Information" be sure to save to take effect.

That did the trick.  Many thanks!!

go into settings of disklocation and update the settings, this fix worked for me

@FlamongOle:  I've reinstalled it and it's working great!  Thanks for the quick response at squashing these bugs.

Just chiming in, I was able to install and then restore from a previous backup. Seems to be working fine now. Thanks @FlamongOle!

I was able to fix the Dashboard issue by changing the LED signals from Dynamic to Static, then refreshed and changed them back to Dynamic

  • Author

Update 2024.10.28

  • Commit #334 - BUG: Found the root cause of the blank dashboard issue. A file got symlinked with "null" instead of the actual file (duplicate of #328 and #333).

Nothing more than that.

On 10/27/2024 at 3:12 PM, Gragorg said:

Just go into the plugin on the configuration tab and pick  any boxes to be displayed from "Visible Frontpage Information" be sure to save to take effect.

what was/is the default information that were visible on the dashboard/front page of unraid web-ui for the disk location plugin before it went all "blank"?

  • Author
On 10/30/2024 at 1:53 PM, kakburken said:

what was/is the default information that were visible on the dashboard/front page of unraid web-ui for the disk location plugin before it went all "blank"?

There's no real default here, pick whatever you like.

 

Newest implementations are the icons, which "default" to "Unraid", and LEDs to "dynamic". However, "static" would be more default Unraid system wise.

14 hours ago, FlamongOle said:

There's no real default here, pick whatever you like.

 

Newest implementations are the icons, which "default" to "Unraid", and LEDs to "dynamic". However, "static" would be more default Unraid system wise.

ok, sorry for beeing unclear about what i meant. 

what i meant was that before i updated, every drive on the dashboard had information. Information that i no longer remember what they were, but information that i hadnt changed at all, so it was "default" when i first installed the plugin. And after the update i now have rectangular boxes with no information at all except the colors filling the boxes (see the image). So, its the information that every box had before updating that i want back.

image.thumb.png.095df4762921019e957f163f2d0440dd.png

  • Author
19 minutes ago, kakburken said:

ok, sorry for beeing unclear about what i meant. 

what i meant was that before i updated, every drive on the dashboard had information. Information that i no longer remember what they were, but information that i hadnt changed at all, so it was "default" when i first installed the plugin. And after the update i now have rectangular boxes with no information at all except the colors filling the boxes (see the image). So, its the information that every box had before updating that i want back.

 

 

No real defaults there either, just choose whatever feels important.

 

Anyway, what's initial set is listed in the code here:

https://github.com/olehj/disklocation/blob/master/disklocation/pages/sqlite_tables.php#L52-L86

 

Edited by FlamongOle

So, my drives show up correctly in the settings and information.  I have selected options under visible front page information, did a ctrl - F5 and the dashboard is still blank.  I even tried the suggestion that I change the LED signals from Dynamic to static and back to dynamic (with a ctrk F5 in between. 

 

To clarify the dashboard icons don't show any data when I hover over them like they use to.

 

I guess I am lost.  How to I restore the section on the dashboard to show information again?

Edited by mpoffo
clarification

  • Author
On 11/3/2024 at 1:58 AM, mpoffo said:

So, my drives show up correctly in the settings and information.  I have selected options under visible front page information, did a ctrl - F5 and the dashboard is still blank.  I even tried the suggestion that I change the LED signals from Dynamic to static and back to dynamic (with a ctrk F5 in between. 

 

To clarify the dashboard icons don't show any data when I hover over them like they use to.

 

I guess I am lost.  How to I restore the section on the dashboard to show information again?

Did you try to restore a backup?

I have not tried to restore from a back-up.  Is that the recommended option?

 

  • Author
17 hours ago, mpoffo said:

I have not tried to restore from a back-up.  Is that the recommended option?

 

Can't hurt if you can't find the solution by saving the configuration, dunno what's going on there as I can replicate it myself

Hi - I have ben using disk location for while and really like it. Is there any way to add additional columns to the sets of tables? For example, the main user editable field is "Comment" which I use for some information for each disk. I'd love to be able to add additional tables / columns with any title I need. Such as "Connected Controller", "Contoller Port Number", etc, etc. Is there any way to do this, or any way you could implement it in the future? Thanks,

  • Author
On 11/9/2024 at 6:17 PM, PitRejection2359 said:

Hi - I have ben using disk location for while and really like it. Is there any way to add additional columns to the sets of tables? For example, the main user editable field is "Comment" which I use for some information for each disk. I'd love to be able to add additional tables / columns with any title I need. Such as "Connected Controller", "Contoller Port Number", etc, etc. Is there any way to do this, or any way you could implement it in the future? Thanks,

Maybe in the future. Connected controller and port number should be described with the "Path"/device.

 

From lsscsi --help:

<h:c:t:l>         Meaning:
                     <host_num:controller:target:lun>

And for NVMe:
                     <'N':ctl_num:cntlid:namespace_id>

 

Table sorting: "device" is the option to show this information. Otherwise it is "Path" under "Visible Frontpage Information"

  • Author

INFO 2024.11.12:

Disk Location plugin is tested and should be functioning under Unraid 7.0.0-beta4.

 

Plugin has been tested during upgrade from Unraid 6.12.12 -> 6.12.13 -> 7.0.0-beta4 with current Disk Location version 2024.10.28, including migration from older databases and settings.

 

If you have issues with the plugin, it's likely not related to Unraid upgrade.

 

There has been some issues out there with faulty/empty information on the Dashboard/Frontpage of the plugin. Restore from previous backup, then execute "Force update all" from the System tab.

6 hours ago, FlamongOle said:

Maybe in the future. Connected controller and port number should be described with the "Path"/device.

 

From lsscsi --help:

<h:c:t:l>         Meaning:
                     <host_num:controller:target:lun>

And for NVMe:
                     <'N':ctl_num:cntlid:namespace_id>

 

Table sorting: "device" is the option to show this information. Otherwise it is "Path" under "Visible Frontpage Information"

Thanks - I recognised that was there but wasn't sure of the decode, so I'll see if that helps me ID / track all of my disks.

I still think it would be great to add custom fields, for whatever we want; I've recent added SMR / CMR to the single comment field, but would be great to add multiple custom fields as required. Thanks and keep up the great work!

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.