[Plugin] ControlR


Recommended Posts

I never installed the ipmi plugin :/

I also didn't change anything in my configuration after upgrading to v6.4.0/1

Your plugin worked before without any issue detecting the sensors used by the dynamix system temp plugin.

Really strange :)

Edited by Marv
Link to comment

Yes, that's certainly strange :)

 

Can you send me the output of the following commands ?

$ ls -al /usr/local/emhttp/plugins/ipmi
$ ls -al /dev/ipmi0
$ ls -al /dev/ipmi/0
$ ls -al /dev/ipmidev/0
$ ls -al /boot/config/plugins/ipmi/ipmi.cfg
$ ls -al /usr/sbin/ipmisensors
$ ls -al /usr/local/emhttp/plugins/dynamix.system.temp
$ ls -al /usr/bin/sensors

 

Link to comment

there you go

 

$ ls -al /usr/local/emhttp/plugins/ipmi
/bin/ls: cannot access '/usr/local/emhttp/plugins/ipmi': No such file or directory

$ ls -al /dev/ipmi0
/bin/ls: cannot access '/dev/ipmi0': No such file or directory

$ ls -al /dev/ipmi/0
/bin/ls: cannot access '/dev/ipmi/0': No such file or directory

$ ls -al /dev/ipmidev/0
/bin/ls: cannot access '/dev/ipmidev/0': No such file or directory

$ ls -al /boot/config/plugins/ipmi/ipmi.cfg
/bin/ls: cannot access '/boot/config/plugins/ipmi/ipmi.cfg': No such file or directory

$ ls -al /usr/sbin/ipmisensors
/bin/ls: cannot access '/usr/sbin/ipmisensors': No such file or directory

$ ls -al /usr/local/emhttp/plugins/dynamix.system.temp
total 16
drwxr-xr-x  5 root root  160 Aug 26  2016 ./
drwxr-xr-x 28 root root  560 Nov 18 13:54 ../
-rw-r--r--  1 root root  287 Aug 26  2016 README.md
-rw-r--r--  1 root root  900 Aug 26  2016 TempButton.page
-rw-r--r--  1 root root 8184 Aug 26  2016 TempSettings.page
drwxr-xr-x  2 root root  140 Aug 26  2016 icons/
drwxr-xr-x  2 root root   60 Aug 26  2016 images/
drwxr-xr-x  2 root root   60 Aug 26  2016 include/

$ ls -al /usr/bin/sensors
-rwxr-xr-x 1 root root 22032 Nov 23  2015 /usr/bin/sensors*

 

Link to comment
Ok, the bottom line is this ...
 
The plugin is detecting the presence of /usr/local/emhttp/plugins/ipmi, but /boot/config/plugins/ipmi/ipmi.cfg is missing.
 
It determines that the ipmi plugin is present, but then tries to read the config file and it's not available. 
 
So even if ipmi is (supposedly) installed, the plugin can't use it.
 
Not being an ipmi plugin expert, I'd guess you probably installed it, but never tinkered with it ? So no settings (ipmi.cfg) were saved ?
 
The short term solution would be to uninstall ipmi (if my assumption is correct), since you're using dynamix system temp.
 
I should probably detect ipmi by checking the presence of ipmi.cfg, based on your scenario.
 
Let me know your thoughts.
I don't think this was the case here but on plugin install if there is no ipmi.cfg a default one is created
IPMISELD="disable"
IPMIPOLL="180"
NETWORK="disable"
LOCAL="disable"
IPADDR=""
USER=""
PASSWORD=""
DISP_SENSOR1="0"
DISP_SENSOR2="0"
DISP_SENSOR1="0"
DISP_SENSOR2="0"
LOADCFG="disable"
IGNORE=""
DIGNORE=""
DASH="enable"
DEVIGNORE=""
DEVS="enable"
Link to comment
  • 4 weeks later...

Hi, have you switched to https or viceversa ?

 

I assume you're running the latest version. Can you:

 

- Stop/start the plugin

- Check the log (/boot/logs/controlr.log) for issues ? (send it over pm if you want)

 

I think solving the plugin issue should help with the app, as it may be experiencing something similar.

Link to comment
7 hours ago, jbrodriguez said:

Hi, have you switched to https or viceversa ?

 

I assume you're running the latest version. Can you:

 

- Stop/start the plugin

- Check the log (/boot/logs/controlr.log) for issues ? (send it over pm if you want)

 

I think solving the plugin issue should help with the app, as it may be experiencing something similar.

 A small update, tried rebooting a few thins and since i disable the new SSL thing that is built in the 6.4 version of unraid.. I manage to open the webui etc. So the server based "issue" i encouter is fixed i guess. But connecting with the IOS is not working, cant find the server on manual or automatic. Tried on Iphone and Ipad.

Link to comment
1 hour ago, McKentin said:

But connecting with the IOS is not working

 

Are you using the same port as the webui (should be port 80) ?

 

If you're, let me know to enable debug on the app, so it can provide some additional info.

 

I replied to your pm, the log will show whether the plugin thinks it's running under http or https.

Link to comment
On 3/12/2018 at 5:38 PM, jbrodriguez said:

 

Please post the plugin log (/boot/logs/controlr.log).

 

I: 2018/03/14 22:45:28 app.go:57: controlr v2.9.1-367-243ce84-v2018.02.16a starting ...
I: 2018/03/14 22:45:28 app.go:65: No config file specified. Using app defaults ...
I: 2018/03/14 22:45:28 core.go:73: starting service Core ...
I: 2018/03/14 22:45:28 core.go:266: Created ipmi sensor ...
I: 2018/03/14 22:45:28 core.go:293: No ups detected ...
I: 2018/03/14 22:45:28 server.go:70: Starting service Server ...
I: 2018/03/14 22:45:28 server.go:89: Serving files from /usr/local/emhttp/plugins/controlr
I: 2018/03/14 22:45:28 server.go:140: Server started listening https on :2378
I: 2018/03/14 22:45:28 api.go:46: Starting service Api ...
I: 2018/03/14 22:45:28 api.go:90: Api started listening https on :2382
I: 2018/03/14 22:45:28 app.go:85: Press Ctrl+C to stop ...
I: 2018/03/14 23:08:44 core.go:112: event: "/boot/config/plugins/dynamix/dynamix.cfg": WRITE
I: 2018/03/14 23:08:44 core.go:114: modified file: /boot/config/plugins/dynamix/dynamix.cfg
I: 2018/03/15 10:26:33 core.go:112: event: "/boot/config/plugins/dynamix/dynamix.cfg": WRITE
I: 2018/03/15 10:26:33 core.go:114: modified file: /boot/config/plugins/dynamix/dynamix.cfg
I: 2018/03/15 10:33:21 app.go:89: Received signal: (terminated) ... shutting down the app now ...
I: 2018/03/15 10:33:21 api.go:105: stopped service Api ...
I: 2018/03/15 10:33:21 server.go:157: stopped service Server ...
I: 2018/03/15 10:33:21 core.go:141: stopped service Core ...
I: 2018/03/15 11:05:47 app.go:57: controlr v2.9.1-367-243ce84-v2018.02.16a starting ...
I: 2018/03/15 11:05:47 app.go:65: No config file specified. Using app defaults ...
I: 2018/03/15 11:05:47 core.go:73: starting service Core ...
I: 2018/03/15 11:05:47 core.go:266: Created ipmi sensor ...
I: 2018/03/15 11:05:47 core.go:293: No ups detected ...
I: 2018/03/15 11:05:47 server.go:70: Starting service Server ...
I: 2018/03/15 11:05:47 server.go:89: Serving files from /usr/local/emhttp/plugins/controlr
I: 2018/03/15 11:05:47 server.go:140: Server started listening https on :2378
I: 2018/03/15 11:05:47 api.go:46: Starting service Api ...
I: 2018/03/15 11:05:47 api.go:90: Api started listening https on :2382
I: 2018/03/15 11:05:47 app.go:85: Press Ctrl+C to stop ...

Link to comment
6 hours ago, aberrix said:

Any idea on how to get this to work behind an nginx reverse proxy?

 

Would you mind sharing your experience ?

 

It doesn't work at all or can you at least see your server online ?

 

ljm42 brought this forward a while back, IIRC it was a hypothetical.

 

He suggested X-Headers for plugin support, but I haven't looked into it, to be honest.

 

Let me know more about what you see.

Link to comment

Hello!

 

I am running ControlIR 2.9.1 and upgraded (from ver 6.4.0) to Unraid 6.5.0 today on one of my Unraid servers and I am no longer to see the running Dockers or VM's on my android app (S8+ - running Oreo),I just see the message 'No dockers are installed or they are currently unavailable.    If I connect to another server (running version 6.4.0), I can see the Dockers/VM's without issue.    

 

Any suggestions on how to resolve?

 

Thanks.

 

Pancho

Edited by pancho
Link to comment
53 minutes ago, jbrodriguez said:

Hi, add the server on the webGUI's port (generally 80 or 443)

 

Let me know if that works for you.

 

Hey jbrodriguez, I tried re-adding the server on port 80 on the ios app and it went into an endless loop of adding the server screen. Still no VMs or dockers either.

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.