[Plugin] unbalanced


Recommended Posts

6 hours ago, jbrodriguez said:

hi, the main issue for asking to run unbalance without other plugins/dockers running is a matter of space:

if unbalance calculated drive1 had enough free space to gather all files, but then some new data is stored on that drive, reducing the free space, the operation may fail (it may not, if there's enough space).

so, to answer the question, if you're just streaming from plex (reading data), you should be ok, the operation may be slower perhaps.

I need to transfer 4.8TB, and the drive I'm going to have 6.7TB free, so yeah space shouldn't be an issue.

Edited by Daxter
Better grammar
Link to comment
On 1/7/2024 at 6:03 AM, Daxter said:

Hi, I have an unBALANACE question that I saw a vague answer of somewhere else and wanted to get more details.
Can I keep Plex running while using the Gather function to move 4.8TB of data from 2 drives to 1?

It's all video files, and I want to move them from my disk1 & disk2 to disk3, but when I tried it unBALANCE said it would take 20 hours.
I have several friends and family who use my Plex daily and I would prefer not to take it offline for that long.

 

Thanks in advance

@jbrodriguez Same question as the previous one, but with the Scatter function.  Can I scatter while Plex is running?

Link to comment
  • jbrodriguez changed the title to [Plugin] unbalanced

✭ unBALANCE is now unbalanced !! ✭

 

scatter-select.thumb.png.276f7f0e8e20b73ab2ca3fb9e89ad5c6.png

 

NOTE: To install it, look for "unbalanced" in Community Apps (the old unbalance plugin will be deprecated by Squid)

 

i had the opportunity to completely rewrite the user interface for the plugin, it's now a lot more polished, a lot more usable and a lot more beautiful

 

the main features are:
- a new, more modern and more polished user interface

- support for multiple cache pools (multi-device pools too)
- dark mode support (dark is preferred, light theme may need some future tweaking)
- more information about the planning process is now displayed
- transfer speed is now calculated as an average of the last 60 samples (depending on the refresh rate you set)

- logs are written to /var/log to reduce stress on the flash drive
- other minor improvements, take a look for yourself !

 

the core is still the same: the code that runs the rsync commands changed just to accommodate connectivity with the new ui

 

for some additional context, i wrote a post about unbalanced on my blog, you can read it here.

 

i still enjoy Unraid the same way i did when i started using it (and use it daily), it brings me pleasure to be able to modernize this plugin

 

hope you enjoy the new version as much as i do !

 

P.S.: since this is basically a 1.0 release (in terms of the user interface), there might some bugs here and there, if you find any, please report them here or on github

 

P.S 2: i changed the name to unbalanced mostly to avoid issue with version naming (my old scheme was vYYYY.MM.DD, instead of the standard YYYY.MM.DD, and there wasn't a way to change it for the old plugin)

 

P.S. 3: i haven't added support for unassigned devices at the moment, mostly because i don't have any and i need better context on how the unassigned devices and partitions work

Edited by jbrodriguez
add image
  • Like 9
  • Thanks 2
Link to comment
28 minutes ago, Daxter said:

@jbrodriguez I can't seem to get into the WebUI of the new plugin.  Do I have to uninstall the old one for the new one to work?

not really they're on separate ports (although you can just remove it)

go to settings, the find unbalanced at the bottom, should take you to the plugin page, set enable to yes (cycle it if needed), when it's green you can access the ui

Link to comment

When the default port is 6237 & the plugin in enabled, clicking the green Open Web UI text opens the UI on the wrong port, port 6237. I tried another port, 7000, & again it opened on 7001. It looks like the button is opening the UI on what ever port number is assigned + 1 causing the UI to be unreachable. You can fix this by simply changing the port number to the correct one you assigned. This is obviously a bug. The UI is seriously gorgeous! Thanks jbrodriguez!

Link to comment
12 minutes ago, KarlMeyer said:

... You can fix this by simply changing the port number to the correct one you assigned. This is obviously a bug. The UI is seriously gorgeous! Thanks jbrodriguez!

Thanks !!!

I pushed a new version because there were some references to the old port, but I'm taking a closer look, i think there's another issue when the server is accessed via https

Link to comment
8 minutes ago, KarlMeyer said:

When the default port is 6237 & the plugin in enabled, clicking the green Open Web UI text opens the UI on the wrong port, port 6237. I tried another port, 7000, & again it opened on 7001. It looks like the button is opening the UI on what ever port number is assigned + 1 causing the UI to be unreachable. You can fix this by simply changing the port number to the correct one you assigned. This is obviously a bug. The UI is seriously gorgeous! Thanks jbrodriguez!


This is what was happening for me, didn't realize it was opening on the wrong port.

Link to comment
6 minutes ago, jbrodriguez said:

Thanks !!!

I pushed a new version because there were some references to the old port, but I'm taking a closer look, i think there's another issue when the server is accessed via https

 

Yeah, it's still doing it on mine when over https

image.png

Link to comment
1 minute ago, Daxter said:

 

Yeah, it's still doing it on mine when over https

 

It should be fixed in 2024.01.12b, i'll serve only on the http port for the time being, i'll look into serving via https.

 

thanks for the reports !

Edited by jbrodriguez
  • Like 1
Link to comment
9 minutes ago, Daxter said:

Is that what you meant by only serving it on the http port?  My server opens in https.

it will display the ui on the http protocol, i will look into adding https later, but there was a bug.

should be fixed in 2024.01.12c

 

as a side note, i also overhauled the tooling, creating a new release is a breeze now 🙌 !

  • Like 1
Link to comment
49 minutes ago, jbrodriguez said:

it will display the ui on the http protocol, i will look into adding https later, but there was a bug.

should be fixed in 2024.01.12c

 

as a side note, i also overhauled the tooling, creating a new release is a breeze now 🙌 !

Literally just updated & it works perfectly now. You probably just set a speed running record with that patch. Unreal.

  • Haha 1
  • Upvote 1
Link to comment
3 hours ago, Masterwishx said:

@jbrodriguez can we use old history file in new app ? it seems working after renamed.

well, the history file didn't change format, but the location did change, so it's a bit odd that the new plugin can "see" the old history

in any case you can do

cp /boot/config/plugins/unbalance/history.cfg /boot/config/plugins/unbalanced/history.cfg

restart the plugin, and you should be good to go

Link to comment
5 hours ago, jbrodriguez said:

well, the history file didn't change format, but the location did change, so it's a bit odd that the new plugin can "see" the old history

in any case you can do

cp /boot/config/plugins/unbalance/history.cfg /boot/config/plugins/unbalanced/history.cfg

restart the plugin, and you should be good to go

 

Mine was actually

cp /boot/config/plugins/unbalance/unbalance.hist /boot/config/plugins/unbalanced/unbalanced.hist

 

Link to comment
9 hours ago, jbrodriguez said:

well, the history file didn't change format, but the location did change, so it's a bit odd that the new plugin can "see" the old history

in any case you can do

 

No,  it see only after renamed to unbalanced.hist and copyed in new plugin directory 

Edited by Masterwishx
  • Like 1
Link to comment

Help, please - unbalanced does not start at all 😢

Is there a minimum OS version, perhaps? I am running unRAID 6.10.3.

I am reluctant to uninstall the older unBALANCE plugin (because it works), until I get this new plugin working... Or should I uninstall the older one?

 

2024-01-19_12-48-26__chrome.thumb.png.b8d8dea1ec895a1a3bd8c72359533c0e.png

Link to comment

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...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.