August 31, 20241 yr Author 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 August 31, 20241 yr by jbrodriguez
August 31, 20241 yr Author 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"
August 31, 20241 yr if the name is the top part in the box, yes. root@BigRig:~# /usr/bin/upsc "[email protected]" Error: Connection failure: Connection refused
August 31, 20241 yr Author actually, im rereading the code and the config file is at /boot/config/plugins/nut-dw/nut-dw.cfg do you have that file ?
August 31, 20241 yr Author aaahhh finally, the config file !!! ill publish the plugin pointing to the correct location of the config file, but im not sure that will solve your specific case ill look into it this weekend, i have more info now thank you !!!
August 31, 20241 yr 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.
August 31, 20241 yr 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?
August 31, 20241 yr Author 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)
August 31, 20241 yr Author 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
August 31, 20241 yr 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?
August 31, 20241 yr 12 minutes ago, mihcox said: so which of the following am i supposed to use? The my myunraid.net one works for me.
August 31, 20241 yr thank you for your work on controlr. i can confirm the UPS values are now working correctly with the new version of NUT. 👍 JD
August 31, 20241 yr 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 August 31, 20241 yr by Shtoomik
August 31, 20241 yr Author 1 hour ago, JudasD said: thank you for your work on controlr. i can confirm the UPS values are now working correctly with the new version of NUT. 👍 JD awesome news !!! thanks for the report !! 🙏
August 31, 20241 yr Author 1 hour ago, mihcox said: so which of the following am i supposed to use? the one that ends in myunraid.net, as wgstarks mentioned
August 31, 20241 yr Author 21 minutes ago, Shtoomik said: The issue seems to come from the ports and/or having two times 'https' aaa i see the issue, thanks a lot for posting the output, ill look to fix this 🙏
September 1, 20241 yr 6 hours ago, jbrodriguez said: the one that ends in myunraid.net, as wgstarks mentioned Thanks, i am now able to login to both machines, but still lack ups data.
September 1, 20241 yr Author 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
September 1, 20241 yr 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?)
September 1, 20241 yr Author 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/)
September 2, 20241 yr 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 September 2, 20241 yr by Free Man
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.