Jump to content

jbrodriguez

Community Developer
  • Posts

    1,963
  • Joined

  • Last visited

  • Days Won

    4

Everything posted by jbrodriguez

  1. Hi Unqualified Spectator, thanks for your kind words ! I really haven't thought about a use case where you're just copying files, not moving them. I'd like to share how I came up with the idea for this app/plugin The thing is .... I regularly deleted low quality content that I replaced with higher quality stuff or even deleted some content that I found uninteresting. This made some disks in my array to get some free space, which was wasted. But manually calculating which folders I could move from other disks to use that space was not scalable. I think I half did it one time And so ... unBALANCE was born ! I'll take a look at the idea over the weekend, but it does seem like a different concept.
  2. Thanks for the comments lishpy ! I'll take a look at the link opening code, to see if I can use ip address rather than hostname (probably, that's what's happening to huladaddy too). I'm a bit tied up until the end of next week, but I'll look into it. no idea what the webUI page is, but if you just have it as another .page file, then reference it as Settings/webUI and dynamix will handle everything for you... (turn on help, and look at the link for CA's manual, and look at caHelp.page Squid, in the settings page, when the app is started, there's a link to the app's user interface ... it's opens a new window/tab with the server's hostname, rather than ip address, I'm not sure if there's an env variable that holds the ip address
  3. Thanks for the comments lishpy ! I'll take a look at the link opening code, to see if I can use ip address rather than hostname (probably, that's what's happening to huladaddy too). I'm a bit tied up until the end of next week, but I'll look into it.
  4. I have the same problem -- blank page. Is there another way of getting unBalance to run? I am currently preclearing four disks and can't restart unraid. Hi huladaddy, not sure why you come up with a blank page. If the plugin is running (it shows the green Open Web ui link), you should be able to access it via either http://ip:6237/ or http://hostname:6237/, following whatever addressing scheme you have in your network. Does the log show that it's actually running (/boot/logs/unbalance.log) ?
  5. Yes, it copies then deletes. diskmv has a clobber option (-c "clobber, duplicates on destination will be overwritten"), but I'm not sure how sensible it would be to use it in the general case.
  6. Not sure why it doesn't pick up the latest version, unless you reboot or start/stop the plugin. I'll check the install/upgrade code.
  7. It isn't showing up in the Settings page ?
  8. I've published v1.3.0. Features/Bug Fixes: It allows you to choose the reserved minimum space (in either Mb, Gb or a percentage), but still keeps a minimum hard limit of 450Mb (per kizer) It also has a better check to prevent adding a subfolder of an existing folder and finally the plugin is disabled by default (per Ryland)
  9. Thank you danioj ! As for integrating, for my part all good ... except I wouldn't do it myself since I don't like php THAT much
  10. Well, that's a bug I have a check in place to avoid including a subfolder of an already selected folder/share ... for example, it doesn't allow you to add both /movies and /movies/comedies, because /movies/comedies is contained within /movies. In the best case, it would be moving folders once (all /movies hierarchy), then throwing errors about not finding /movies/comedies in the source disk (it's already been moved) I'll have to improve the check. Internally, unBALANCE uses the diskmv script, which uses rsync. I've seen rsync throw those errors when the time of a file is kind of weird ... maybe empty, maybe too far in the past or future Or probably some permission issue. Who's the owner of the "Bones" folder ? Is it nobody:users or some other user ?
  11. You might want to look into consld8, which does some rebalancing.
  12. I think I might include this in the first post, it's a spot on description
  13. Yes, I noticed that too. I've already fixed it in the next version (default it to "Enabled: No").
  14. Thank you for the kind words kizer ! Yes, the app is a process running on the unRAID server, so closing the browser or even shutting down your workstation won't affect the move operation. When you open your browser again, it shows you the progress from that moment on.
  15. It's set to 450Mb. I should have an update by the weekend.
  16. Yes, it should be possible. It would still have a hard floor, in case the percentage represents too little space. I'll take a look at it.
  17. Good ! In addition to Squid, I'd like to thank dlandon (powerdown) and dmacias (shellinabox), from who I shamelessly stole plugin code to make it work
  18. Thanks jamescarlos ! As for the icon size, I thought I had _specifically_ solved that issue Is it possible that your browser is reading the old copy of the image (it was that big before). Can you try a hard refresh (Cmd + R on a Mac, I think it's Ctrl + R on Windows), and let me know if that solves it ?
  19. Ok, I think I solved the UI and startup issues with version 1.2.14. Let me know of any issues.
  20. your unbalance.page is trying to put the icon on the UserUtilities menu. It should actually be Utilities (That reference tells dynamix to find the Utilities.page file which is an OS file and put the icon there. Once that's fixed, then you've got an issue with the size of the icon. (The icons displayed by dynamix aren't resized automatically and have to be the correct size (I believe 48x48). Note that this is the local version of the icon. The URL you use in the template for CA can be any size (as it resizes everything to 96x96) Thank you Squid, yeah ... that was part of the problem
  21. I've uploaded version 1.2.12. I'm still learning how the plugin system works, so please bear with me for the next few days I've added the settings page, but it's not fully working yet. I'll keep looking into it. For now, stop/start the array to get the app running, then go to http://IP:6237/
  22. Not that I am against this being released as a plugin, but surely if you had it as a docker with /mnt internally mapped to /mnt externally (and possibly a mapping for /boot) you would have full access to all the physical media? Having said that since it is basically a script it does not have the sort of dependency issues that are the main reason for NOT installing some apps as a plugin. It therefore does not put system stability at risk. IMHO, I always questioned why unBalance was a docker in the first place. To me, the function that it performs is philosophically (for lack of a better word) a plugin type rather than a docker. itimpi, To use unRAID's notification system from within a Docker, I'd have needed to mount /usr/local, then probably somewhere in /etc, in addition to /mnt, /boot and others like you mentioned. And even so, there was the issue of Docker volume mapping behaviour: - It didn't recognize when a disk was formatted or recently installed. - It didn't recognize Apple Time Machine backups At the end of the day, either Docker or plugin is just a distribution mechanism. It is easier to create a docker over a plugin, but not by that much. It has to do with docker being more documented. With CA, the difference between them becomes really blurry. You also mentioned something very important. unBALANCE is just a standalone binary that exposes an API interface, it has no dependencies that could bloat the base system.
  23. I didn't actually release 1.2.11 in github, that's the reason for the error ( I was testing the md5 check ). I've published it and it installs correctly now. I'm also creating a page to be able to access the UI from unRAID's interface (just a link to the url for unBALANCE).
  24. Introduction unbalanced is a plugin to transfer files/folders between disks in your array. Support Fund If you wish to do so, learn how to support the developer. Description unbalanced helps you manage space in your Unraid array, via two operating modes: Scatter Transfer data out of a disk, into one or more disks Gather Consolidate data from a user share into a single disk It's versatile and can serve multiple purposes, based on your needs. Some of the use cases are: Empty a disk, in order to change filesystems (read kizer's example) Move all seasons of a tv show into a single disk Move a specific folder from a disk to another disk Split your movies/tv shows/games folder from a disk to other disks You'll likely come up with other scenarios as you play around with it. Installation - Apps Tab (Community Application) Go to the Apps tab Click on the Plugins button (the last one) Look for unbalanced Click Install Running the plugin After installing the plugin, you can access the web UI, via the following methods: - Method 1 Go to Settings > Utilities Click on unbalanced Click on Open Web UI - Method 2<br/> Go to Plugins > Installed Plugins Click on unbalanced Click on Open Web UI - Method 3<br/> Navigate with your browser to http://Tower:7090/ (replace Tower with the address/name of your unRAID server)<br/> Check the github page for additional documentation Changelog The full changelog can be found here
  25. Very nice plugin, I can see many use cases. Will try it this weekend.
×
×
  • Create New...