Jump to content
jbrodriguez

[Plugin] ControlR

408 posts in this topic Last Reply

Recommended Posts

I'm having this exact same problem.
 
Nothing is installed except controlR, my windows VM. No dockers, no other plugins. Also I'm runing version 6.6.5
 
I seemed to have fixed this issue by forcing SSL from auto to Yes in Identification.  Have to enable HTTPS when adding the server from the phone app. Seems to be working okay.


Right, with ssl set to yes, you need to add the server securely in the app.

In any case, glad to know you sorted it out.


Sent from my iPhone using Tapatalk

Share this post


Link to post

Is the power on button disabled ?

 

The server version shouldn't have that much of an impact since it's a wake-on-lan packet basically.

 

It shouldn't be enabled until your server is powered down.

 

 

Edited by jbrodriguez

Share this post


Link to post
On 11/15/2018 at 10:00 AM, sudodrew said:

The ability power on from the app stopped working for me.. is it working for anyone else running unraid 6.6.5?

No problems here. I'am running 6.6.5.

Share this post


Link to post

I'm having problems with the Android App - I'm new to unRAID and to the app, so probably newbie error.

When I first tried the app, I saw "buttons" for power-down and a few others.  I believe I also saw info on each drive.

But now the main screen just has overall server quick stats and "started valid" and "update x min"

If I tap on it, I go to 2nd screen - same info in top blue area, left-right scrolling info on the two "starter valid" lines, and tabs for DOCKERS and VMS.  But NOTHING else.

I've installed the plugin and enabled the plugin server, but still not seeing everything on the app.

For now, my server is not password protected - is this the issue?  (I did have a PW on the server for a while, then removed it while I was doing dev/testing.)

Share this post


Link to post

Hi RobertP,

 

When you added the server, you entered some user other than root.

 

When that's the case, the UI becomes minimal, basically to control dockers/vm, with user permissions that you can set via the plugin's web interface.

 

If you delete the server in the app and add it back with root user, you'll see the full UI.

Share this post


Link to post

It says "root" - but as stated I had changed the password to null while I was doing some testing.  I just tried setting PW to a valid one and deleted/re-added the server and now I'm seeing everything.  So apparently the tool does not like logging in with a null password?

 

Share this post


Link to post

Glad it's working now !

 

I'll check the code about the no password root, I think the app probably switches to a non root/admin interface if no password is provided, but I don't quite remember if that's the case right now.

 

 

Share this post


Link to post
On 5/7/2018 at 5:58 AM, jbrodriguez said:

Oh ok, if you have SSL set to 'auto', the plugin interprets that ssl is on.

This needs to be pinned somewhere, I was so confused. By default unRAID has it set to Auto with no SSL certificate generated, so basically with default options your app doesn't work. I figured it out by actually creating a certificate and really going with https/ssl. I eventually changed it from Auto to Yes since I don't see disadvantage of using SSL anyway.

Share this post


Link to post
2 hours ago, dnLL said:

This needs to be pinned somewhere

Hi, it's written in the FAQ, from a user standpoint (what should I do as an app user), instead of from plugin's view (auto means ssl).

 

The last version of the app always connects to the plugin via ssl, regardless of the Unraid setting, so it shouldn't be a problem

 

You already solved it by doing ssl=yes, but I'm not sure what issue you were having.

 

Were you unable to add the server ?

Were you unable to access the additional features the plugin provides ?

Share this post


Link to post
19 hours ago, jbrodriguez said:

Hi, it's written in the FAQ, from a user standpoint (what should I do as an app user), instead of from plugin's view (auto means ssl).

 

The last version of the app always connects to the plugin via ssl, regardless of the Unraid setting, so it shouldn't be a problem

 

You already solved it by doing ssl=yes, but I'm not sure what issue you were having.

 

Were you unable to add the server ?

Were you unable to access the additional features the plugin provides ?

I was unable to add the server (the app by default was proposing an IPv6 server which is weird since IPv6 is disabled on my router and everywhere else, but even with entering my IPv4 it wouldn't see the server). SSL was disabled in unRAID (as it was by default on previous versions, not sure about now). I never enabled it until I had issues after downloading ControlR. By default SSL is set to Auto with no promoted certificate (so SSL is disabled with the Auto option).

 

Also, the FAQ says the following:

Quote

auto->add server via ip/hostname, https port (default is 443), secure switch on

Doesn't work if SSL isn't actually enabled (if you didn't promote a certificate, SSL won't work, the auto switch just sets it to No basically).

Edited by dnLL

Share this post


Link to post
4 hours ago, dnLL said:

the app by default was proposing an IPv6

Yes, that happens on some Android phones for some reason.

 

The app is just reading the phone's ip address from the network stack and proposing it (presumably less typing), but in some cases it picks up the IPv6 address.

 

Not sure why, Android phones and even provider's OS can be quite different.

 

As for auto, Unraid creates an SSL certificate and redirects http -> https transparently for the user, I'll check if that's still the case.

 

Or perhaps, new installs work a bit differently from older installs (fresh 6.6.x install vs upgrading to 6.6.x).

Share this post


Link to post
On 12/7/2018 at 6:09 AM, jbrodriguez said:

As for auto, Unraid creates an SSL certificate and redirects http -> https transparently for the user, I'll check if that's still the case.

Or perhaps, new installs work a bit differently from older installs (fresh 6.6.x install vs upgrading to 6.6.x).

I started with unRAID 6.4 iirc and the default behavior was not to create a certificate while set to auto. https would be fully enabled only if you generated a certificate by yourself with the webui. After upgrading to 6.6 that was still the case but maybe a fresh installation is different. Either way, it's working perfectly, I can now easily shut down a VM if I need to.

Share this post


Link to post

Do I need to use the companion plugin to use the app? I don't think I need to but just to confirm. 

 

I forwarded a port through my router to access the server outside of the location. 

Share this post


Link to post
23 minutes ago, gacpac said:

Do I need to use the companion plugin to use the app? I don't think I need to but just to confirm. 

I believe you will lose some functionality without the plugin running on unraid.

 

23 minutes ago, gacpac said:

I forwarded a port through my router to access the server outside of the location. 

This is not recommended. Unraid has very limited security and not intended to be exposed directly to the internet. A better solution would be to run an OpenVPN server on your network and access the unraid server that way.

Edited by wgstarks

Share this post


Link to post
4 minutes ago, wgstarks said:

I believe you will lose some functionality without the plugin running on unraid.

 

This is not recommended. Unraid has very limited security and not intended to be exposed directly to the internet. A better solution would be to run an OpenVPN server on your network and access the unraid server that way.

I know the VPN part I use it as well but if my array goes down, my VPN goes with it. The security I have for unraid goes as follows.

 

I'm forwarding an unknown port to port 443 and accessing my unraid with a certificate from Let's Encrypt for SSL. Also I created a login password Plus I'm using ddns because I don't have a static IP

Share this post


Link to post
On 12/31/2018 at 5:25 PM, gacpac said:

Do I need to use the companion plugin to use the app?

The companion plugin provides the features described in the "I’ve read about a companion plugin. What’s its purpose ?" section of the FAQ

Share this post


Link to post
21 hours ago, jbrodriguez said:

The companion plugin provides the features described in the "I’ve read about a companion plugin. What’s its purpose ?" section of the FAQ

Thank youu

Share this post


Link to post

I just installed what I assume is the latest version of this plugin, I used the link in the first post. For some reason the plugin does not seem to start up, when I go into settings the plugin status is always "stopped". 

Any idea what I need to check first? I've changed the drop down to enabled, yes and I've tried several unraid restarts. 

 

Edit: Plugin version = 2.14.0 & unraid version = 6.2.4

Edit 2: Upgraded my unraid OS - now it works. (Or at least the bits of it that I need are working, there are still a couple of issues, but I think they have been addressed already in this thread so I can worry about it later. ) 

Edited by jj0076
Clarification

Share this post


Link to post

Currently testing the 6.7.0rc1 and the Android app doesn't show any installed VMs or Dockers.

 

"No vms/dockers are installed or they are currently unavailable"

Share this post


Link to post

Hi,

 

Thanks for the heads up !

 

I have a fix for this in my dev environment, but do note that I don't support Unraid RCs.

 

I'll publish a new release shortly after it goes stable.

 

P.S.: The new dashboard looks awesome 👍

Share this post


Link to post

I almost thought so. Btw is it possible to implement the use of the fingerprint sensor in the app, so you have to unlock the app before you use it? On Android if i close the app and restart it, it always saves the last logged in user. 

Share this post


Link to post

The app sort of replicates what happens on the browser: you log in and until you log out, you have access to the UI.

 

Currently, the equivalent of logging out is to remove the server from the app.

 

In any case, I'll give it some thought.

 

Also, feel free to add it as a feature request.

Share this post


Link to post

Thanks for the response. Would be great to have such a feature to unlock the app first before you're able to use it. Unfortunatly I'am not able to access the feedback.userreport.com page. No matter which browser i tried (IE, FF, Chrome, Edge) all showing a white page with the message "loading" and nothing happens.

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.