[Plugin] unbalanced


Recommended Posts

On 4/23/2021 at 12:53 AM, qasde said:

Im trying to consolodate my data from many small 3-4 TB drives onto a new 14TB drive. After selecting the drive in Unbalance and the folders and choosing the disk, I pressed plan.   Then nothing happens.  The unbalance logo still animates but nothing works it like its frozen

 

Same issue here.  unRAID 6.8.3 with v5.6.3 of the plugin.

Link to comment
On 4/24/2021 at 11:04 PM, jbrodriguez said:

In Chrome, you go to View > Developer > Javascript console

WebSocket connection to 'wss://192.168.0.100:6240/skt' failed: 
o @ main.45f99e64.js:297
main.45f99e64.js:297 Connection is closed...
:6240/favicon.ico:1 Failed to load resource: the server responded with a status of 404 ()
main.45f99e64.js:297 WebSocket is already in CLOSING or CLOSED state.

 

which is confusing since i set unbalance to work on port 6239

Edited by qasde
Link to comment
On 4/26/2021 at 6:16 AM, qasde said:

WebSocket connection to 'wss://192.168.0.100:6240/skt' failed: 
o @ main.45f99e64.js:297
main.45f99e64.js:297 Connection is closed...
:6240/favicon.ico:1 Failed to load resource: the server responded with a status of 404 ()
main.45f99e64.js:297 WebSocket is already in CLOSING or CLOSED state.

 

which is confusing since i set unbalance to work on port 6239

it looks like the server is not running for some reason

try this

 

ps aux | grep unbalance

 

this is in order to get the <params> unbalance is running with. Use them in the command below

 

killall unbalance
/usr/local/emhttp/plugins/unbalance/unbalance <params>

 

run the web ui again and report any error on the server command line

Link to comment
20 hours ago, jbrodriguez said:

it looks like the server is not running for some reason

try this

 



ps aux | grep unbalance

 

this is in order to get the <params> unbalance is running with. Use them in the command below

 



killall unbalance
/usr/local/emhttp/plugins/unbalance/unbalance <params>

 

run the web ui again and report any error on the server command line

 

this is what the command line says

 

{"time":"2021-04-28T20:28:26.934640153+10:00","id":"","remote_ip":"192.168.0.5","host":"192.168.0.100:6238","method":"GET","uri":"/","user_agent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/90.0.4430.85 Safari/537.36","status":200,"error":"","latency":443228,"latency_human":"443.228  s","bytes_in":0,"bytes_out":527}
{"time":"2021-04-28T20:28:26.953559558+10:00","id":"","remote_ip":"192.168.0.5","host":"192.168.0.100:6238","method":"GET","uri":"/main.8c6f14c8.css","user_agent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/90.0.4430.85 Safari/537.36","status":200,"error":"","latency":3510979,"latency_human":"3.510979ms","bytes_in":0,"bytes_out":53627}
{"time":"2021-04-28T20:28:26.966947874+10:00","id":"","remote_ip":"192.168.0.5","host":"192.168.0.100:6238","method":"GET","uri":"/main.45f99e64.js","user_agent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/90.0.4430.85 Safari/537.36","status":200,"error":"","latency":16889390,"latency_human":"16.88939ms","bytes_in":0,"bytes_out":529211}
echo: http: TLS handshake error from 192.168.0.5:65250: remote error: tls: unknown certificate
I: 2021/04/28 20:28:27 core.go:174: Sending config
I: 2021/04/28 20:28:27 core.go:179: Sending state
{"time":"2021-04-28T20:28:27.018737+10:00","id":"","remote_ip":"192.168.0.5","host":"192.168.0.100:6238","method":"GET","uri":"/api/v1/config","user_agent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/90.0.4430.85 Safari/537.36","status":200,"error":"","latency":405158,"latency_human":"405.158  s","bytes_in":0,"bytes_out":194}
{"time":"2021-04-28T20:28:27.020044927+10:00","id":"","remote_ip":"192.168.0.5","host":"192.168.0.100:6238","method":"GET","uri":"/api/v1/state","user_agent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/90.0.4430.85 Safari/537.36","status":200,"error":"","latency":1627181,"latency_human":"1.627181ms","bytes_in":0,"bytes_out":17551}
I: 2021/04/28 20:28:27 core.go:189: Sending storage
{"time":"2021-04-28T20:28:27.030071203+10:00","id":"","remote_ip":"192.168.0.5","host":"192.168.0.100:6238","method":"GET","uri":"/v.c9ba5096.png","user_agent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/90.0.4430.85 Safari/537.36","status":200,"error":"","latency":965667,"latency_human":"965.667  s","bytes_in":0,"bytes_out":3237}
{"time":"2021-04-28T20:28:27.030103162+10:00","id":"","remote_ip":"192.168.0.5","host":"192.168.0.100:6238","method":"GET","uri":"/unbalance-logo.ddf0bf2f.png","user_agent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/90.0.4430.85 Safari/537.36","status":200,"error":"","latency":1030876,"latency_human":"1.030876ms","bytes_in":0,"bytes_out":6742}
{"time":"2021-04-28T20:28:27.030725359+10:00","id":"","remote_ip":"192.168.0.5","host":"192.168.0.100:6238","method":"GET","uri":"/logo-small.27f5c986.png","user_agent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/90.0.4430.85 Safari/537.36","status":200,"error":"","latency":287548,"latency_human":"287.548  s","bytes_in":0,"bytes_out":1742}
{"time":"2021-04-28T20:28:27.030781541+10:00","id":"","remote_ip":"192.168.0.5","host":"192.168.0.100:6238","method":"GET","uri":"/diskmv.970f6cab.png","user_agent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/90.0.4430.85 Safari/537.36","status":200,"error":"","latency":1199881,"latency_human":"1.199881ms","bytes_in":0,"bytes_out":4825}
{"time":"2021-04-28T20:28:27.03080819+10:00","id":"","remote_ip":"192.168.0.5","host":"192.168.0.100:6238","method":"GET","uri":"/unraid.5a5ab70a.png","user_agent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/90.0.4430.85 Safari/537.36","status":200,"error":"","latency":411781,"latency_human":"411.781┬╡s","bytes_in":0,"bytes_out":3150}
{"time":"2021-04-28T20:28:27.033149711+10:00","id":"","remote_ip":"192.168.0.5","host":"192.168.0.100:6238","method":"GET","uri":"/api/v1/storage","user_agent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/90.0.4430.85 Safari/537.36","status":200,"error":"","latency":5250325,"latency_human":"5.250325ms","bytes_in":0,"bytes_out":1736}
{"time":"2021-04-28T20:28:27.073238318+10:00","id":"","remote_ip":"192.168.0.5","host":"192.168.0.100:6238","method":"GET","uri":"/fontawesome-webfont.9fb3877d.woff2?v=4.7.0","user_agent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/90.0.4430.85 Safari/537.36","status":200,"error":"","latency":2358200,"latency_human":"2.3582ms","bytes_in":0,"bytes_out":77160}

 

the browser javascript console says:

 

main.45f99e64.js:297 WebSocket connection to 'wss://192.168.0.100:6238/skt' failed: 
o @ main.45f99e64.js:297
parcelRequire.HJDO.react @ main.45f99e64.js:415
f @ main.45f99e64.js:1
parcelRequire.YOwE @ main.45f99e64.js:1
(anonymous) @ main.45f99e64.js:1
main.45f99e64.js:297 Connection is closed...
main.45f99e64.js:297 WebSocket is already in CLOSING or CLOSED state.
value @ main.45f99e64.js:297
b @ main.45f99e64.js:287
(anonymous) @ main.45f99e64.js:273
L @ main.45f99e64.js:182
(anonymous) @ main.45f99e64.js:182
t.<computed> @ main.45f99e64.js:182
u.run @ main.45f99e64.js:260
(anonymous) @ main.45f99e64.js:260
a @ main.45f99e64.js:254
d.port1.onmessage @ main.45f99e64.js:254

Edited by qasde
Link to comment
1 hour ago, qasde said:

echo: http: TLS handshake error from 192.168.0.5:65250: remote error: tls: unknown certificate

looks like it doesn't like the ssl certificate, not sure why.

 

A short term solution would be to set Unraid to SSL = off in Settings, restart unbalance and connect again. That should work.

 

I'll try to check if there's an ssl issue over the weekend

Link to comment
4 minutes ago, jbrodriguez said:

looks like it doesn't like the ssl certificate, not sure why.

 

A short term solution would be to set Unraid to SSL = off in Settings, restart unbalance and connect again. That should work.

 

I'll try to check if there's an ssl issue over the weekend

 

I switched ssl from auto to off in unraid and its working :)  Thanks for the help

Link to comment
1 hour ago, jbrodriguez said:

log should show more info

Unless there is a longer log elsewhere, the one in the ui doesn't go back far enough. But those were the last 3 lines to be transferred to disk 7, who currently has 49.2 kb free. Source disk still has 36.8 gb on it, belonging to those 3 lines. So i'm assuming that was the issue. Mover was disabled, but guess something else was writing to that disk during transfers. All lines before were green (disk 7), and after those 3 lines (disk 12) were also green checks.

 

One feedback (been meaning to give for a while). A select/deselect all checkbox would be great. Currently working on clearing off 8 4tb drives to move into a pool instead of main array, and each time it requires select source + shares, then unselecting over 20 destination disks. The auto-select-all is great when all/most of your disks are <70% full, but otherwise a quick unselect all would be nice to have. Either way thanks for the tool :)

  • Thanks 1
Link to comment

Hi,

 

I'm currently having a problem with unBalance.  Don't know what's causing it, because I've used unBalance in the past on this unRaid setup no problem (just last week in fact).

 

But now, when I try to click on either "plan", "move" or "copy" I get the "not allowed" symbol and can't click it.  I also cannot select "dry run".  I can select the "from" and "to" on the disks, but without being able to click the pla, copy or move options, there's not much point.

 

I've got a feeling this is something stupid I'm missing, but I cannot see it.  Have already tried difference browsers.

Link to comment
7 minutes ago, jbrodriguez said:

odd, you should be able to click on the plan button. screenshot ?

I've added a screenshot. Sorry about the poor quality: had to take it with my mobile phone because in a normal screenshot the mouse error didn't show.

unbal.JPG

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

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.