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
6 hours ago, edival said:

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

 

Normally, this should give you a text telling you to do a "SMART" update, I don't know why this happen yet. I haven't been able to reproduce this issue myself yet. But if you do a SMART update, (not SMART+DB), does it help? I don't know why yet it should make a difference between SMART and SMART+DB as SMART+DB should be SMART and +DB .. sorry for the confusing text hihi :P 

  • 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
9 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?

No, that should have resolved it. But as others report, doing just a SMART update might work. Can you try that and report back?

 

I don't know why that is the case yet, but it's obviously a bug :P

1 minute ago, FlamongOle said:

 

Normally, this should give you a text telling you to do a "SMART" update, I don't know why this happen yet. I haven't been able to reproduce this issue myself yet. But if you do a SMART update, (not SMART+DB), does it help? I don't know why yet it should make a difference between SMART and SMART+DB as SMART+DB should be SMART and +DB .. sorry for the confusing text hihi :P 

I did that a couple of times. No change. 

8 minutes ago, FlamongOle said:

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.

What I immediately found in the PHP log may give you what you need:

 

text  error  warn  system  array  login  

[14-Feb-2025 13:45:37 America/New_York] PHP Warning:  scandir(/boot/config/plugins/disklocation/backup/._20240328-204958): Failed to open directory: Not a directory in /usr/local/emhttp/plugins/disklocation/pages/page_system.php on line 211
[14-Feb-2025 13:45:37 America/New_York] PHP Warning:  scandir(): (errno 20): Not a directory in /usr/local/emhttp/plugins/disklocation/pages/page_system.php on line 211
[14-Feb-2025 13:45:37 America/New_York] PHP Fatal error:  Uncaught TypeError: array_diff(): Argument #1 ($array) must be of type array, false given in /usr/local/emhttp/plugins/disklocation/pages/page_system.php:211
Stack trace:
#0 /usr/local/emhttp/plugins/disklocation/pages/page_system.php(211): array_diff(false, Array)
#1 /usr/local/emhttp/plugins/disklocation/pages/page_system.php(385): disklocation_system('backup', 'list')
#2 {main}
  thrown in /usr/local/emhttp/plugins/disklocation/pages/page_system.php on line 211
[14-Feb-2025 13:46:55 America/New_York] PHP Fatal error:  Uncaught TypeError: array_diff(): Argument #1 ($array) must be of type array, false given in /usr/local/emhttp/plugins/disklocation/pages/page_system.php:211
Stack trace:
#0 /usr/local/emhttp/plugins/disklocation/pages/page_system.php(211): array_diff(false, Array)
#1 /usr/local/emhttp/plugins/disklocation/pages/page_system.php(423): disklocation_system('backup', 'list')
#2 /usr/local/emhttp/plugins/dynamix/include/DefaultPageLayout.php(778) : eval()'d code(5): require_once('/usr/local/emht...')
#3 /usr/local/emhttp/plugins/dynamix/include/DefaultPageLayout.php(778): 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/page_system.php on line 211
[14-Feb-2025 13:53:34 America/New_York] PHP Fatal error:  Uncaught TypeError: array_diff(): Argument #1 ($array) must be of type array, false given in /usr/local/emhttp/plugins/disklocation/pages/page_system.php:211
Stack trace:
#0 /usr/local/emhttp/plugins/disklocation/pages/page_system.php(211): array_diff(false, Array)
#1 /usr/local/emhttp/plugins/disklocation/pages/page_system.php(423): disklocation_system('backup', 'list')
#2 /usr/local/emhttp/plugins/dynamix/include/DefaultPageLayout.php(778) : eval()'d code(5): require_once('/usr/local/emht...')
#3 /usr/local/emhttp/plugins/dynamix/include/DefaultPageLayout.php(778): 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/page_system.php on line 211
[14-Feb-2025 13:59:11 America/New_York] PHP Fatal error:  Uncaught TypeError: array_diff(): Argument #1 ($array) must be of type array, false given in /usr/local/emhttp/plugins/disklocation/pages/page_system.php:211
Stack trace:
#0 /usr/local/emhttp/plugins/disklocation/pages/page_system.php(211): array_diff(false, Array)
#1 /usr/local/emhttp/plugins/disklocation/pages/page_system.php(423): disklocation_system('backup', 'list')
#2 /usr/local/emhttp/plugins/dynamix/include/DefaultPageLayout.php(778) : eval()'d code(5): require_once('/usr/local/emht...')
#3 /usr/local/emhttp/plugins/dynamix/include/DefaultPageLayout.php(778): 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/page_system.php on line 211
[14-Feb-2025 13:59:19 America/New_York] PHP Fatal error:  Uncaught TypeError: array_diff(): Argument #1 ($array) must be of type array, false given in /usr/local/emhttp/plugins/disklocation/pages/page_system.php:211
Stack trace:
#0 /usr/local/emhttp/plugins/disklocation/pages/page_system.php(211): array_diff(false, Array)
#1 /usr/local/emhttp/plugins/disklocation/pages/page_system.php(423): disklocation_system('backup', 'list')
#2 /usr/local/emhttp/plugins/dynamix/include/DefaultPageLayout.php(778) : eval()'d code(5): require_once('/usr/local/emht...')
#3 /usr/local/emhttp/plugins/dynamix/include/DefaultPageLayout.php(778): 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/page_system.php on line 211
[14-Feb-2025 18:51:43 America/New_York] PHP Fatal error:  Uncaught TypeError: array_diff(): Argument #1 ($array) must be of type array, false given in /usr/local/emhttp/plugins/disklocation/pages/page_system.php:211
Stack trace:
#0 /usr/local/emhttp/plugins/disklocation/pages/page_system.php(211): array_diff(false, Array)
#1 /usr/local/emhttp/plugins/disklocation/pages/page_system.php(423): disklocation_system('backup', 'list')
#2 /usr/local/emhttp/plugins/dynamix/include/DefaultPageLayout.php(778) : eval()'d code(5): require_once('/usr/local/emht...')
#3 /usr/local/emhttp/plugins/dynamix/include/DefaultPageLayout.php(778): 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/page_system.php on line 211

 

Does that explain what's happening?  Let me know what else you need.

  • Author
1 minute ago, Edival76 said:

I did that a couple of times. No change. 

Can you go to "System" tab, click enable "debugging", then right away click disable. Download the log that appears, then give it to me? It do consist of serial numbers and comments etc. (everything store din Disk Location). Feel free to send me as private message.

 

Also, can you give me the contents of, in terminal:

ls -la /tmp/disklocation/*

ls -la /tmp/disklocation/smart/*

 

Won't have time to look at it now, but tomorrow/sunday or so. Thanks

4 minutes ago, FlamongOle said:

Can you go to "System" tab, click enable "debugging", then right away click disable. Download the log that appears, then give it to me? It do consist of serial numbers and comments etc. (everything store din Disk Location). Feel free to send me as private message.

 

Also, can you give me the contents of, in terminal:

ls -la /tmp/disklocation/*

ls -la /tmp/disklocation/smart/*

 

Won't have time to look at it now, but tomorrow/sunday or so. Thanks

Here you go.

 

root@Tower:~# ls -la /tmp/disklocation/*
-rw-r--r-- 1 root root   2368 Feb 14 10:17 /tmp/disklocation/benchmark.2025-02-14.log
-rw-r--r-- 1 root root   1455 Feb 14 16:55 /tmp/disklocation/cron_smart.log
-rw-rw-rw- 1 root root 345042 Feb 14 16:55 /tmp/disklocation/disklocation.log
-rw-r--r-- 1 root root   2455 Feb 14 10:07 /tmp/disklocation/hddcheck.log
-rw-r--r-- 1 root root   7018 Feb 14 16:55 /tmp/disklocation/lsblk.json
-rw-r--r-- 1 root root    332 Feb 14 10:00 /tmp/disklocation/powermode.ini
-rw-r--r-- 1 root root    409 Feb 14 16:55 /tmp/disklocation/powermode.json
-rw-r--r-- 1 root root    308 Feb 14 16:55 /tmp/disklocation/zpool_status.dat

/tmp/disklocation/smart:
total 636
drwxr-xr-x 2 root root   340 Feb 14 10:05 ./
drwxr-xr-x 3 root root   220 Feb 14 16:56 ../
-rw-r--r-- 1 root root 41442 Feb 14 16:55 CT500MX500SSD1_2402E88CAE79.json
-rw-r--r-- 1 root root 46667 Feb 14 16:55 ST10000VN0004-1ZD101_ZA2BM9VD.json
-rw-r--r-- 1 root root 47715 Feb 14 16:55 ST10000VN0008-2JJ101_ZHZ16KL5.json
-rw-r--r-- 1 root root 27720 Feb 14 16:55 ST1000NC000-1CX162_Z1D5Z19H.json
-rw-r--r-- 1 root root 47669 Feb 14 16:55 ST12000VN0008-2PH103_ZL2J50WH.json
-rw-r--r-- 1 root root 48052 Feb 14 16:55 ST16000NE000-2RW103_ZL2N3TRC.json
-rw-r--r-- 1 root root 47916 Feb 14 16:55 ST16000NE000-2WX103_ZR50LC5G.json
-rw-r--r-- 1 root root 48245 Feb 14 16:55 ST20000NE000-3G5101_ZVTCS7CY.json
-rw-r--r-- 1 root root 49348 Feb 14 16:55 ST20000NE000-3G5101_ZVTDLEZW.json
-rw-r--r-- 1 root root 48572 Feb 14 16:55 ST20000NM007D-3DJ103_ZVT62YBA.json
-rw-r--r-- 1 root root 31864 Feb 14 16:55 ST2000DL003-9VT166_5YD1J22W.json
-rw-r--r-- 1 root root 45535 Feb 14 16:55 ST8000VN0022-2EL112_ZA1FVHHA.json
-rw-r--r-- 1 root root 40623 Feb 14 16:55 WDC_WD80EMAZ-00M9AA0_VAGG91SL.json
-rw-r--r-- 1 root root 27301 Feb 14 16:55 WDC_WDS500G2B0A_190806A00018.json
-rw-r--r-- 1 root root 27635 Feb 14 16:55 WDC__WDS500G1R0A-68A4W0_23520P801790.json

 

 

disklocation-2025-02-14.log

Edited by Edival76

  • Author
1 minute ago, Miss_Sissy said:

What I immediately found in the PHP log may give you what you need:

 

text  error  warn  system  array  login  

[14-Feb-2025 13:45:37 America/New_York] PHP Warning:  scandir(/boot/config/plugins/disklocation/backup/._20240328-204958): Failed to open directory: Not a directory in /usr/local/emhttp/plugins/disklocation/pages/page_system.php on line 211
[14-Feb-2025 13:45:37 America/New_York] PHP Warning:  scandir(): (errno 20): Not a directory in /usr/local/emhttp/plugins/disklocation/pages/page_system.php on line 211
[14-Feb-2025 13:45:37 America/New_York] PHP Fatal error:  Uncaught TypeError: array_diff(): Argument #1 ($array) must be of type array, false given in /usr/local/emhttp/plugins/disklocation/pages/page_system.php:211
Stack trace:
#0 /usr/local/emhttp/plugins/disklocation/pages/page_system.php(211): array_diff(false, Array)
#1 /usr/local/emhttp/plugins/disklocation/pages/page_system.php(385): disklocation_system('backup', 'list')
#2 {main}
  thrown in /usr/local/emhttp/plugins/disklocation/pages/page_system.php on line 211
[14-Feb-2025 13:46:55 America/New_York] PHP Fatal error:  Uncaught TypeError: array_diff(): Argument #1 ($array) must be of type array, false given in /usr/local/emhttp/plugins/disklocation/pages/page_system.php:211
Stack trace:
#0 /usr/local/emhttp/plugins/disklocation/pages/page_system.php(211): array_diff(false, Array)
#1 /usr/local/emhttp/plugins/disklocation/pages/page_system.php(423): disklocation_system('backup', 'list')
#2 /usr/local/emhttp/plugins/dynamix/include/DefaultPageLayout.php(778) : eval()'d code(5): require_once('/usr/local/emht...')
#3 /usr/local/emhttp/plugins/dynamix/include/DefaultPageLayout.php(778): 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/page_system.php on line 211
[14-Feb-2025 13:53:34 America/New_York] PHP Fatal error:  Uncaught TypeError: array_diff(): Argument #1 ($array) must be of type array, false given in /usr/local/emhttp/plugins/disklocation/pages/page_system.php:211
Stack trace:
#0 /usr/local/emhttp/plugins/disklocation/pages/page_system.php(211): array_diff(false, Array)
#1 /usr/local/emhttp/plugins/disklocation/pages/page_system.php(423): disklocation_system('backup', 'list')
#2 /usr/local/emhttp/plugins/dynamix/include/DefaultPageLayout.php(778) : eval()'d code(5): require_once('/usr/local/emht...')
#3 /usr/local/emhttp/plugins/dynamix/include/DefaultPageLayout.php(778): 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/page_system.php on line 211
[14-Feb-2025 13:59:11 America/New_York] PHP Fatal error:  Uncaught TypeError: array_diff(): Argument #1 ($array) must be of type array, false given in /usr/local/emhttp/plugins/disklocation/pages/page_system.php:211
Stack trace:
#0 /usr/local/emhttp/plugins/disklocation/pages/page_system.php(211): array_diff(false, Array)
#1 /usr/local/emhttp/plugins/disklocation/pages/page_system.php(423): disklocation_system('backup', 'list')
#2 /usr/local/emhttp/plugins/dynamix/include/DefaultPageLayout.php(778) : eval()'d code(5): require_once('/usr/local/emht...')
#3 /usr/local/emhttp/plugins/dynamix/include/DefaultPageLayout.php(778): 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/page_system.php on line 211
[14-Feb-2025 13:59:19 America/New_York] PHP Fatal error:  Uncaught TypeError: array_diff(): Argument #1 ($array) must be of type array, false given in /usr/local/emhttp/plugins/disklocation/pages/page_system.php:211
Stack trace:
#0 /usr/local/emhttp/plugins/disklocation/pages/page_system.php(211): array_diff(false, Array)
#1 /usr/local/emhttp/plugins/disklocation/pages/page_system.php(423): disklocation_system('backup', 'list')
#2 /usr/local/emhttp/plugins/dynamix/include/DefaultPageLayout.php(778) : eval()'d code(5): require_once('/usr/local/emht...')
#3 /usr/local/emhttp/plugins/dynamix/include/DefaultPageLayout.php(778): 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/page_system.php on line 211
[14-Feb-2025 18:51:43 America/New_York] PHP Fatal error:  Uncaught TypeError: array_diff(): Argument #1 ($array) must be of type array, false given in /usr/local/emhttp/plugins/disklocation/pages/page_system.php:211
Stack trace:
#0 /usr/local/emhttp/plugins/disklocation/pages/page_system.php(211): array_diff(false, Array)
#1 /usr/local/emhttp/plugins/disklocation/pages/page_system.php(423): disklocation_system('backup', 'list')
#2 /usr/local/emhttp/plugins/dynamix/include/DefaultPageLayout.php(778) : eval()'d code(5): require_once('/usr/local/emht...')
#3 /usr/local/emhttp/plugins/dynamix/include/DefaultPageLayout.php(778): 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/page_system.php on line 211

 

Does that explain what's happening?  Let me know what else you need.

This path is strange: /boot/config/plugins/disklocation/backup/._20240328-204958

 

Can you do this in terminal and give me the output of this:

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

47 minutes ago, FlamongOle said:

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.

All good. The work around is pretty simple and got me going again! Looks like there may be some higher priority issues on the forum here to deal with first.  Either way, thanks for the addon! It is doing exactly what I was looking for! 

 

If I get a chance to look as well, I'll see what PHP I remember and try a few things / suggest a fix. 

2 hours ago, FlamongOle said:

This path is strange: /boot/config/plugins/disklocation/backup/._20240328-204958

 

Can you do this in terminal and give me the output of this:

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

root@Unraid-NAS:~# ls -la /boot/config/plugins/disklocation/backup/
total 24
drwx------ 5 root root 4096 Feb 14 12:29 ./
drwx------ 4 root root 4096 Feb 14 13:25 ../
-rw------- 1 root root 4096 Oct 10 19:03 ._20240328-204958
drwx------ 2 root root 4096 Jan 23 13:50 20250123-135020/
drwx------ 2 root root 4096 Jan 23 14:28 20250123-142806/
drwx------ 2 root root 4096 Feb 14 12:29 20250214-122912/
root@Unraid-NAS:~# 

 

I did not muck about at the command line to move anything before or after installation or update of Disk Location.  The NAS is connected to an Eaton 3000VA UPS and I don't yank the power cord or flip the power switch.  It's generally rock-solid and runs for weeks or even months at a time.

 

Thanks for your help.

 

 

Question:

How can i get back the operating hours of my HDDs?

Since the last update, its gone on all Disks...

How is the name of the variable to show the Power On Hours?

By the way, this "new" version has far less functions then the old one and a lot of check-boxes are gone (?)

Why...

 

EDIT: This tool has again deleted all my purchase Dates for my Disk.... not nice and not helpful...

Edited by Zonediver

  • Author
5 hours ago, Zonediver said:

Question:

How can i get back the operating hours of my HDDs?

Since the last update, its gone on all Disks...

How is the name of the variable to show the Power On Hours?

By the way, this "new" version has far less functions then the old one and a lot of check-boxes are gone (?)

Why...

 

EDIT: This tool has again deleted all my purchase Dates for my Disk.... not nice and not helpful...

You SHOULD press the Help button.. you must format things manually, this way you can choose what to display where with formatted style too.

 

The dates are now only using date config from Unraid directly. If you stored them via the plugin only, then yes, they are gone. However, they are still in the SQLite file as a backup, so not lost unless you deleted it. You can activate the "Allow editing of Unraid config" under Configuration to be able to store these dates in the plugin itself, so you don't need to go into single drive manually. But the job has to be completed once.

 

You can retrieve it by using terminal:

Find and verify your latest backup with file called disklocation.sqlite.gz:
ls -r /boot/config/plugins/disklocation/backup/*/*.sqlite.gz | head -n 1

Then copy it to /tmp:
cp $(ls -r /boot/config/plugins/disklocation/backup/*/*.sqlite.gz | head -n 1) /tmp/

Extract it:
gunzip /tmp/disklocation.sqlite.gz

Run this to retrieve your dates:
sqlite3 /tmp/disklocation.sqlite "select model_name,smart_serialnumber,manufactured,purchased,installed,removed,warranty,warranty_date from disks;"


One liner:
cp $(ls -r /boot/config/plugins/disklocation/backup/*/*.sqlite.gz | head -n 1) /tmp/ ; gunzip /tmp/disklocation.sqlite.gz ; sqlite3 /tmp/disklocation.sqlite "select model_name,smart_serialnumber,manufactured,purchased,installed,removed,warranty,warranty_date from disks;"

 

  • Author
7 hours ago, Miss_Sissy said:
root@Unraid-NAS:~# ls -la /boot/config/plugins/disklocation/backup/
total 24
drwx------ 5 root root 4096 Feb 14 12:29 ./
drwx------ 4 root root 4096 Feb 14 13:25 ../
-rw------- 1 root root 4096 Oct 10 19:03 ._20240328-204958
drwx------ 2 root root 4096 Jan 23 13:50 20250123-135020/
drwx------ 2 root root 4096 Jan 23 14:28 20250123-142806/
drwx------ 2 root root 4096 Feb 14 12:29 20250214-122912/
root@Unraid-NAS:~# 

 

I did not muck about at the command line to move anything before or after installation or update of Disk Location.  The NAS is connected to an Eaton 3000VA UPS and I don't yank the power cord or flip the power switch.  It's generally rock-solid and runs for weeks or even months at a time.

 

Thanks for your help.

I don't blame anyone ;) 

 

I don't know what happened here, but I see when and there was a lot going on at that time. That backup is for some reason just a file, you can safely delete it. However, I will try to bypass unexpected files in the backup folder so the System page does not crash.

 

Delete:

rm /boot/config/plugins/disklocation/backup/._20240328-204958

 

 

Next version will enable System tab again if faulty files exists, and then it will search for unexpected files which then can be deleted via the plugins System tab. They will be listed.

Edited by FlamongOle
Added unexpected files info

  • Author

Update 2025.02.15

  • Commit #381 - BUG: SMART detected as failed when the drives are OK. I found a problem where the SMART status did not change. Adjusted some variables and defined them differently. Hopefully this is now fixed.
  • Commit #380 - BUG: Unexpected files causes System tab to fail. Added a check for unexpected files and also possibility to delete them via System.
  • Commit #379 - BUG: Disk Tray Layout missing add button has been fixed when a Disk Location is in a clean state.
4 hours ago, FlamongOle said:

You SHOULD press the Help button..

 

lol - you are right - i COMPLETELY forgot this "option" 🤣

My brain is maybe a little bit slow 🤣

Thanks for this hint - working 👍

 

grafik.png.416cd67080b48ea59dbfe476cf19c68d.png

Edited by Zonediver

  • Author
14 minutes ago, Zonediver said:

 

lol - you are right - i COMPLETELY forgot this "option" 🤣

My brain is maybe a little bit slow 🤣

Thanks for this hint - working 👍

 

grafik.png.416cd67080b48ea59dbfe476cf19c68d.png

No worries, we've all been there ;) 

Configuration help… Installed on Unraid 7.0.0. Under “System” tab there is no Force SMART+DB option….. the tab is blank? Is this an issue with unraid 7.0.0 or am I missing something?

I have the same issue as @farberm. Empty tab under "System". In addition, if i try to save a setting under the Configuration tab i get this error in the system log:
 

Feb 15 15:34:08 Tower webGUI: error: /Tools/disklocation - missing csrf_token
Feb 15 15:34:12 Tower webGUI: error: /webGui/include/InitCharts.php - wrong csrf_token
Feb 15 15:34:40 Tower webGUI: error: /Tools/disklocation - missing csrf_token

 

In PHP log i get this:
 

[15-Feb-2025 15:19:29 Europe/Berlin] PHP Warning:  Undefined array key 0 in /usr/local/emhttp/plugins/disklocation/pages/page_system.php on line 244
[15-Feb-2025 15:19:29 Europe/Berlin] PHP Warning:  Trying to access array offset on null in /usr/local/emhttp/plugins/disklocation/pages/page_system.php on line 244
[15-Feb-2025 15:19:29 Europe/Berlin] PHP Fatal error:  Uncaught TypeError: array_merge(): Argument #2 must be of type array, false given in /usr/local/emhttp/plugins/disklocation/pages/page_system.php:106
Stack trace:
#0 /usr/local/emhttp/plugins/disklocation/pages/page_system.php(106): array_merge(Array, false)
#1 {main}
  thrown in /usr/local/emhttp/plugins/disklocation/pages/page_system.php on line 106
[15-Feb-2025 15:29:51 Europe/Berlin] PHP Fatal error:  Uncaught TypeError: array_merge(): Argument #2 must be of type array, false given in /usr/local/emhttp/plugins/disklocation/pages/page_system.php:106
Stack trace:
#0 /usr/local/emhttp/plugins/disklocation/pages/page_system.php(106): array_merge(Array, false)
#1 /usr/local/emhttp/plugins/dynamix/include/DefaultPageLayout.php(778) : eval()'d code(5): require_once('/usr/local/emht...')
#2 /usr/local/emhttp/plugins/dynamix/include/DefaultPageLayout.php(778): eval()
#3 /usr/local/emhttp/plugins/dynamix/template.php(94): require_once('/usr/local/emht...')
#4 {main}
  thrown in /usr/local/emhttp/plugins/disklocation/pages/page_system.php on line 106
[15-Feb-2025 15:34:29 Europe/Berlin] PHP Fatal error:  Uncaught TypeError: array_merge(): Argument #2 must be of type array, false given in /usr/local/emhttp/plugins/disklocation/pages/page_system.php:106
Stack trace:
#0 /usr/local/emhttp/plugins/disklocation/pages/page_system.php(106): array_merge(Array, false)
#1 /usr/local/emhttp/plugins/dynamix/include/DefaultPageLayout.php(778) : eval()'d code(5): require_once('/usr/local/emht...')
#2 /usr/local/emhttp/plugins/dynamix/include/DefaultPageLayout.php(778): eval()
#3 /usr/local/emhttp/plugins/dynamix/template.php(94): require_once('/usr/local/emht...')
#4 {main}
  thrown in /usr/local/emhttp/plugins/disklocation/pages/page_system.php on line 106
[15-Feb-2025 15:38:44 Europe/Berlin] PHP Fatal error:  Uncaught TypeError: array_merge(): Argument #2 must be of type array, false given in /usr/local/emhttp/plugins/disklocation/pages/page_system.php:106
Stack trace:
#0 /usr/local/emhttp/plugins/disklocation/pages/page_system.php(106): array_merge(Array, false)
#1 /usr/local/emhttp/plugins/dynamix/include/DefaultPageLayout.php(778) : eval()'d code(5): require_once('/usr/local/emht...')
#2 /usr/local/emhttp/plugins/dynamix/include/DefaultPageLayout.php(778): eval()
#3 /usr/local/emhttp/plugins/dynamix/template.php(94): require_once('/usr/local/emht...')
#4 {main}
  thrown in /usr/local/emhttp/plugins/disklocation/pages/page_system.php on line 106

 

15 minutes ago, farberm said:

Configuration help… Installed on Unraid 7.0.0. Under “System” tab there is no Force SMART+DB option….. the tab is blank? Is this an issue with unraid 7.0.0 or am I missing something?

I had the exact same thing, came here to investigate. It looks like there was a patch to this plugin released today which fixes it (2025.02.15).

 

I now have the option again.

There is no patch showing, I removed the plugin, deleted the plugin directory, and reinstalled. The System Tab is blank, did you install the patch manually or is there an update?

 

When I check for an update all I receive is the following:

 

image.thumb.png.29bf4e980486951da30ea36aef0a9a9e.png

 

Thanks

Edited by Govnah

The system tab is blank on my end as well. I'm on Unraid 7.0.0 and plugin version 2025.02.15. 

18 minutes ago, Govnah said:

There is no patch showing, I removed the plugin, deleted the plugin directory, and reinstalled. The System Tab is blank, did you install the patch manually or is there an update?

 

When I check for an update all I receive is the following:

 

image.thumb.png.29bf4e980486951da30ea36aef0a9a9e.png

 

Thanks

It was an update to the plugin, through the usual method in the plugins tab. You have the same version as me now.

Unfortunately, my System Tab is still blank, guess I'll wait for the devs reply. 

 

Thanks

  • Author
9 minutes ago, Govnah said:

Unfortunately, my System Tab is still blank, guess I'll wait for the devs reply. 

 

Thanks

 

Please go to Tools -> PHP Settings.

 

Then enable "all categories", press apply.

 

Go to Disk Location and System tab, then go back to PHP Settings again and look at the log file. Paste me everything related to "disk location" please

Great plug-in, but my setup contains two Norco chassis stacked vertically in a rack. 

 

Possible to configure disk location to reflect two Norco 4224 vertically?  Currently I can only configure the plugin to be side-by-side.

15-Feb-2025 09:05:43 America/Chicago] PHP Warning:  Trying to access array offset on null in /usr/local/emhttp/plugins/disklocation/pages/page_system.php on line 244
[15-Feb-2025 09:05:43 America/Chicago] PHP Fatal error:  Uncaught TypeError: array_merge(): Argument #2 must be of type array, false given in /usr/local/emhttp/plugins/disklocation/pages/page_system.php:106
Stack trace:
#0 /usr/local/emhttp/plugins/disklocation/pages/page_system.php(106): array_merge(Array, false)
#1 {main}
  thrown in /usr/local/emhttp/plugins/disklocation/pages/page_system.php on line 106
[15-Feb-2025 09:05:55 America/Chicago] PHP Fatal error:  Uncaught TypeError: array_merge(): Argument #2 must be of type array, false given in /usr/local/emhttp/plugins/disklocation/pages/page_system.php:106
Stack trace:
#0 /usr/local/emhttp/plugins/disklocation/pages/page_system.php(106): array_merge(Array, false)
#1 /usr/local/emhttp/plugins/dynamix/include/DefaultPageLayout.php(769) : eval()'d code(5): require_once('/usr/local/emht...')
#2 /usr/local/emhttp/plugins/dynamix/include/DefaultPageLayout.php(769): eval()
#3 /usr/local/emhttp/plugins/dynamix/template.php(94): require_once('/usr/local/emht...')
#4 {main}
  thrown in /usr/local/emhttp/plugins/disklocation/pages/page_system.php on line 106
[15-Feb-2025 09:12:42 America/Chicago] PHP Warning:  Undefined array key 0 in /usr/local/emhttp/plugins/disklocation/pages/page_system.php on line 244
[15-Feb-2025 09:12:42 America/Chicago] PHP Warning:  Trying to access array offset on null in /usr/local/emhttp/plugins/disklocation/pages/page_system.php on line 244
[15-Feb-2025 09:12:42 America/Chicago] PHP Fatal error:  Uncaught TypeError: array_merge(): Argument #2 must be of type array, false given in /usr/local/emhttp/plugins/disklocation/pages/page_system.php:106
Stack trace:
#0 /usr/local/emhttp/plugins/disklocation/pages/page_system.php(106): array_merge(Array, false)
#1 {main}
  thrown in /usr/local/emhttp/plugins/disklocation/pages/page_system.php on line 106
[15-Feb-2025 09:12:52 America/Chicago] PHP Fatal error:  Uncaught TypeError: array_merge(): Argument #2 must be of type array, false given in /usr/local/emhttp/plugins/disklocation/pages/page_system.php:106
Stack trace:
#0 /usr/local/emhttp/plugins/disklocation/pages/page_system.php(106): array_merge(Array, false)
#1 /usr/local/emhttp/plugins/dynamix/include/DefaultPageLayout.php(769) : eval()'d code(5): require_once('/usr/local/emht...')
#2 /usr/local/emhttp/plugins/dynamix/include/DefaultPageLayout.php(769): eval()
#3 /usr/local/emhttp/plugins/dynamix/template.php(94): require_once('/usr/local/emht...')
#4 {main}
  thrown in /usr/local/emhttp/plugins/disklocation/pages/page_system.php on line 106
[15-Feb-2025 09:16:37 America/Chicago] PHP Warning:  Undefined array key 0 in /usr/local/emhttp/plugins/disklocation/pages/page_system.php on line 244
[15-Feb-2025 09:16:37 America/Chicago] PHP Warning:  Trying to access array offset on null in /usr/local/emhttp/plugins/disklocation/pages/page_system.php on line 244
[15-Feb-2025 09:16:37 America/Chicago] PHP Fatal error:  Uncaught TypeError: array_merge(): Argument #2 must be of type array, false given in /usr/local/emhttp/plugins/disklocation/pages/page_system.php:106
Stack trace:
#0 /usr/local/emhttp/plugins/disklocation/pages/page_system.php(106): array_merge(Array, false)
#1 {main}
  thrown in /usr/local/emhttp/plugins/disklocation/pages/page_system.php on line 106
[15-Feb-2025 09:17:01 America/Chicago] PHP Fatal error:  Uncaught TypeError: array_merge(): Argument #2 must be of type array, false given in /usr/local/emhttp/plugins/disklocation/pages/page_system.php:106
Stack trace:
#0 /usr/local/emhttp/plugins/disklocation/pages/page_system.php(106): array_merge(Array, false)
#1 /usr/local/emhttp/plugins/dynamix/include/DefaultPageLayout.php(769) : eval()'d code(5): require_once('/usr/local/emht...')
#2 /usr/local/emhttp/plugins/dynamix/include/DefaultPageLayout.php(769): eval()
#3 /usr/local/emhttp/plugins/dynamix/template.php(94): require_once('/usr/local/emht...')
#4 {main}
  thrown in /usr/local/emhttp/plugins/disklocation/pages/page_system.php on line 106
[15-Feb-2025 09:29:59 America/Chicago] PHP Warning:  Undefined array key 0 in /usr/local/emhttp/plugins/disklocation/pages/page_system.php on line 244
[15-Feb-2025 09:29:59 America/Chicago] PHP Warning:  Trying to access array offset on null in /usr/local/emhttp/plugins/disklocation/pages/page_system.php on line 244
[15-Feb-2025 09:29:59 America/Chicago] PHP Fatal error:  Uncaught TypeError: array_merge(): Argument #2 must be of type array, false given in /usr/local/emhttp/plugins/disklocation/pages/page_system.php:106
Stack trace:
#0 /usr/local/emhttp/plugins/disklocation/pages/page_system.php(106): array_merge(Array, false)
#1 {main}
  thrown in /usr/local/emhttp/plugins/disklocation/pages/page_system.php on line 106
[15-Feb-2025 09:30:08 America/Chicago] PHP Fatal error:  Uncaught TypeError: array_merge(): Argument #2 must be of type array, false given in /usr/local/emhttp/plugins/disklocation/pages/page_system.php:106
Stack trace:
#0 /usr/local/emhttp/plugins/disklocation/pages/page_system.php(106): array_merge(Array, false)
#1 /usr/local/emhttp/plugins/dynamix/include/DefaultPageLayout.php(769) : eval()'d code(5): require_once('/usr/local/emht...')
#2 /usr/local/emhttp/plugins/dynamix/include/DefaultPageLayout.php(769): eval()
#3 /usr/local/emhttp/plugins/dynamix/template.php(94): require_once('/usr/local/emht...')
#4 {main}
  thrown in /usr/local/emhttp/plugins/disklocation/pages/page_system.php on line 106
[15-Feb-2025 09:33:34 America/Chicago] PHP Fatal error:  Uncaught TypeError: array_merge(): Argument #2 must be of type array, false given in /usr/local/emhttp/plugins/disklocation/pages/page_system.php:106
Stack trace:
#0 /usr/local/emhttp/plugins/disklocation/pages/page_system.php(106): array_merge(Array, false)
#1 /usr/local/emhttp/plugins/dynamix/include/DefaultPageLayout.php(769) : eval()'d code(5): require_once('/usr/local/emht...')
#2 /usr/local/emhttp/plugins/dynamix/include/DefaultPageLayout.php(769): eval()
#3 /usr/local/emhttp/plugins/dynamix/template.php(94): require_once('/usr/local/emht...')
#4 {main}
  thrown in /usr/local/emhttp/plugins/disklocation/pages/page_system.php on line 106
[15-Feb-2025 09:37:49 America/Chicago] PHP Warning:  Undefined array key 0 in /usr/local/emhttp/plugins/disklocation/pages/page_system.php on line 244
[15-Feb-2025 09:37:49 America/Chicago] PHP Warning:  Trying to access array offset on null in /usr/local/emhttp/plugins/disklocation/pages/page_system.php on line 244
[15-Feb-2025 09:37:49 America/Chicago] PHP Fatal error:  Uncaught TypeError: array_merge(): Argument #2 must be of type array, false given in /usr/local/emhttp/plugins/disklocation/pages/page_system.php:106
Stack trace:
#0 /usr/local/emhttp/plugins/disklocation/pages/page_system.php(106): array_merge(Array, false)
#1 {main}
  thrown in /usr/local/emhttp/plugins/disklocation/pages/page_system.php on line 106
[15-Feb-2025 09:38:01 America/Chicago] PHP Fatal error:  Uncaught TypeError: array_merge(): Argument #2 must be of type array, false given in /usr/local/emhttp/plugins/disklocation/pages/page_system.php:106
Stack trace:
#0 /usr/local/emhttp/plugins/disklocation/pages/page_system.php(106): array_merge(Array, false)
#1 /usr/local/emhttp/plugins/dynamix/include/DefaultPageLayout.php(769) : eval()'d code(5): require_once('/usr/local/emht...')
#2 /usr/local/emhttp/plugins/dynamix/include/DefaultPageLayout.php(769): eval()
#3 /usr/local/emhttp/plugins/dynamix/template.php(94): require_once('/usr/local/emht...')
#4 {main}
  thrown in /usr/local/emhttp/plugins/disklocation/pages/page_system.php on line 106
[15-Feb-2025 09:38:52 America/Chicago] PHP Fatal error:  Uncaught TypeError: array_merge(): Argument #2 must be of type array, false given in /usr/local/emhttp/plugins/disklocation/pages/page_system.php:106
Stack trace:
#0 /usr/local/emhttp/plugins/disklocation/pages/page_system.php(106): array_merge(Array, false)
#1 /usr/local/emhttp/plugins/dynamix/include/DefaultPageLayout.php(769) : eval()'d code(5): require_once('/usr/local/emht...')
#2 /usr/local/emhttp/plugins/dynamix/include/DefaultPageLayout.php(769): eval()
#3 /usr/local/emhttp/plugins/dynamix/template.php(94): require_once('/usr/local/emht...')
#4 {main}
  thrown in /usr/local/emhttp/plugins/disklocation/pages/page_system.php on line 106

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.