Everything posted by FlamongOle
-
[PLUGIN] Disk Location
Overhaul '25 update: 2025.02.07-2352! See main post about additional changes:
-
[PLUGIN] Disk Location
Update 2025.02.08 (2024-edition) Commit #370 - MINOR: Blank displayinfo on update in some occasions, likely due to empty config without pulling the default config. @edival try to update and see if it fixes it.
-
[PLUGIN] Disk Location
Overhaul '25 update: 2025.02.07-1551! See main post about additional changes.
-
[PLUGIN] Disk Location
You will not loose any data by uninstalling. Just uninstall and install it again. Even by installing devel keeps the old config, also backs it up. Use "master"/CA for stable release. 2024-edition is for future if some wants to stay on this system and not the new one. 2024-edition is not compatible with CA and must be manually installed. Newest version won't fix the issue right away, you must do a force update all. New version will do that when booting your system next time and then it should prevent these things from happening. Overhaul '25 have an additional check added in place for this now (last update)
-
[PLUGIN] Disk Location
I updated devel (2025.02.06-0014) once again, please update it (regular way via Plugins if it's already installed). If you see any changes, good (red text is good in this regard). If nothing, then yes, logs would be fine. Please do following: Go to System tab If "Delete debug file" is visible, click that. Click "Enable" Then just click "Disable" right away, no need for refresh or anything (log file will increase size quite drastically every refresh) Then download the file and send to me as private message, WARNING! serial numbers, comments etc. are exposed! Also, which warnings/critical messages do you get?
-
[PLUGIN] Disk Location
You must do a Force Update All, if you have installed the newest stable version, this should now be fixed as Force Update All is executed at boot. What you see here is a misalignment between drives and drive PATH. Some of these LEDs might even be for wrong drives. I think I will adjust how this detecting works by using a different method. But for Overhaul '25.
-
[PLUGIN] Disk Location
The SMART tab will only show drives if it find anything reported as errors defined by Unraid config. If you see none, that means none of your drives have like reallocated sectors etc. I'm a bit more curious of why you had flashing backgrounds. That would happen if there's no SMART data available, but this was detected and should put a big red message about what you need to do. I can not reproduce it either, so I must do some more investigations of that.
-
[PLUGIN] Disk Location
That's TrayID, not tray number. It's written in red bold text above it.
-
[PLUGIN] Disk Location
Yes, you must wait until CA update its database. I don't know how often it does it.
-
[PLUGIN] Disk Location
It might take some minutes before its seen. Cache and stuff
-
[PLUGIN] Disk Location
Update 2025.02.07 - 2024-edition Commit #368 - MINOR: Fixed an issue were "Fix Common Problems" would trigger a warning about unknown application in "Community Apps"
-
[PLUGIN] Disk Location
Ah, I see why. I copied the 2024-edition install script over to master and forgot to change the branch name. But it's safe to use, I will fix it later today.
-
[PLUGIN] Disk Location
I don't know why it should be flagged, makes no sense. Did you install it manually or via community apps? It's however safe if you already have current stable running.
-
[PLUGIN] Disk Location
Did you update SMART? Was there a big red text at the start page telling you to perform it, or just all flashing red from the beginning? Also if you open terminal and type: ls /tmp/disklocation/ Do you see a folder called "smart"? And if, does it have contents? ls /tmp/disklocation/smart/ And btw. did you install the Overhaul '25 version (devel), or regular stable?
-
[PLUGIN] Disk Location
Update 2025.02.06 - 2024-edition Commit #366 - IMPROVEMENT: Revert a change to do a SMART scan during boot to prevent confusions. Also preparing for Overhaul '25.
-
[PLUGIN] Disk Location
Overhaul '25 has reached RC 2 (2025.02.10-2201)! https://github.com/olehj/disklocation/milestone/4?closed=1 I would like some guinea pigs to install and test this version. Please reach out if you are testing it, and for sure if you encounter any problems. Instructions for installation: First go to Tools -> Disk Location, open System tab and do a Force SMART+DB. Then create a backup (click "Backup" button). Go to plugins and uninstall "Disk Location" (if it is installed). Go to "Install plugin" and type in this URL: https://raw.githubusercontent.com/olehj/disklocation/devel/disklocation-devel.plg Wait until it's complete, then go to Dashboard or open plugin tab. Explore, read and do as it says. You will get a message about what to do, and it must be done the first update. Very easy! Revert back to stable edition: Go to plugins and uninstall "disklocation-devel" Go to community apps and install Disk Location from there or go to "install plugin" and type this URL: https://raw.githubusercontent.com/olehj/disklocation/master/disklocation-master.plg Your old database should not be touched, if it was, restore it from System, then execute Force SMART+DB. Stay on or revert to 2024-edition (even after Overhaul '25 reaches stable) - 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. ChangeLog: 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. Changes during RC2, outside issue reporting via github up to 2025.02.10-2201: Also added storage consumption info in System More benchmarks added (for development, and are related to the task below:) Optimized loading time, got rid of all slow "shell_exec" in the user code, added into cronjob for cache instead. Shaved off additional 20-30ms loading time. Added memory consumption info to System. Fallback to default sorting mode if something wrong is detected. Post from 2025.02.08-1936 is now invalid, however, an error might show and tell how to fix it). Reworked how errors are displayed. Changes during RC1, outside issue reporting via github, up to 2025.02.09-1936: Added "SSD Endurance" available and fixed correct numbers, combined nvme_used and ssd endurance into "endurance" (this might crash current devel installs (won't affect upgrades later), fix: edit files in /boot/config/plugins/disklocation/settings.json then search and replace "nvme_used" to "endurance", or just remove "nvme_used") (2025.02.08-1936) Fixed a folder creation problem, preventing SMART data to be stored in a frequent case. (2025.02.07-2352) Function added for checking valid data between system and database, trigger a warning if found (2025.02.07-1551). Added a green message if no SMART errors are found and hide the table to avoid confusion about the page. Benchmarks was added into backups Added reset options to delete user specific configs Other changes: A lot of code has been walked through and timed, shortening the loading time by quite a lot. 45 changed files with 5,710 additions and 5,492 deletions. Roughly estimated, I have been working with this overhaul around 300 hours. Screenshots: Some screenshots of Overhaul '25 along the process, some of them look slightly different from current version, but you get the gist of it:
-
[PLUGIN] Disk Location
Set tray count start at 0
-
[PLUGIN] Disk Location
There's multiple color bugs in current version, often best to "reset all colors" and start over. Hopefully all are addressed in the new version.
-
[PLUGIN] Disk Location
Overhaul '25 will have the stuff you look for. Tray override will be deprecated, but works after update for existing configs.
-
[PLUGIN] Disk Location
"disk name" will be a part of Overhaul '25, like "parity" "parity2" "disk4" etc.
-
[PLUGIN] Disk Location
-
[PLUGIN] Disk Location
In configuration, this must be enabled, I think it's disabled by default: "Automatic system boot and update scan" This might/will make the system use a bit more time to boot up, however, this will be enabled in Overhaul '25 by default and can't be turned off anymore as it causes more confusion. @Niklas probably info for you too. To add some more, enable scheduled SMART update should also be enabled for drive update. This will also not be a thing in Overhaul '25 .. which I think is sort of ready soon. I just wait a bit after some more testing before releasing it.
-
[PLUGIN] Disk Location
Did you try to force update them?
-
[PLUGIN] Disk Location
Update 2025.02.03 - Overhaul '25 beta 2 release Further improvements has been made in the core code. Compared to Disk Location (2024.02.03) with ~200ms load time, Overhaul '25 is now at just ~60ms on my system. Larger system will likely see a bigger gain. One more function planned for this overhaul, possibility to add hidden/bypassed devices. This will likely make "tray override" obsolete and deprecated. More can be read here:
-
[PLUGIN] Disk Location
Update 2025.02.03 Commit #361 - IMPROVEMENT: Performace tweak, cleaned up functions and system to improve loading speed.