Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

[Plugin] controlrd

Featured Replies

  • Author

ControlR 6.6.0 is available on Apple and Google stores !

 

v6.6.0

- Initial support for Unraid 7
- Performance improvements and bug fixes

 

🙌

  • Replies 859
  • Views 152.4k
  • Created
  • Last Reply

Top Posters In This Topic

Most Popular Posts

  • Every plugin,  no exceptions, are checked for security issues.  This doesn't mean that there isn't going to be security flaws caused by libraries utilized, but you do know that any random plugin is no

  • jbrodriguez
    jbrodriguez

    IMPORTANT NOTICE   if you're receiving the following error for the controlr plugin please uninstall the plugin / then reinstall i had to change the location of the plg file a

  • XMGProjects
    XMGProjects

    I've managed to get the mobile app working by manual adding the server. Protocol: https Port: 443 Hostname: IP.HASH.myunraid.net Username: Your username Password: Your passwor

Posted Images

7 hours ago, jbrodriguez said:

from your screenshot, can you change Enable ControlR Server to No -> apply > Enable ControlR Server to Yes -> apply ?

does that make a difference ?

let me know if it doesn't to try something else

It never activates, that is the issue. You can already see in the screenshot. I have it set to yes, but it never activates. I flipped the switch multiple times.

 

Thanks!

Edited by Unraid-arr
Spell-check

  • Author
43 minutes ago, Unraid-arr said:

You can already see in the screenshot. I have it set to yes, but it never activates

sometimes it's difficult to see through a screenshot 🤷‍♂️

 

try this, 

ps aux | grep controlr

then

killall controlr

then

/usr/local/emhttp/plugins/controlr/controlr ....

complete the dots with the same parameters as shown by the first command (it will something like `--port ..`

 

run that and check for any errors

2 hours ago, jbrodriguez said:

sometimes it's difficult to see through a screenshot 🤷‍♂️

 

try this, 

ps aux | grep controlr

then

killall controlr

then

/usr/local/emhttp/plugins/controlr/controlr ....

complete the dots with the same parameters as shown by the first command (it will something like `--port ..`

 

run that and check for any errors

 

 

There is nothing for that process name.

 

Some syslogs for good measure from the same time:

Aug 18 17:02:15 Zeus ool www[34274]: /usr/local/emhttp/plugins/controlr/scripts/stop
Aug 18 17:02:26 Zeus ool www[34950]: /usr/local/emhttp/plugins/controlr/scripts/start
Aug 18 17:02:26 Zeus sudo:     root : PWD=/usr/local/emhttp ; USER=root ; COMMAND=/usr/bin/bash -c 'env PORT=2378 SHOW_UPS=true /usr/local/emhttp/plugins/controlr/controlr --port 2378' --show-ups
Aug 18 17:02:26 Zeus sudo: pam_unix(sudo:session): session opened for user root(uid=0) by (uid=0)
Aug 18 17:02:26 Zeus sudo: pam_unix(sudo:session): session closed for user root

 

Screenshot -image.thumb.png.10ee46ffa9ac170e0cfaa896851788aa.png

 

Thanks!

Edited by Unraid-arr
Readability

16 minutes ago, Unraid-arr said:

 

 

There is nothing for that process name.

 

Some syslogs for good measure from the same time:

Aug 18 17:02:15 Zeus ool www[34274]: /usr/local/emhttp/plugins/controlr/scripts/stop
Aug 18 17:02:26 Zeus ool www[34950]: /usr/local/emhttp/plugins/controlr/scripts/start
Aug 18 17:02:26 Zeus sudo:     root : PWD=/usr/local/emhttp ; USER=root ; COMMAND=/usr/bin/bash -c 'env PORT=2378 SHOW_UPS=true /usr/local/emhttp/plugins/controlr/controlr --port 2378' --show-ups
Aug 18 17:02:26 Zeus sudo: pam_unix(sudo:session): session opened for user root(uid=0) by (uid=0)
Aug 18 17:02:26 Zeus sudo: pam_unix(sudo:session): session closed for user root

 

Screenshot -image.thumb.png.10ee46ffa9ac170e0cfaa896851788aa.png

 

Thanks!

So, I merged the command from logs and your message above and it works.

Started from command line, keeps the terminal busy which I can start with nohup, but this should not happen. Also, doesn't detect my network UPS (I am using NUT client).

 

Starting the server I see no difference in the app whatsoever. What functionality am I missing if remove this plugin? Because I see no additional info in the app v6.6.0.

 

Edit: One difference is logs. Which I can see only when server is running.

 

image.thumb.png.569da9890bffa3e858ad53727a43cbe3.png

Edited by Unraid-arr

  • Author
25 minutes ago, Unraid-arr said:

Also, doesn't detect my network UPS (I am using NUT client)

do you have this file on your system /boot/config/plugins/nut/nut.cfg ?

On 8/18/2024 at 5:40 PM, jbrodriguez said:

do you have this file on your system /boot/config/plugins/nut/nut.cfg ?

No, The location might have changed. (I believe because of the new refreshed plugin)

 

/boot/config/plugins/nut-dw/ups/

 

image.thumb.png.057b0fde7869f6f933078730ac3fb41f.png

On 8/18/2024 at 5:40 PM, jbrodriguez said:

do you have this file on your system /boot/config/plugins/nut/nut.cfg ?

Thisv above is the updated new plugin (officially), IMO.

 

Edit — Was going through your site as per other post. Found that you mention this plugin below which has been deprecated as per the pinned post on that thread. So, you might have to support the new plugin.

 

 

Hope this helps. :)

 

image.thumb.png.c54cfaa6e74fd42c6024b4d32df3090d.png

Edited by Unraid-arr
added old plugin stuff

  • Author
12 hours ago, Unraid-arr said:

Thisv above is the updated new plugin (officially), IMO.

i see, yes, thank you, that helps

On 8/18/2024 at 5:15 PM, Unraid-arr said:

So, I merged the command from logs and your message above and it works.

Started from command line, keeps the terminal busy which I can start with nohup, but this should not happen. Also, doesn't detect my network UPS (I am using NUT client).

@jbrodriguez Any fix for the server not working, do I have to keep it running from command line or there will be a patch to fix this. Just curious no pressure. :)

 

Since, you have noted the UPS issue as well, maybe it can be all in one patch?

 

Thanks for all the work.

Edited by Unraid-arr

  • Author

hello all,

 

the ControlR plugin is now controlrd !!!

 

this release enables quite a lot of improvements:
- Open Source: the controlrd plugin is now open source, with an AGPL license 🙌


- Access: the plugin api is now accessed via the Unraid url, no need to set a port anymore

 

- Versioning: no more "v" prefix for the version name


- Performance improvements

 

this will be paired with a change in the ControlR mobile app (to be released very soon), which will now have the following requirement
- 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) 

 

Finally, the current ControlR plugin will be deprecated

Edited by jbrodriguez

  • jbrodriguez changed the title to [Plugin] controlrd

Thank you!

  • Author

release controlrd 2024.08.30, which should support the new nut plugin.

 

i checked the code for the new nut plugin, the core binary is the same, so the output should be the same (unless there are some upstream changes)

 

if you're usingthe nut plugin, let me know if this now works for you :) 

48 minutes ago, jbrodriguez said:

release controlrd 2024.08.30, which should support the new nut plugin.

 

i checked the code for the new nut plugin, the core binary is the same, so the output should be the same (unless there are some upstream changes)

 

if you're usingthe nut plugin, let me know if this now works for you :) 

I have updated to the new plugin, restaretd both by settings to no, then yes again and dont see any stats for the UPS in controlr. Where should they be?

  • Author
24 minutes ago, mihcox said:

Where should they be?

they should be in the main tab for the server, to the right of the status, cpu load, etc.

does not show for me:
image.thumb.png.2e2e5fccc101d6efbed12935a7853fa3.png
image.thumb.png.6d9ec2dc79e286a793258ea595126adf.pngimage.png.04e2f9937e076f3c8c7f9e2dc67ea33e.png

  • Author

cool, can you do

cat /var/log/controlrd.log

and post that log (anonymize any private info you want, send me a dm if you prefer)

image.thumb.png.192ab6a4ecfaae2ee6dc066287486408.png

  • Author
3 minutes ago, mihcox said:

Error: Unknown UPS

thank you, can you try

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

if that doesnt work

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

 

finally, would you mind sending me your /boot/config/plugins/nut-dw/nut.cfg ?

 

im not sure why the plugin cant parse it, would like to fix the parsing if possible

8 minutes ago, jbrodriguez said:

thank you, can you try

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

if that doesnt work

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

 

finally, would you mind sending me your /boot/config/plugins/nut-dw/nut.cfg ?

 

im not sure why the plugin cant parse it, would like to fix the parsing if possible

i have to guess that this location of 127.0.0.1 is being filled in becuase it cannot read my not.cfg file. And my file is not located in that directory

based on the logs it seems to be in: /etc/nut/ups.conf

  • Author
19 minutes ago, mihcox said:

based on the logs it seems to be in: /etc/nut/ups.conf

that's weird, the nut plugin code is reading the config from /boot/config/plugins/nut-dw/nut.cfg, can you confirm you're using the latest nut plugin ?

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...

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.