jbrodriguez Posted October 25, 2016 Share Posted October 25, 2016 (edited) controlrd is a companion plugin for the ControlR app. Introduction This plugin enables some operations for the ControlR app. IMPORTANT NOTE 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) or a certificate created by a trusted authority Also, uninstall the old ControlR plugin, if needed (it will be deprecated soon anyways) ## Installation There are 2 ways to install this application - Community Applications Go to the Apps tab Click on the Plugins button Look for ControlR Click Install - Plugins Tab (manual) Go to the Plugins tab Click on Install Plugin Paste the following address in the input field: https://github.com/jbrodriguez/controlrd/releases/latest/download/controlrd.plg Click Install ## Running the app After installing the plugin, you'll get a QRCode to facilitate adding your server to the ControlR app Learn about more features that the plugin enables in the faq (https://www.apertoire.com/faq/controlr) CHANGELOG Check the full changelog here Edited September 2 by jbrodriguez edit changelog 1 Quote Link to comment
interwebtech Posted October 25, 2016 Share Posted October 25, 2016 installed v1. Unable to login as root on web interface. Unable to connect to server 401 (Unauthorized) root is the only user on server. Quote Link to comment
jbrodriguez Posted October 26, 2016 Author Share Posted October 26, 2016 installed v1. Unable to login as root on web interface. Unable to connect to server 401 (Unauthorized) root is the only user on server. Can you check the log (should be at /usr/local/emhttp/plugins/controlr/controlr.log) for any warnings ? Send it over pm or email if you want. I'll change the log location in the next release. Quote Link to comment
interwebtech Posted October 26, 2016 Share Posted October 26, 2016 installed v1. Unable to login as root on web interface. Unable to connect to server 401 (Unauthorized) root is the only user on server. Can you check the log (should be at /usr/local/emhttp/plugins/controlr/controlr.log) for any warnings ? Send it over pm or email if you want. I'll change the log location in the next release. There is no *.log file in that folder. Quote Link to comment
bmdegraaf Posted October 26, 2016 Share Posted October 26, 2016 installed v1. Unable to login as root on web interface. Unable to connect to server 401 (Unauthorized) root is the only user on server. Can you check the log (should be at /usr/local/emhttp/plugins/controlr/controlr.log) for any warnings ? Send it over pm or email if you want. I'll change the log location in the next release. There is no *.log file in that folder. I am having the exact same problem. I cannot login: unable to connect to server 401 (unauthorized). Similar to interwebtech no log file being created. Quote Link to comment
jbrodriguez Posted October 26, 2016 Author Share Posted October 26, 2016 Well, it wasn't logging at all I uploaded v1.0.1 with this change, log file is at /boot/logs/controlr.log Quote Link to comment
interwebtech Posted October 26, 2016 Share Posted October 26, 2016 Well, it wasn't logging at all I uploaded v1.0.1 with this change, log file is at /boot/logs/controlr.log plugin has lost its link to open web page. Manually trying to open web page, neither http://tower:2378/ or IP work at all. No logs at that location. tower refused to connect. Quote Link to comment
interwebtech Posted October 26, 2016 Share Posted October 26, 2016 Well, it wasn't logging at all I uploaded v1.0.1 with this change, log file is at /boot/logs/controlr.log plugin has lost its link to open web page. Manually trying to open web page, neither http://tower:2378/ or IP work at all. No logs at that location. tower refused to connect. Following up... toggle Enable ControlR Server setting brought link back and page opens. Log contents: I: 2016/10/26 15:12:03 app.go:51: controlr v1.0.1-70.d2e1212 starting ... I: 2016/10/26 15:12:03 app.go:59: No config file specified. Using app defaults ... I: 2016/10/26 15:12:03 unraid.go:55: starting service Unraid ... I: 2016/10/26 15:12:03 server.go:67: Starting service Server ... I: 2016/10/26 15:12:03 server.go:86: Serving files from /usr/local/emhttp/plugins/controlr I: 2016/10/26 15:12:03 server.go:125: Server started listening on :2378 I: 2016/10/26 15:12:03 app.go:81: Press Ctrl+C to stop ... W: 2016/10/26 15:12:14 server.go:179: shadowHash != actualHash Quote Link to comment
jbrodriguez Posted October 27, 2016 Author Share Posted October 27, 2016 Well, it wasn't logging at all I uploaded v1.0.1 with this change, log file is at /boot/logs/controlr.log plugin has lost its link to open web page. Manually trying to open web page, neither http://tower:2378/ or IP work at all. No logs at that location. tower refused to connect. Following up... toggle Enable ControlR Server setting brought link back and page opens. Log contents: I: 2016/10/26 15:12:03 app.go:51: controlr v1.0.1-70.d2e1212 starting ... I: 2016/10/26 15:12:03 app.go:59: No config file specified. Using app defaults ... I: 2016/10/26 15:12:03 unraid.go:55: starting service Unraid ... I: 2016/10/26 15:12:03 server.go:67: Starting service Server ... I: 2016/10/26 15:12:03 server.go:86: Serving files from /usr/local/emhttp/plugins/controlr I: 2016/10/26 15:12:03 server.go:125: Server started listening on :2378 I: 2016/10/26 15:12:03 app.go:81: Press Ctrl+C to stop ... W: 2016/10/26 15:12:14 server.go:179: shadowHash != actualHash Ok, that would indicate passwords don't match. I'll pm you. Quote Link to comment
bmdegraaf Posted October 27, 2016 Share Posted October 27, 2016 Having the same issue... W: 2016/10/27 14:33:19 server.go:179: shadowHash != actualHash Quote Link to comment
jbrodriguez Posted October 27, 2016 Author Share Posted October 27, 2016 v1.0.2 is out, this should fix the authentication issue. Thanks interwebtech and bmdegraaf for the report and support in debugging. Quote Link to comment
interwebtech Posted October 27, 2016 Share Posted October 27, 2016 I am able to login but not sure if what I see is correct. I made browser narrow so it would fit in one screenshot. The red arrow points at icon that just spins ands spins with nothing happening. I have no users other than root. I have no VMs. I have 4 dockers. Should I be seeing something other than this? Quote Link to comment
jbrodriguez Posted October 27, 2016 Author Share Posted October 27, 2016 I am able to login but not sure if what I see is correct. I made browser narrow so it would fit in one screenshot. The red arrow points at icon that just spins ands spins with nothing happening. I have no users other than root. I have no VMs. I have 4 dockers. Should I be seeing something other than this? Yes, you should see the 4 dockers Anything strange in the log ? Quote Link to comment
interwebtech Posted October 27, 2016 Share Posted October 27, 2016 I am able to login but not sure if what I see is correct. I made browser narrow so it would fit in one screenshot. The red arrow points at icon that just spins ands spins with nothing happening. I have no users other than root. I have no VMs. I have 4 dockers. Should I be seeing something other than this? Yes, you should see the 4 dockers Anything strange in the log ? I see nothing about scanning for dockers or VMs. I emptied the log and restarted the plugin. This is all I get in log: I: 2016/10/27 16:34:42 app.go:85: Received signal: (terminated) ... shutting down the app now ... I: 2016/10/27 16:34:42 server.go:132: stopped service Server ... I: 2016/10/27 16:34:42 unraid.go:67: stopped service Unraid ... I: 2016/10/27 16:34:48 app.go:51: controlr v1.0.2-78.dd2e5a8 starting ... I: 2016/10/27 16:34:48 app.go:59: No config file specified. Using app defaults ... I: 2016/10/27 16:34:48 unraid.go:55: starting service Unraid ... I: 2016/10/27 16:34:48 server.go:69: Starting service Server ... I: 2016/10/27 16:34:48 server.go:88: Serving files from /usr/local/emhttp/plugins/controlr I: 2016/10/27 16:34:48 server.go:127: Server started listening on :2378 I: 2016/10/27 16:34:48 app.go:81: Press Ctrl+C to stop ... All I get is the spinner. Took a peek with Chrome tools and spotted this error in console: websocket open Uncaught TypeError: Cannot read property 'map' of null(…) http://192.168.1.8:2378/app/main-c6c02c5.min.js Quote Link to comment
jbrodriguez Posted October 28, 2016 Author Share Posted October 28, 2016 I am able to login but not sure if what I see is correct. I made browser narrow so it would fit in one screenshot. The red arrow points at icon that just spins ands spins with nothing happening. I have no users other than root. I have no VMs. I have 4 dockers. Should I be seeing something other than this? Yes, you should see the 4 dockers Anything strange in the log ? I see nothing about scanning for dockers or VMs. I emptied the log and restarted the plugin. This is all I get in log: I: 2016/10/27 16:34:42 app.go:85: Received signal: (terminated) ... shutting down the app now ... I: 2016/10/27 16:34:42 server.go:132: stopped service Server ... I: 2016/10/27 16:34:42 unraid.go:67: stopped service Unraid ... I: 2016/10/27 16:34:48 app.go:51: controlr v1.0.2-78.dd2e5a8 starting ... I: 2016/10/27 16:34:48 app.go:59: No config file specified. Using app defaults ... I: 2016/10/27 16:34:48 unraid.go:55: starting service Unraid ... I: 2016/10/27 16:34:48 server.go:69: Starting service Server ... I: 2016/10/27 16:34:48 server.go:88: Serving files from /usr/local/emhttp/plugins/controlr I: 2016/10/27 16:34:48 server.go:127: Server started listening on :2378 I: 2016/10/27 16:34:48 app.go:81: Press Ctrl+C to stop ... All I get is the spinner. Took a peek with Chrome tools and spotted this error in console: websocket open Uncaught TypeError: Cannot read property 'map' of null(…) http://192.168.1.8:2378/app/main-c6c02c5.min.js Thanks, I thought the server had crashed, but it's something client related .. I'll check. Quote Link to comment
jbrodriguez Posted October 28, 2016 Author Share Posted October 28, 2016 v1.0.3 is available 2016-10-28 - 1.0.3 - Fix issue when there were no users/apps - Cosmetic fixes to UI - Include additional logging This should fix the issue where there are no users (other than root), but there are apps available (dockers/vms). Note, that in this scenario, clicking on the the checkboxes is a no-op, since it's not modifying any user. root has full access to the server. Quote Link to comment
interwebtech Posted October 28, 2016 Share Posted October 28, 2016 Not showing as an available update in Plugins. Quote Link to comment
interwebtech Posted October 29, 2016 Share Posted October 29, 2016 v1.02, just found these on console after reboot: bin/bash line 3 /usr/local/emhttp/plugins/controlr/scripts/stop: no such file or directory grep: /etc/php-fpm.d/www.conf: no such file or directoy (this one twice) Quote Link to comment
jbrodriguez Posted October 30, 2016 Author Share Posted October 30, 2016 Thanks interwebtech ! v1.0.4 should be available now Not sure what the error is with the stop script ... I'll have to check that next Quote Link to comment
interwebtech Posted October 30, 2016 Share Posted October 30, 2016 Thanks interwebtech ! v1.0.4 should be available now Not sure what the error is with the stop script ... I'll have to check that next When updating the plug-in, i have to turn off ControlR and then back on for the UI link to show. Other than that I can see all my dockers and such now. Looks great! Quote Link to comment
jbrodriguez Posted October 31, 2016 Author Share Posted October 31, 2016 Thanks interwebtech ! v1.0.4 should be available now Not sure what the error is with the stop script ... I'll have to check that next When updating the plug-in, i have to turn off ControlR and then back on for the UI link to show. Other than that I can see all my dockers and such now. Looks great! Thanks interwebtech ! It probably has to do with the error you mentioned, I'll check that. Quote Link to comment
interwebtech Posted November 2, 2016 Share Posted November 2, 2016 updated to 1.06 and still have the bash error on reboot. Quote Link to comment
jbrodriguez Posted November 3, 2016 Author Share Posted November 3, 2016 updated to 1.06 and still have the bash error on reboot. Yes, I haven't fixed that yet I think it has something to do with 6.2.x, since I can't see the same behaviour in 6.1.x. My 6.2.x server is temporarily out of order (mobo died), so I can't troubleshoot the issue right now. I'll look into it by next week. Quote Link to comment
jbrodriguez Posted November 9, 2016 Author Share Posted November 9, 2016 v1.1.0 is out ! - Create api endpoint to support ControlR app This release enables support to display logs in the ControlR app. Quote Link to comment
jbrodriguez Posted November 10, 2016 Author Share Posted November 10, 2016 updated to 1.06 and still have the bash error on reboot. I'm unable to reproduce the error. All I see is in the syslog is Nov 10 08:56:16 hal sudo: root : TTY=unknown ; PWD=/ ; USER=root ; COMMAND=/bin/bash -c /usr/local/emhttp/plugins/controlr/controlr -port 2378 I tried 6.2.0 first, then 6.2.4 ... started the server, used the plugin, rebooted ... and it's there running. Does the error appear in the syslog in your case ? Is it the plugin stopped ? Can you check that /boot/config/plugins/controlr/controlr.cfg exists ? Quote Link to comment
Recommended Posts
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.