Jump to content
jbrodriguez

[Plugin] ControlR

359 posts in this topic Last Reply

Recommended Posts

v1.1.1 is available.

 

2016-11-10 - 1.1.1

- Check for log presence before accessing it

- Replace Gitlab CI with cix

 

It should help fix an issue when any of the three logs (system, dockers, vms) isn't present.

Share this post


Link to post

Just got your App and installed the Plugin.  Very nice App (using iOS version here on an iPhone 7 Plus).

 

Here is a feature I would like to see (if it's possible on iOS) :

 

On the VM Tab, it would be great that if we "3D Touch" a VM name, we got a menu "Connect RDP" or "Connect VNC" (depending if the VM is a Windows VM or a Linux VM).  It would use the Microsoft RDP app as RDP and maybe a VNC app if it's VNC.

 

:)

Share this post


Link to post

Just got your App and installed the Plugin.  Very nice App (using iOS version here on an iPhone 7 Plus).

 

Here is a feature I would like to see (if it's possible on iOS) :

 

On the VM Tab, it would be great that if we "3D Touch" a VM name, we got a menu "Connect RDP" or "Connect VNC" (depending if the VM is a Windows VM or a Linux VM).  It would use the Microsoft RDP app as RDP and maybe a VNC app if it's VNC.

 

:)

 

Thanks Pducharme !

 

Seems like a nice idea, not sure how easy it would be to implement, but I'll add it to the feature request board.

Share this post


Link to post

Just bought the app, works great! One problem I've come across is I could not get the info on a parity check to refresh manually (dragging down and releasing). Once I went into the settings and set it to auto-refresh every 15 seconds, it did though...

Share this post


Link to post

Just bought the app, works great! One problem I've come across is I could not get the info on a parity check to refresh manually (dragging down and releasing). Once I went into the settings and set it to auto-refresh every 15 seconds, it did though...

 

Parity checks do not refresh the screen very often, because the act of requesting SMART info (temps etc) is a significant interruption.  If you do it too often, you will noticeably affect parity check performance, slow it down significantly.  I found that if you set refresh to once per minute, the effect was minimal, acceptable.  I have Disk Settings->Tunable (poll_attributes) set to 60.  When I manually run a parity check, I change Display Settings->Page update frequency from Regular to Slow (from every 10 seconds to every 60 seconds), and uncheck disable page updates while parity operation is running.  I normally run in Regular, and disable page updates during parity ops.

Share this post


Link to post

Just bought the app, works great! One problem I've come across is I could not get the info on a parity check to refresh manually (dragging down and releasing). Once I went into the settings and set it to auto-refresh every 15 seconds, it did though...

 

Parity checks do not refresh the screen very often, because the act of requesting SMART info (temps etc) is a significant interruption.  If you do it too often, you will noticeably affect parity check performance, slow it down significantly.  I found that if you set refresh to once per minute, the effect was minimal, acceptable.  I have Disk Settings->Tunable (poll_attributes) set to 60.  When I manually run a parity check, I change Display Settings->Page update frequency from Regular to Slow (from every 10 seconds to every 60 seconds), and uncheck disable page updates while parity operation is running.  I normally run in Regular, and disable page updates during parity ops.

 

Thanks RobJ for the info about parity.

 

Thanks DoeBoye ! There shouldn't be a difference, whether you do it manually or via auto-refresh, but I'll take a look at the code.

Share this post


Link to post

installed v1. Unable to login as root on web interface.

 

Unable to connect to server

401 (Unauthorized)

 

root is the only user on server.

 

Can you check the log (should be at /usr/local/emhttp/plugins/controlr/controlr.log) for any warnings ?

 

Send it over pm or email if you want.

 

I'll change the log location in the next release.

 

There is no *.log file in that folder.

 

I am having the exact same problem. I cannot login: unable to connect to server 401 (unauthorized). Similar to interwebtech no log file being created.

 

Same for me. No log file on the given location. Looked at the new given location of /boot/logs/controlr.log

It seems that the issue is related to

W: 2016/12/11 18:39:25 server.go:152: Must log in as root
W: 2016/12/11 18:39:38 server.go:192: Unknown encryption type: ()

Have reinstalled the companion plugin --> No change

Created controls user --> No change, cannot assign as I can't login as root

iOS App does not find the server (seems that the companion plugin needs to be fixed first)

Plugin: v1.1.1

unRAID v6.2.4

Share this post


Link to post

 

Same for me. No log file on the given location. Looked at the new given location of /boot/logs/controlr.log

It seems that the issue is related to

W: 2016/12/11 18:39:25 server.go:152: Must log in as root
W: 2016/12/11 18:39:38 server.go:192: Unknown encryption type: ()

Have reinstalled the companion plugin --> No change

Created controls user --> No change, cannot assign as I can't login as root

iOS App does not find the server (seems that the companion plugin needs to be fixed first)

Plugin: v1.1.1

unRAID v6.2.4

 

Trebron74, ok.

 

The iOS app should be able to connect to the server even if the plugin isn't installed, but let's take it a step at a time, since there's an issue with the plugin authentication.

 

I'll send you a pm, since I need some specific info about your setup.

Share this post


Link to post

The iOS app is functional after the main issue was resolved. If no root password is set (I've forgot to set one after the rebuild of the USB key) it worked like a charm.

 

General hint: no root pw = no ControlR functionality :)

 

 

Gesendet von iPad mit Tapatalk

Share this post


Link to post

The iOS app is functional after the main issue was resolved. If no root password is set (I've forgot to set one after the rebuild of the USB key) it worked like a charm.

 

General hint: no root pw = no ControlR functionality :)

 

 

Gesendet von iPad mit Tapatalk

 

Good to know Trebron74 !

Share this post


Link to post

I appear to be having trouble as well. I set a root password and was able to connect to the web interface, but I am unable to connect using the app my iPhone. On my phone, I try to add the server manually and it spins for a second, and then spits me back out at the main page saying I have no servers. This event is not logged in the log file located in

/boot/logs/controlr.log

. I can tell when the server is running because the iOS app will take a little longer to spit me back out to the main page compared to when it is not running, it takes less than half a second then sends me back (timeout for manual currently set to 0). I don't know if it makes a difference, but the server is currently on a different VLAN then my iOS device.

Share this post


Link to post

I appear to be having trouble as well. I set a root password and was able to connect to the web interface, but I am unable to connect using the app my iPhone. On my phone, I try to add the server manually and it spins for a second, and then spits me back out at the main page saying I have no servers. This event is not logged in the log file located in

/boot/logs/controlr.log

. I can tell when the server is running because the iOS app will take a little longer to spit me back out to the main page compared to when it is not running, it takes less than half a second then sends me back (timeout for manual currently set to 0). I don't know if it makes a difference, but the server is currently on a different VLAN then my iOS device.

 

Hi Smith8154,

 

Can you try setting manual timeout to something higher ?

Also, can you access unRAID's webGUI from a browser on your iPhone ? If you do, is there any delay accessing it ?

 

I'm updating the network stack of the app, and adding some debug profiling.

 

I hope to make it available by next week.

Share this post


Link to post

I appear to be having trouble as well. I set a root password and was able to connect to the web interface, but I am unable to connect using the app my iPhone. On my phone, I try to add the server manually and it spins for a second, and then spits me back out at the main page saying I have no servers. This event is not logged in the log file located in

/boot/logs/controlr.log

. I can tell when the server is running because the iOS app will take a little longer to spit me back out to the main page compared to when it is not running, it takes less than half a second then sends me back (timeout for manual currently set to 0). I don't know if it makes a difference, but the server is currently on a different VLAN then my iOS device.

 

Hi Smith8154,

 

Can you try setting manual timeout to something higher ?

Also, can you access unRAID's webGUI from a browser on your iPhone ? If you do, is there any delay accessing it ?

 

I'm updating the network stack of the app, and adding some debug profiling.

 

I hope to make it available by next week.

I sent manual timeout to 100000 and same results.

 

I can indeed access the unRAID web GUI from my phone. It does not appeared to be delayed at all.

Share this post


Link to post

...

I sent manual timeout to 100000 and same results.

 

I can indeed access the unRAID web GUI from my phone. It does not appeared to be delayed at all.

 

Ok, I'm making some changes to the app, hopefully this will allow a better troubleshooting of these scenarios.

 

I'll send you a pm.

Share this post


Link to post

v1.1.5 is available !

 

2017-02-02 - 1.1.5

 

This release provides the following fixes:

- Support getting logs for servers with no password set

- Support 6.3.0-rc9

 

Should fix the issue where some users were not seeing logs in the ControlR app.

Share this post


Link to post

v1.2.0 is available !

 

2017-03-08 - 1.2.0

- Add endpoint to obtain server's mac address
 

unRAID no longer publishes the server's mac address (since some 6.2.x release), this change brings back the functionality via the plugin.

Share this post


Link to post
On 3/8/2017 at 2:04 PM, jbrodriguez said:

 

- Add endpoint to obtain server's mac address
 

unRAID no longer publishe

 

I am still having issues with pulling logs in the app. My password is set, I am running the most current versions of unRAID (not beta), ControlR plug-in, and Android app. 

 

Any ideas?

Share this post


Link to post
 
I am still having issues with pulling logs in the app. My password is set, I am running the most current versions of unRAID (not beta), ControlR plug-in, and Android app. 
 
Any ideas?


Stop and start the plugin on unraid.
  • Upvote 1

Share this post


Link to post

v1.2.1 is available !

 

2017-03-17 - 1.2.1

- Start the plugin on install (if it was running previously)

 

This should fix the issue.

Share this post


Link to post

v1.2.3 is up !

 

2017-03-20 - 1.2.3

- Fix start script invocation when installing/upgrading

- Improve bundle script to account for slash character in the release notes

- Stop execution if an error occurs during plugin file text substitution

Edited by jbrodriguez

Share this post


Link to post

v2.0.0 is up !

 

2017-06-15 - 2.0.0

This release provides initial support for unRAID 6.4.x+.

 

The app is now reachable via both http and https.

 

When connecting via https, you'll get a warning since it
uses a self-signed certificate, but you can dismiss it.

 

It will generate the certificates if they're not present in
their default location (/boot/config/plugins/controlr).

 

You can use your own (maybe Let's Encrypt created), to
prevent the warning from showing at all.

 

Additionally, the following features/fixes were added:
- Upgraded packages
- Improved port detection
- Modified jwt secret generation

Share this post


Link to post
15 minutes ago, jbrodriguez said:

When connecting via https, you'll get a warning since it
uses a self-signed certificate, but you can dismiss it.

Will this happen every time or is there an option to "trust" the self-signed certificate?

Share this post


Link to post
4 hours ago, jbrodriguez said:

v2.0.0 is up !

 

2017-06-15 - 2.0.0

This release provides initial support for unRAID 6.4.x+.

 

The app is now reachable via both http and https.

 

When connecting via https, you'll get a warning since it
uses a self-signed certificate, but you can dismiss it.

 

Is https served on a different port?

 

Currently http works fine for me on port 2378:
  http://192.168.10.188:2378/
but https on the same port doesn't work:
  https://192.168.10.188:2378/

Chrome replies "ERR_SSL_PROTOCOL_ERROR" and Firefox says "SSL_ERROR_RX_RECORD_TOO_LONG"

 

I get the same response on my 6.3.5 bare metal unraid server as well as my 6.4.0-rc3 VM.

 

Also, the "Open Web UI ( v2.0.0 )" link just opens a blank tab. It looks like the url is set to "http://:2378"

Share this post


Link to post
11 hours ago, ljm42 said:

Is https served on a different port?

 

Yes, port 2379. I need to add this to the UI settings.

 

11 hours ago, ljm42 said:

Also, the "Open Web UI ( v2.0.0 )" link just opens a blank tab. It looks like the url is set to "http://:2378"

 

That's strange, I didn't touch that part. Does this happen on your 6.4.x server only ?

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now