[Plugin] ControlR


Recommended Posts

Tiny cosmetic request: the next time you update this plugin, can you please remove the "v" prefix in the version designation? Most of my other plugins use the same YYYY.MM.DD format but without any "v" prefix. Occasionally I like to sort the list of plugins in the WebUI based on version, to quickly identify the oldest/newest.

 

Cheers,

T

Link to comment
  • 3 months later...
On 3/21/2023 at 2:32 PM, XMGProjects said:

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 password

 

I also needed to do this to have it work.  Spent like 3 hours trying a million other things...sigh
 

May I request a feature?  Can the developer please implement the ability to restart a docker?  I also would like the option to see network shares and to mount and unmount them.

Link to comment
11 hours ago, sittingmongoose said:

Can the developer please implement the ability to restart a docker

hi, is that possible via the unraid web ui ? if it is, i may have overlooked it in the app's implementation

 

11 hours ago, sittingmongoose said:

I also would like the option to see network shares and to mount and unmount them.

that is bit more difficult, not sure if that's currently possible

On 3/26/2023 at 1:14 PM, daTroll said:

can you please remove the "v" prefix in the version designation

that's a legacy issue, we discussed that with Squid at some point in time, it would create a version visibility issue, that was a while back, don't exactly remember what it was :)

Link to comment
9 minutes ago, jbrodriguez said:

hi, is that possible via the unraid web ui ? if it is, i may have overlooked it in the app's implementation

 

that is bit more difficult, not sure if that's currently possible

that's a legacy issue, we discussed that with Squid at some point in time, it would create a version visibility issue, that was a while back, don't exactly remember what it was :)

Restarting a docker is in the ui.  When you click the icon(like to open the docker web gui) it has the open to paused and restart as well.

  • Thanks 1
Link to comment
On 7/13/2023 at 7:03 AM, sittingmongoose said:

Restarting a docker is in the ui.  When you click the icon(like to open the docker web gui) it has the open to paused and restart as well.

yes, i saw it now, i think originally it wasn't available, and that code in the app hasn't been touched in a while, i'll look into adding it

Link to comment
3 minutes ago, jbrodriguez said:

yes, i saw it now, i think originally it wasn't available, and that code in the app hasn't been touched in a while, i'll look into adding it

The mounting and unmounting of network shares would be a god send.

 

As for the restart, it’s been in there since I started with Unraid, which was about 2018 lol

 

I would greatly appreciate any updates you can do :)

Link to comment
  • 2 months later...

When I start the plugin it shows the service running. But then shuts down immediately. Also I do not get a QR Code. I looks like the image link is broken.

 

 


Oct 10 18:23:24 Tower1 root: plugin: creating: /boot/config/plugins/controlr/controlr-4.0.0.tgz - downloading from URL https://github.com/jbrodriguez/controlr/releases/download/4.0.0/controlr-4.0.0.tgz
Oct 10 18:23:26 Tower1 root: plugin: checking: /boot/config/plugins/controlr/controlr-4.0.0.tgz - MD5
Oct 10 18:23:26 Tower1 root: plugin: creating: /boot/config/plugins/controlr/controlr.cfg - from INLINE content
Oct 10 18:23:27 Tower1 root: plugin: running: anonymous
Oct 10 18:23:27 Tower1 root: plugin: creating: /tmp/controlr-chkconf - from INLINE content
Oct 10 18:23:27 Tower1 root: plugin: running: /bin/bash /tmp/controlr-chkconf
Oct 10 18:23:27 Tower1 root: plugin: controlr.plg installed
Oct 10 18:24:57 Tower1 ool www[17286]: /usr/local/emhttp/plugins/controlr/scripts/start
Oct 10 18:24:57 Tower1 sudo:     root : PWD=/usr/local/emhttp ; USER=root ; COMMAND=/usr/bin/bash -c '/usr/local/emhttp/plugins/controlr/controlr -port 2378 -certdir \'/boot/config/ssl/certs\' -showups'
Oct 10 18:24:57 Tower1 sudo: pam_unix(sudo:session): session opened for user root(uid=0) by (uid=0)
Oct 10 18:25:18 Tower1 sudo: pam_unix(sudo:session): session closed for user root
Oct 10 18:26:09 Tower1 unassigned.devices: Undefined POST action - .
image.png.d299e7652a95d6f4376a1845a280b782.png

Edited by siddonj
Link to comment
11 hours ago, siddonj said:

When I start the plugin it shows the service running. But then shuts down immediately. Also I do not get a QR Code. I looks like the image link is broken.

 

'/usr/local/emhttp/plugins/controlr/controlr -port 2378 -certdir \'/boot/config/ssl/certs\' -showups'
 

 

can you try running the plugin from the command line 

 

/usr/local/emhttp/plugins/controlr/controlr -port 2378 -certdir '/boot/config/ssl/certs' -showups

 

and check for any errors ?

Link to comment
6 hours ago, jbrodriguez said:

 

can you try running the plugin from the command line 

 

/usr/local/emhttp/plugins/controlr/controlr -port 2378 -certdir '/boot/config/ssl/certs' -showups

 

and check for any errors ?

Here are the results:

root@Tower1:~# /usr/local/emhttp/plugins/controlr/controlr -port 2378 -certdir '/boot/config/ssl/certs' -showups
I: 2023/10/11 12:34:14 app.go:57: controlr v2022.12.30|4.0.0 starting ...
I: 2023/10/11 12:34:14 app.go:65: No config file specified. Using app defaults ...
I: 2023/10/11 12:34:14 app.go:170: cert: found certificate_bundle.pem
I: 2023/10/11 12:34:14 app.go:75: state(&{Name:Tower1 Timezone:America/Chicago Version:6.12.4 CsrfToken:9865C36960731A1 Host:http://Tower1 Origin:{Name:Tower1 Protocol:http Host:Tower1 Port:443 Address:192.168.1.110} Secure:false Cert:certificate_bundle.pem UseSelfCerts:false})
I: 2023/10/11 12:34:14 core.go:83: starting service Core ...
I: 2023/10/11 12:34:14 core.go:357: Created ipmi sensor ...
I: 2023/10/11 12:34:14 core.go:375: Created apc ups ...
2023/10/11 12:34:34 Unable to wait for process to finish: exit status 1

Link to comment
8 minutes ago, siddonj said:

I am sorry. I looked but cannot find a flag to disable UPS. Can you help with that?

 

right, i meant run the plugin with the following command 

/usr/local/emhttp/plugins/controlr/controlr -port 2378 -certdir '/boot/config/ssl/certs'

it disables ups functionality

Edited by jbrodriguez
Link to comment
10 minutes ago, jbrodriguez said:

right, i meant run the plugin with the following command 

/usr/local/emhttp/plugins/controlr/controlr -port 2378 -certdir '/boot/config/ssl/certs'

it disables ups functionality

Here are the results:

root@Tower1:~# /usr/local/emhttp/plugins/controlr/controlr -port 2378 -certdir '/boot/config/ssl/certs'
I: 2023/10/11 13:40:13 app.go:57: controlr v2022.12.30|4.0.0 starting ...
I: 2023/10/11 13:40:13 app.go:65: No config file specified. Using app defaults ...
I: 2023/10/11 13:40:13 app.go:170: cert: found certificate_bundle.pem
I: 2023/10/11 13:40:13 app.go:75: state(&{Name:Tower1 Timezone:America/Chicago Version:6.12.4 CsrfToken:9865C36960731A1 Host:http://Tower1 Origin:{Name:Tower1 Protocol:http Host:Tower1 Port:443 Address:192.168.1.110} Secure:false Cert:certificate_bundle.pem UseSelfCerts:false})
I: 2023/10/11 13:40:13 core.go:83: starting service Core ...
I: 2023/10/11 13:40:13 core.go:357: Created ipmi sensor ...
I: 2023/10/11 13:40:13 core.go:384: No ups detected ...
2023/10/11 13:40:33 Unable to wait for process to finish: exit status 1
root@Tower1:~# 

Link to comment
6 minutes ago, jbrodriguez said:

mmm, in that case it seems to be an issue with ipmi, can you run this and post the output ?

 

/usr/sbin/ipmisensors --comma-separated-output --output-sensor-state --no-header-output --interpret-oem-data

 

root@Tower1:~# /usr/sbin/ipmisensors --comma-separated-output --output-sensor-state --no-header-output --interpret-oem-data
base64: invalid input
/usr/sbin/ipmi-sensors: connection timeout

Link to comment
7 hours ago, jbrodriguez said:

right, there's an issue with ipmi, not sure what it is, not an expert on ipmi, what version of unraid are you using ? have you installed any sensor-like plugin (to read motherboard temp, cpu temp, etc.) ?

I removed the IPMI Support plugin and it worked fine. Thanks. I don't use it anyway.

Link to comment
  • 3 months later...

Hi everyone!

I‘m just wondering, where I can set the user permissions without the UI? The app shows me the server, but there are no dockers listed and the VM are just shown without controls to operate. Could you please help me with that? Thank you!

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.