Jump to content

[Plugin] controlrd


Recommended Posts

Just now, jbrodriguez said:

sorry to have brought you in @EDACerton🙏, i was really referring to the underlying app, tailscale itself, which isn't fully open source (https://tailscale.com/opensource#faqs)

There's a misconception here. The base tailscale/tailscaled binaries that are installed via the plugin are open-source (they come from the repo that I linked, I've even submitted PRs for them to make things work better on Unraid).

 

The Mac/Windows/iOS GUIs aren't open-source, nor is the control server (although there is Headscale as an alternative there, which does work with the plugin). None of those components are installed on Unraid.

Link to comment
1 minute ago, EDACerton said:

The base tailscale/tailscaled binaries that are installed via the plugin are open-source

agree

 

2 minutes ago, EDACerton said:

The Mac/Windows/iOS GUIs aren't open-source, nor is the control server

this is what i really wanted to point out: there's a closed source element in the loop of tailscale (the control server), i understand this is in line with the original concern from @Rysz

as you mentioned, you can run a headscale server and remove the closed source component

  • Upvote 1
Link to comment

Sorry to have spawned such a discussion about this, glad that there's such diligent security mechanisms in place so thanks to everyone involved with that and for the hard work of all our contributing developers as well (including of this plugin). Glad to be a part of the Unraid community exactly for those reasons and many more. 🙂 

  • Like 1
Link to comment
On 4/14/2024 at 12:01 PM, Rysz said:

Sorry to have spawned such a discussion about this, glad that there's such diligent security mechanisms in place so thanks to everyone involved with that and for the hard work of all our contributing developers as well (including of this plugin). Glad to be a part of the Unraid community exactly for those reasons and many more. 🙂 

It's honestly appreciated as I came to this thread because of the broken update and I'm glad to learn more about what's going on and knowing there are security mechanisms in place. I also hope there is a built-in API in the future where a plugin isn't required to make a powerful app such as ControlR.

Link to comment
  • 2 weeks later...
3 hours ago, urbanracer34 said:

Hello! 

 

My unRAID install is indicating that your plugin is not available.

 

I just thought you should know. 

thanks for the heads up

 

you should be ok uninstalling and reinstalling the plugin

let me know if that doesn't work for you

Link to comment
  • 2 weeks later...
Posted (edited)
On 5/5/2024 at 9:39 PM, jbrodriguez said:

thanks for the heads up

 

you should be ok uninstalling and reinstalling the plugin

let me know if that doesn't work for you

this did work on my primary Unraid server.
But on my backup Unraid server it wont start, and i get no real error in log

See log.  (first Remove , then reinstall.)  i even tried to delete the controlr.conf after remove)

May 16 10:19:02 UNRAID2 root: plugin: controlr.plg removed
May 16 10:23:02 UNRAID2 root: plugin: creating: /boot/config/plugins/controlr/controlr-v2024.05.11a.tgz - downloading from URL https://github.com/jbrodriguez/controlr/releases/download/v2024.05.11a/controlr-v2024.05.11a.tgz
May 16 10:23:09 UNRAID2 root: plugin: checking: /boot/config/plugins/controlr/controlr-v2024.05.11a.tgz - MD5
May 16 10:23:10 UNRAID2 root: plugin: creating: /boot/config/plugins/controlr/controlr.cfg - from INLINE content
May 16 10:23:10 UNRAID2 root: plugin: creating: /boot/config/plugins/controlr/controlr.env - from INLINE content
May 16 10:23:10 UNRAID2 root: plugin: running: anonymous
May 16 10:23:10 UNRAID2 root: plugin: creating: /tmp/controlr-chkconf - from INLINE content
May 16 10:23:10 UNRAID2 root: plugin: running: /bin/bash /tmp/controlr-chkconf
May 16 10:23:10 UNRAID2 root: plugin: controlr.plg installed
May 16 10:23:22 UNRAID2 autofan: Highest disk temp is 42C, adjusting fan speed from: 219 (85% @ 0rpm) to: 189 (74% @ 0rpm)
May 16 10:23:24 UNRAID2 ool www[12097]: /usr/local/emhttp/plugins/controlr/scripts/start
May 16 10:23:24 UNRAID2 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'
May 16 10:23:24 UNRAID2 sudo: pam_unix(sudo:session): session opened for user root(uid=0) by (uid=0)
May 16 10:23:24 UNRAID2 sudo: pam_unix(sudo:session): session closed for user root


Then i discoveren that the /boot/config/plugins/controlr/controlr.env  file was much larger (24B) on the backup unraid server. so i deleted the file on backup unraid server and started the controlr plugin from settings menu.  and it worked. ;-)

As far as i can see on my primary unraid server the file has no real content and is only 1B of size.

Hope this can help others.

Edited by LOOPMDS
added filesize
Link to comment
  • 3 weeks later...

When using the app I get the following error in the unraid logs:

 

[error] 10459#10459: *278035 FastCGI sent in stderr: "Primary script unknown" while reading response header from upstream, client: 192.168.110.25, server: , request: "POST /plugins/unassigned.devices/UnassignedDevices.php HTTP/1.1", upstream: "fastcgi://unix:/var/run/php5-fpm.sock:", host: "192.168.8.2:8888"

 

ControlR, Unassigned Devices and Unassigned Devices Plus plugins are installed.

Link to comment
12 minutes ago, mason said:

just a heads up, you should edit the link on the first post, it throws an 404 error... was able to reinstall the latest from your github release page

hey, thanks a lot !!! fixed it (it was pointing to the old repo structure) 

Link to comment
On 6/10/2024 at 7:15 PM, APD189 said:

Apologies if this was asked, but is this the latest version of this application?

 

v2022.12.30 

 

Thanks

Weirdly, this was the version I had. I don't know how many releases there have been between that one and the 2024.05.11 version, but CA didn't find them despite auto updates being turned on (and getting regular updates of dockers, though, TBH, nothing about plugins).

 

I uninstalled/reinstalled and all is good.

 

Thanks for continuing to develop & support this, jb!

  • Thanks 1
Link to comment
  • 2 weeks later...

Just updated to the latest version released today (25th June 2024) and lost UPS again in the IOS App. it was working perfectly up to the plugin update.

Using the NUT plugin on my servers and have been fine until now.

My other server I have not updated and it is still running fine on the NUT server.

Thought this was fixed.

Link to comment
  • 1 month later...

Hey, just updated the plugin, as I saw I was still on the 2022 version :)

So uninstalled the old one, took the new one and ended up with this error: (see image attached)

 

Is there anything i oversaw?

 

Regards

 

Screenshot_20240730-101302_ControlR.png

Link to comment
  • 2 weeks later...

The Plugin does not run when enabled. Any help would be appreciated. Purchased the app on Google Play Store and was wondering if I am missing something if this plugin does not run?

 

Edit: I also don't see any logs in the app on phone. version 6.5.0 on android 14

 

TIA

image.png.644790fe12c880e3eaeb775cec06194d.png

Edited by Unraid-arr
inline
Link to comment
On 8/12/2024 at 2:21 PM, Unraid-arr said:

The Plugin does not run when enabled.

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

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