Jump to content

[Plugin] controlrd


Recommended Posts

Posted (edited)

right, i see that file in the plugin code, doesn't seem to be used elsewhere though, however i havent looked too deep

 

still, the code does look for the main config at /boot/config/plugins/nut-dw/nut.cfg

 

i understand /boot/config/plugins/nut-dw/nut.cfg doesn't exist in your system right ?

 

the other 2 commands i sent you, are they throwing the same error as the initial one ?

 

with single quotes

/usr/bin/upsc '[email protected]'

with double quotes 

/usr/bin/upsc "[email protected]"

 

thanks for the help in troubleshooting, hopefully we can get to the bottom of it :)

Edited by jbrodriguez
Link to comment

ah, now the purpose of /etc/nut/ups.conf is clearer

 

i assume the web interface for the nut plugin does show the ups info correctly right ?

 

its strange though that the /usr/bin/upsc command is still failing

 

i think it's failing because of the "ups" name ...

 

is there a name entry in your /etc/nut/ups.conf file ?

 

if there is, does it work when you replace it in the command ?

 

/usr/bin/upsc "<name from /etc/nut/ups.conf>@192.168.254.5"

 

 

 

Link to comment
On 8/29/2024 at 11:22 PM, jbrodriguez said:

- If you access your server via SSL (https), the app will only connect to the `*.myunraid.net` URL, which is backed by a certificate provisioned via Let's Encrypt (certificate_bundle) 

Does this mean it is not possible anymore to connect to the server locally via lan ip and self signed cert and I am forced to install the Unraid Connect Plugin? If so, why?

Link to comment
9 hours ago, mihcox said:

Just to update this, im also having issues with adding the servers under the new controlr app. I get unable to add server:bigrig:443 is offline after scanning the qr code on either of my servers.

it seems you set up ssl on your server, the only supported way to connect is by provisioning a let's encrypt certificate, self signed certificates will not work (as mentioned in this post)

 

https://forums.unraid.net/topic/51332-plugin-controlrd/?do=findComment&comment=1459304

 

- If you access your server via SSL (https), the app will only connect to the `*.myunraid.net` URL, which is backed by a certificate provisioned via Let's Encrypt (certificate_bundle) 

 

Link to comment
1 hour ago, bastl said:

Does this mean it is not possible anymore to connect to the server locally via lan ip and self signed cert and I am forced to install the Unraid Connect Plugin? If so, why?

yea, self signed certificates wont work anymore with the app, there are restrictions both in android and ios that make this less than optimal and insecure from the app perspective

 

however, you don't need to be signed in to unraid connect to provision the letsencrypt certificate

Link to comment
6 hours ago, jbrodriguez said:

it seems you set up ssl on your server, the only supported way to connect is by provisioning a let's encrypt certificate, self signed certificates will not work (as mentioned in this post)

 

https://forums.unraid.net/topic/51332-plugin-controlrd/?do=findComment&comment=1459304

 

- If you access your server via SSL (https), the app will only connect to the `*.myunraid.net` URL, which is backed by a certificate provisioned via Let's Encrypt (certificate_bundle) 

 

so which of the following am i supposed to use? image.thumb.png.6fac82babcc383e5ddeeef8de5ada15c.png

Link to comment

Hi - Thanks for the app/update.

Got it now running again with myunraid.net, but FYI had to manually enter the details - qrcode did not work.
The issue seems to come from the ports and/or having two times 'https'
Scan output:
 

{"name":"Unraid","protocol":"https","host":" https://192-1xx-1xx-xx.4xx0.myunraid.net:14443","port":"443","address":"192.1xx.1xx.xx","errorCode":"","errorText":""}


edit: Just realized ControlIR connects only on the local network .. (I think it's DNS/ network related)

Edited by Shtoomik
  • Thanks 1
Link to comment
8 hours ago, mihcox said:

 

Thanks, i am now able to login to both machines, but still lack ups data.

cool that you were able to add your servers !!!

 

yea, about the ups data, you have a custom setup, can you do me a favor, can you show me what data is displayed on the UPS plugin page ?

 

anonymize as needed, id like to have a reference of what is shown there

Link to comment
On 8/31/2024 at 8:51 AM, jbrodriguez said:

yea, self signed certificates wont work anymore with the app, there are restrictions both in android and ios that make this less than optimal and insecure from the app perspective

 

however, you don't need to be signed in to unraid connect to provision the letsencrypt certificate

What if I have NO certs on my unRAID? Will I now need to set up a CERT?  I've never done CERTIFICATES on home system, would not even know where to begin, what is process, is there a cost, etc, etc, etc.  Can I continue to use the new version withOUT a cert?  (And what is the value of having a cert?)

Link to comment
1 hour ago, RobertP said:

What if I have NO certs on my unRAID? Will I now need to set up a CERT?

if you connect to your server via http, you don't need a cert

 

if you connect to your server via https, you will need a cert

 

Unraid provisions a free certificate (from well established Let's Encrypt provider)

 

go to the Settings / Management Access page

 

if you have set up SSL to anything other than "No", you will need to provision the Unraid letsencrypt cert

then use the qr code add server method in the app (make sure to restart the controlrd plugin after you provision the cert) or import the URL that uses the certificate (more details here https://www.apertoire.com/faq/controlr/)

Link to comment

It might be good to mention the need to manually uninstall the old ControlR and install ControlRd back in your original post on from last Thursday.

 

I've been waiting to see an update come through from CA AutoUpdate, and, obviously, haven't.

 

I'm installing the new version now, I presume that it will continue to work with the older version of the Android app until such time as the new app is released and my phone upgrades?

 

I've installed the new version of controlrd on the server, uninstalled the old version, added the server back in via QR code and all is good, including UPS stats!

 

Thanks again for your long term effort to support and improve this!

 

Edited by Free Man
  • Thanks 1
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.

×
×
  • Create New...