olehj

Members
  • Posts

    376
  • Joined

  • Last visited

Everything posted by olehj

  1. check if you have permission to write in that folder, else no idea
  2. Did you install the drives after the plugin? In case try to "Force scan all" to see if they get detected. Else they must be detected via "lsscsi -u -g" command and have SMART data output from "smartctl" command from the device detected by "lsscsi". If it's a new drive, it might need a newer version of smartctl, which comes with a new version of Unraid. Currently only "stable" is supported.
  3. Honestly don't care if you choose to use it or not, but I tried multiple browser in both Linux and Windows and different size settings without getting any results of what you show here. That the devices need to be scrolled to the side when viewing the "Device" tab is simply because it does -not- auto scale and uses fixed pixel size which you can configure yourself. It's not intended to be auto scaled, and it won't be either. The Dashboard is scaled by a set fraction (default divided by 10) of the regular sizes. Make sure to not use any custom CSS or browser extensions that might change the look, or maybe an unofficial Unraid template. I don't know, I use the stock dark theme with everything running default when it comes to looks - and I can't reproduce the misalignment you are seeing here based upon the little information I have for this issue. And so far no one else complains about it, I won't even start debugging it. Of course you are free to delete the plugin, but don't act upon like I loose a customer, because no one has to pay for this and I just use my spare time to share something that I don't even need to do. I just created this for my own purpose, and chose to share it with the community. It's even GNU GPL licensed, so you can fork it yourself and make a better version and share it, so rather do that and STFU, you have the choice.
  4. Check if you don't have any extensions installed that messes up the layout. Haven't heard about this problem before, and I tested here with both Firefox, Chrome and Vivaldi. Try another browser for debugging. The sizes adjust well here for the Device tab, including the dashboard. I'm afraid I don't have a solution for you.
  5. What browser are you using? Not supporting anything else than Chrome and Firefox (and engines used by these). Also only support the latest Unraid stable release with the newest update of Disk Location. The size of the drives can be specified in the configuration, the width and height of the full size per array, and the divider for the small dashboard size(s).
  6. Then the other question is: did you type in the date manually by text? Or did you let the HTML5/web browser enter it for you by clicking the dates? The dates must be stored as ISO YYYY-MM-DD in the unraid variable. If somehow this got typed in manually, the database won't understand the input date.
  7. Next time, attach the screenshots directly to your post. And when using links, format it as such. Copypasta links are annoying. For the problem; did you "Force Scan All" after setting the dates? Do you see the dates under Settings -> Tray Allocations?
  8. As I said, avoid overrides. Create another group instead.
  9. Hard to say when I have no idea of how you want it to look like.. First of all, try "Help" function, by pressing... Help-button for Unraid. Other than that, the "override" use should be left alone for the most part (it's there mainly for compatibility for earlier versions, or special use cases). Rather add/use several groups. Else you specify <rows * columns> and leave "override" at blank (it will calculate itself). Override is used to add "+X amount of trays" to existing ones in that group, I don't think this would be so useful for most anymore. So ex. 6 rows * 6 columns would give you 36 trays.
  10. Update 2020.09.24 Commit #156 - IMPROVEMENT: Changed how the devices are displayed in the dashboard, devices and tray allocations. Should now align itself automagically where it fits best.
  11. Update 2020.09.09 Commit #152 - FEATURE: Added an option to start tray count from 0 or 1. Commit #151 - IMPROVEMENT: Adjusted the design to fit to the default Unraid scheme better. Commit #150 - FEATURE: Added shortcut for Tools and Settings page as people were confused and couldn't find the pages. Commit #149 - IMPROVEMENT: Removed disk status from Dashboard widget as it was rather faulty anyway.
  12. Sorry for a very late answer, but I realize this won't be so easy to do as there's data that needs to be generated per drive etc. for it to be stored in the database, even for historical purpose. Remember, my plugin does not include "First Install", "Recent Install" or "Last Seen" It requires the previous device nodes like "sdX" and LUN - they all can contain bogus info, or if you remember it all you can of course type them in. Else it must have a unique HASH per device, which consists of "model_name"+"smart_serialnumber" in SHA256 (no leading or trailing spaces, or newlines): Note: the most important thing is that they have a unique HASH, but you should never include them in the plugin then at a later point. If you go with accuracy, please bear in mind that "Family name" should -not- be included like "Seagate IronWolf" and "Western Digial Red", but the "Model name" like "ST8000VN0022-*" and "WDC WD30EFRX-*" echo -n "<model name><serial number>" | sha256sum You can then copy and backup before you open the SQLite database: cp /boot/config/plugins/disklocation/disklocation.sqlite /boot/config/plugins/disklocation/disklocation.bak sqlite3 /boot/config/plugins/disklocation/disklocation.sqlite inside SQLite, you have to type in this per device you want to add: INSERT INTO disks(device,luname,model_family,model_name,smart_serialnumber,smart_capacity,smart_powerontime,smart_loadcycle,status,purchased,comment,hash) VALUES('sdx','4000ee42314ff43','Western Digital Red', 'WDC WD30EFRX-XXXX', 'WD-WCCF00', '3000000000', '8008', '1337', 'r', '2019-12-31', 'Test disk', '7164c219729d0483dd6f053a6ee1553b9579ad4f2f3a6cfdc68716ede3ac92eb'); capacity = bytes status = 'r' // removed date = ISO format YYYY-MM-DD I can recommend to create a notepad list of "INSERT" commands before injecting them all into the database. Quit database with: .quit Good luck.
  13. I'll look into it in winter sometime.. just too hot and busy at work at the moment to bother implementing anything at all. Project still alive though... ish.
  14. It should be displayed under both for different purpose. The plugin is only tested on stable releases (current: 6.8.3). Try to reinstall, I see no reason why this shouldn't work.
  15. I have run unraid with this setting to "No" with cache enabled since January 3rd, and it works. But yes, Unraid documentation is pretty appalling. But using the "Help" function at the "Global Share Settings" would give you some hints about what happens. From the help function: Soooo, I would say: just try. Doubt you'll loose any real functionality.
  16. Shouldn't care about SAS vs SATA drives, it's rather the HBA/Raid card. There's several posts here about these issues and howto debug it.
  17. No problem. Even "Unassigned devices" plugin doesn't use the same scheme of things (they still use PNG images). Rather blame Unraid for insanely poor guidelines and documentation for plugins.
  18. Heh, does it really matter though? It mainly uses the scheme from Unraid itself, just that I don't see Unraid actually uses "green-blink" as a blinking green LED 😛 Not having any plan at the moment to change that though.. unless the majority start requesting it. I try to avoid any more configurations and options than it currently has to keep it somewhat simpler. Best thing you can do so far is to add your own CSS in your browser (if it supports it, maybe via addon): .green-blink { color: lightgray; animation: none; animation-timing-function: unset; font-size: 8pt; cursor: help; }
  19. No, it will only use ISO-format and I will never change that as it is boring to convert dates 😛
  20. If you use unassigned devices, you must use the internal plugin dates - I think that was some "bugs" with Unraid, or the incompatibility with Unassigned devices. I know I had similar problem earlier, and that's the reason I included that in the plugin as well. If you use Unraid array dates, be sure to NOT use the plugin for the dates, but set under each device where you read the SMART data. Things entered here will override what's stored in the database for the plugin. Also make sure that all the drives are recognized as different drives, model name and serial number should be present and the last one unique.
  21. Most likely it bugged out and created two or more cronjob files for the same task, I did experience this myself, but not sure why yet. What you can try: Press "SAVE" while it is chosen as "Disabled" before you choose anything else. It might fix it. Reinstall the plugin, do wait for it to complete - it might take a while depending on how many drives you have and if "Disk Location plugin on update scan" is "on". This can be turned off for faster installation and no scanning. Manual way: Check if the files exists in /etc/cron.* type in terminal: ls -la /etc/cron.*/disklocation.sh and delete them manually.
  22. Ye, the settings was moved to a "sub-plugin" to keep things separate and cleaner not too long ago.
  23. Yes, it can be done manually, save your data and I provide you with some SQL insertions later when I bother It is manual, and eventually have to be done everytime if you delete the database. So keep a backup after you added them all. I provide the details later, but as I said earlier in the last post.. Im busy doing nothing and playing left 4 dead 2 at the moment 😛 I just need a coding break, but will support this further later