Jump to content
jbrodriguez

ControlR (Android/iOS app for unRAID)

1061 posts in this topic Last Reply

Recommended Posts

I reproduced the crash while changing any setting.

 

Also found out why it won't spin (on the Detail screen, but it works on the main screen :)

 

I'll publish an ota release shortly.

Share this post


Link to post
2 hours ago, Ashe said:

it’s not communicating with the plugin

 

Yes, that seems to be the case.

 

What unRAID version are you running ?

 

Whenever you get a chance, can you 

$ killall controlr
$ cd /usr/local/emhttp/plugins/controlr
$ ./controlr

It should start Api service on port 2382 and on http/https depending on how you set it up on your server.

Share this post


Link to post
2 hours ago, Ashe said:

that goes right to left then bounces and goes left to right.

 

That's not fair, it shouldn't be doing that O.o :D

 

I'll take a look.

Share this post


Link to post

Using rc9f

Works with the above quite smoothly for VM and dockers, when it comes to the logs there is severe lag in reporting anything and stays on “refreshing” for quite a while. The system log eventually shows up, but even with clicking on the vm and docker log it still shows the system log. Going back to any other menu heading results in “refreshing” but gets there eventually.

Share this post


Link to post
 
That's not fair, it shouldn't be doing that  
 
I'll take a look.

After a restart it is acting as normal! Perhaps an 11.01 quirk

Share this post


Link to post
2 minutes ago, Ashe said:

After a restart it is acting as normal! Perhaps an 11.01 quirk

 

Glad to know it worked !

Share this post


Link to post
4 minutes ago, Ashe said:

when it comes to the logs there is severe lag in reporting anything

 

I'll check for anything unusual in the code.

Share this post


Link to post

I think the log was reporting a latency figure, I will rerun it later and pm you the onscreen log

Share this post


Link to post
44 minutes ago, Ashe said:

I think the log was reporting a latency figure, I will rerun it later and pm you the onscreen log

 

?

Share this post


Link to post

v3.0.1 is availabe as an over-the-air (OTA) release !

 

3.0.1

This is a hotfix to address the following issues:
- Fix crash when changing any setting
- Fix inoperant spin down/up in Detail screen
 

Hope this fixes the issues you were having wgstarks/Ashe.

 

And thanks a lot for reporting them.

 

5 hours ago, wgstarks said:

I notice that on my iPhone 7 the password field is hidden behind the keyboard.

 

Yes, I got this too, I'll look into it.

 

Share this post


Link to post
39 minutes ago, jbrodriguez said:

3.0.1

This is a hotfix to address the following issues:
- Fix crash when changing any setting
- Fix inoperant spin down/up in Detail screen
 

Fixed problem with saving changes to settings and I think the spin up/down as well. I have to exit the server details screen and re-enter to see the changes to spin state and sometimes the "Disks" screen shows serial numbers rather than temp, errors and available space.

Edited by wgstarks

Share this post


Link to post
1 hour ago, wgstarks said:

I have to exit the server details screen and re-enter to see the changes to spin state

 

I generally spin down from the main screen.

 

In previous versions, was the change visible right away, when spinning down/up from the details screen ?

 

1 hour ago, wgstarks said:

sometimes the "Disks" screen shows serial numbers

 

I think this is because poke is very fast and possibly the array isn't in a started status yet, so since the disks are not mounted, the app shows serial numbers (same as unRAID webgui).

 

Does that match your experience ?

Share this post


Link to post
32 minutes ago, jbrodriguez said:

 

I generally spin down from the main screen.

 

In previous versions, was the change visible right away, when spinning down/up from the details screen ?

 

IIRC previously I'd get a wait for operation to complete and then a screen refresh.

 

32 minutes ago, jbrodriguez said:

 

I think this is because poke is very fast and possibly the array isn't in a started status yet, so since the disks are not mounted, the app shows serial numbers (same as unRAID webgui).

 

 

I'm set to ping but have only seen this happen twice and then couldn't reproduce it so IDK❓❓❓

Share this post


Link to post
16 hours ago, jbrodriguez said:

 

Yes, that seems to be the case.

 

What unRAID version are you running ?

 

Whenever you get a chance, can you 


$ killall controlr
$ cd /usr/local/emhttp/plugins/controlr
$ ./controlr

It should start Api service on port 2382 and on http/https depending on how you set it up on your server.

I'm not sure how helpful this will be but here it is, the issue seems to be more so on the VM tab not the log tab, however logs is still only showing the system log, not VM or docker.

 

Quote

I: 2017/10/06 12:49:30 app.go:56: controlr v2.3.0-241.318cad2 starting ...
I: 2017/10/06 12:49:30 app.go:64: No config file specified. Using app defaults ...
I: 2017/10/06 12:49:30 core.go:61: starting service Core ...
I: 2017/10/06 12:49:30 server.go:70: Starting service Server ...
I: 2017/10/06 12:49:30 server.go:89: Serving files from /usr/local/emhttp/plugins/controlr
I: 2017/10/06 12:49:30 server.go:139: Server started listening https on :2378
I: 2017/10/06 12:49:30 api.go:47: Starting service Api ...
I: 2017/10/06 12:49:30 api.go:91: Api started listening https on :2382
I: 2017/10/06 12:49:30 app.go:84: Press Ctrl+C to stop ...
I: 2017/10/06 12:49:39 api.go:135: received /info
I: 2017/10/06 12:49:39 api.go:143: info({Wake:{Mac:9c:5c:8e:85:8c:da Broadcast:255.255.255.255} Prefs:{Number:., Unit:C}})
{"time":"2017-10-06T12:49:39.293639631+04:00","id":"","remote_ip":"10.0.19.101","host":"10.0.19.130:2382","method":"GET","uri":"/api/v1/info","status":200, "latency":1889796,"latency_human":"1.889796ms","bytes_in":0,"bytes_out":101}
I: 2017/10/06 12:49:43 api.go:111: log (system) requested
{"time":"2017-10-06T12:49:43.584745634+04:00","id":"","remote_ip":"10.0.19.101","host":"10.0.19.130:2382","method":"GET","uri":"/api/v1/log/system","status":200, "latency":8834193,"latency_human":"8.834193ms","bytes_in":0,"bytes_out":2774}
I: 2017/10/06 12:50:23 api.go:135: received /info
I: 2017/10/06 12:50:23 api.go:143: info({Wake:{Mac:9c:5c:8e:85:8c:da Broadcast:255.255.255.255} Prefs:{Number:., Unit:C}})
{"time":"2017-10-06T12:50:23.525387439+04:00","id":"","remote_ip":"10.0.19.101","host":"10.0.19.130:2382","method":"GET","uri":"/api/v1/info","status":200, "latency":1035204,"latency_human":"1.035204ms","bytes_in":0,"bytes_out":101}
I: 2017/10/06 12:51:08 api.go:135: received /info
I: 2017/10/06 12:51:08 api.go:143: info({Wake:{Mac:9c:5c:8e:85:8c:da Broadcast:255.255.255.255} Prefs:{Number:., Unit:C}})
{"time":"2017-10-06T12:51:08.463799259+04:00","id":"","remote_ip":"10.0.19.101","host":"10.0.19.130:2382","method":"GET","uri":"/api/v1/info","status":200, "latency":1152491,"latency_human":"1.152491ms","bytes_in":0,"bytes_out":101}
{"time":"2017-10-06T12:52:38.51100593+04:00","id":"","remote_ip":"10.0.19.101","host":"10.0.19.130:2382","method":"GET","uri":"/api/v1/info","status":200, "latency":853068,"latency_human":"853.068µs","bytes_in":0,"bytes_out":101}
I: 2017/10/06 12:53:23 api.go:135: received /info
I: 2017/10/06 12:53:23 api.go:143: info({Wake:{Mac:9c:5c:8e:85:8c:da Broadcast:255.255.255.255} Prefs:{Number:., Unit:C}})
{"time":"2017-10-06T12:53:23.639267993+04:00","id":"","remote_ip":"10.0.19.101","host":"10.0.19.130:2382","method":"GET","uri":"/api/v1/info","status":200, "latency":1209376,"latency_human":"1.209376ms","bytes_in":0,"bytes_out":101}
I: 2017/10/06 12:53:29 api.go:111: log (system) requested
{"time":"2017-10-06T12:53:29.239034578+04:00","id":"","remote_ip":"10.0.19.101","host":"10.0.19.130:2382","method":"GET","uri":"/api/v1/log/system","status":200, "latency":9841691,"latency_human":"9.841691ms","bytes_in":0,"bytes_out":2774}
 

 

Share this post


Link to post
16 hours ago, wgstarks said:

IIRC previously I'd get a wait for operation to complete and then a screen refresh

 

I'll check

Share this post


Link to post
3 hours ago, Ashe said:

I: 2017/10/06 12:53:29 api.go:111: log (system) requested

 

You never get a log (vm) or log (docker) requested right ?

Share this post


Link to post

v3.0.2 is available as an over-the-air release !

 

3.0.2

- Fix issues with Logs tab not showing docker and vm logs
- Fix issues with Docker/Vms tab not working properly
- Refresh Disks tab when performing any operation (including spin down/up)
- Don't hide password field
- Other bug fixes and improvements

Share this post


Link to post

Great work! On mine, It has fixed the VM log but not the docker log and switching between the docker and VM main tabs takes a double tap otherwise it just refreshes the current tab, only if you are on the docker or VM tabs already.

All other items are fixed.

Share this post


Link to post
3 minutes ago, Ashe said:

only if you are on the docker or VM tabs already.

 

I'll check that.

 

3 minutes ago, Ashe said:

but not the docker log

 

Is /var/log/docker.log non-empty ?

Share this post


Link to post
3 minutes ago, Ashe said:

Yes it is empty.

 

Oh, ok.

 

The app receives a reply from the plugin, which basically executes tail on the log file.

 

If the log file is empty, tail comes up empty as well , that's why the app shows no log available.

Share this post


Link to post
8 hours ago, Ashe said:

switching between the docker and VM main tabs takes a double tap

I'm having to use a double tap to select the docker tab as well. Otherwise the screen is stuck on whichever tab is currently selected.

Share this post


Link to post

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.