Marv Posted July 13, 2018 Share Posted July 13, 2018 Hi, I just noticed that on latest version the logs are not shown in the app anymore. Someone else recognized this? Quote Link to comment
jbrodriguez Posted July 13, 2018 Author Share Posted July 13, 2018 I'm going to release an update soon, but it boils down to what I mentioned in the app thread Summary: If the SSL setting in your unRAID is set to 'yes' -> Add the server via ip/hostname, https port, secure switch on 'auto' -> Add the server via ip/hostname, http port, secure switch off 'no' -> Add the server via ip/hostname, http port, secure switch off But, with the update about to be released, I'm going to change it to : If the SSL setting in your unRAID is set to 'yes' -> Add the server via ip/hostname, https port, secure switch on 'auto' -> Add the server via ip/hostname, https port, secure switch on 'no' -> Add the server via ip/hostname, http port, secure switch off SSL = auto signals unRAID to set up a letsencrypt certificate and any http access is redirected to https (as ljm42 brought up a couple of posts back). The issue you're having is most likely because - your ssl is set to auto or no - you added your server via https/secure switch on To fix your issue, you have two options: - add the server via http/secure switch off - wait for the update (next couple of days) It should be the final decision on this matter (along with some redirection I'll be doing on the web side of the plugin). I will also add a padlock in the app to represent how the server was added: open = http, closed = https. 1 Quote Link to comment
jbrodriguez Posted July 14, 2018 Author Share Posted July 14, 2018 v2018-07-14 (2.12.0) is out - Modify logic about which port to listen on This enables redirection for the web UI side of the plugin. With respect to the ControlR APP support the plugin provides, this is how you should add your server to make sure it works: If the SSL setting in your unRAID is set to 'yes' -> Add the server via ip/hostname, https port, secure switch on 'auto' -> Add the server via ip/hostname, https port, secure switch on 'no' -> Add the server via ip/hostname, http port, secure switch off This is reflected in the app's FAQ. Quote Link to comment
plantsandbinary Posted July 22, 2018 Share Posted July 22, 2018 (edited) I've got a problem with this. Using UNRAID 6.5.3 I can't see any of my docker containers, vms, or any of my logs what-so-ever from the Android app. All I can do is see storage space and spin down/shutdown the server. Also what's the login information for the Webui via the plugins tab? I do have that installed. Edited July 22, 2018 by plantsandbinary Quote Link to comment
jbrodriguez Posted July 24, 2018 Author Share Posted July 24, 2018 Hi, is it still not working ? It's very odd that you can't see dockers/vms while being able to see other sections. Let me suggest you add the server again, check the "I can’t connect to my server" section in https://www.apertoire.com/faq/controlr/ Let me know how it goes. Quote Link to comment
plantsandbinary Posted August 2, 2018 Share Posted August 2, 2018 It doesn't work. I've literally tried everything. I can see all information except for docker containers, vms, or any of my logs what-so-ever from the Android app. I'm using the latest plugin version and the latest Android store app. It just says that I need to install the server. Can you please give me the login information so I can see maybe if there's a setting in there I need to change or something, I dunno. Quote Link to comment
jbrodriguez Posted August 2, 2018 Author Share Posted August 2, 2018 Hi, 6 hours ago, plantsandbinary said: It just says that I need to install the server. Where does it say that ? Can you send me a screenshot ? 6 hours ago, plantsandbinary said: Can you please give me the login information so I can see maybe if there's a setting in there I need to change or something, I dunno. The plugin asks for the login information of your server, that would be the username ("root" is the default) and your password. But there are no settings in the plugin. Can you send me /boot/logs/controlr.log ? (pm the screenshot and the log if you prefer) Quote Link to comment
jmello Posted August 8, 2018 Share Posted August 8, 2018 (edited) I may be having the same problem as plantsandbinary, I'm unable to connect to controlr from my server. I have attached a screenshot and copy of the log file. edit: Running unraid 6.5.3. controlr.log Edited August 8, 2018 by jmello Quote Link to comment
jbrodriguez Posted August 8, 2018 Author Share Posted August 8, 2018 Hi, thanks for the shots/logs. I'm a bit confused about the 127.0.0.1 address. Do you access the server from the server itself ? What I mean is, it looks you're running a browser on the server itself (maybe a docker ??) If you access the webGUI from another machine (desktop, laptop) does it work ? Quote Link to comment
jbrodriguez Posted August 9, 2018 Author Share Posted August 9, 2018 I was looking into it some more. The localhost address is fine. Can you tell me - your SSL settings (auto/yes/no) - did you change the https port (443 by default) ? - your unRAID version Quote Link to comment
VirtualL Posted August 21, 2018 Share Posted August 21, 2018 Hi. I have same problem like @jmello I am using Unraid : 6.5.3 ControlIR webgui 2.12 controlr.logUse SSL/TLS: Auto logs : in files have been NOT changed the Unraid access management ports 433 or 80 But i am using NGINX with the Let Encrypted Container. And changed pprt 443->1443 80->180 p.s As you can see in the second pic , the port that the Web UI is using its 2379 and not 2378 (I am not change it ) THANK YOU Quote Link to comment
jbrodriguez Posted August 21, 2018 Author Share Posted August 21, 2018 Thanks. So, it seems to be some kind of port detection issue. I'll take a look. Quote Link to comment
jbrodriguez Posted August 22, 2018 Author Share Posted August 22, 2018 So, I'm trying to figure out who "owns" port 80/443 (and 180/1443). Can you run (on the server) lsof -i :80 lsof -i :180 lsof -i :443 lsof -i :1443 also, can you send me your /boot/config/ident.cfg ? (it has no private info except for the server name if I recall correctly, but delete anything you want except port numbers and ssl settings if you please) Quote Link to comment
VirtualL Posted August 23, 2018 Share Posted August 23, 2018 11 hours ago, jbrodriguez said: So, I'm trying to figure out who "owns" port 80/443 (and 180/1443). Can you run (on the server) lsof -i :80 lsof -i :180 lsof -i :443 lsof -i :1443 also, can you send me your /boot/config/ident.cfg ? (it has no private info except for the server name if I recall correctly, but delete anything you want except port numbers and ssl settings if you please) 1 root@Server:~# lsof -i :80 COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME nginx 2738 root 7u IPv4 15415 0t0 TCP *:http (LISTEN) nginx 2738 root 8u IPv6 15416 0t0 TCP *:http (LISTEN) nginx 2739 nobody 7u IPv4 15415 0t0 TCP *:http (LISTEN) nginx 2739 nobody 8u IPv6 15416 0t0 TCP *:http (LISTEN) nginx 2739 nobody 17u IPv4 55508 0t0 TCP HassServer:http->192.168.1.235:51962 (ESTABLISHED) nginx 2739 nobody 18u IPv4 48831 0t0 TCP HassServer:http->192.168.1.235:51930 (ESTABLISHED) nginx 2739 nobody 20u IPv4 51788 0t0 TCP HassServer:http->192.168.1.235:51938 (ESTABLISHED) nginx 2739 nobody 21u IPv4 55509 0t0 TCP HassServer:http->192.168.1.235:51963 (ESTABLISHED) nginx 2739 nobody 22u IPv4 55510 0t0 TCP HassServer:http->192.168.1.235:51964 (ESTABLISHED) root@Server:~# lsof -i :180 COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME docker-pr 3803 root 4u IPv6 18102 0t0 TCP *:ris (LISTEN) root@Server:~# lsof -i :443 COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME python 3283 root 58u IPv4 56247 0t0 TCP HassServer:51164->fra15s11-in-f10.1e100.net:https (ESTABLISHED) python 3283 root 59u IPv4 60182 0t0 TCP HassServer:43772->ec2-54-77-241-118.eu-west-1.compute.amazonaws.com:https (ESTABLISHED) python 3283 root 62u IPv4 59486 0t0 TCP HassServer:49470->149.154.167.220:https (ESTABLISHED) docker-pr 3336 root 6u IPv4 60412 0t0 TCP 172.18.0.1:36690->172.18.0.2:https (ESTABLISHED) docker-pr 3336 root 11u IPv4 60416 0t0 TCP 172.18.0.1:36700->172.18.0.2:https (ESTABLISHED) root@Server:~# lsof -i :1443 COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME docker-pr 3791 root 4u IPv6 18087 0t0 TCP *:ies-lm (LISTEN) and this is the file /boot/config/ident.cfg # Generated settings: NAME="Server" timeZone="Asia/Jerusalem" COMMENT="VirtualL Server" SECURITY="user" WORKGROUP="WORKGROUP" DOMAIN="" DOMAIN_SHORT="" hideDotFiles="no" localMaster="yes" USE_NTP="yes" NTP_SERVER1="time1.google.com" NTP_SERVER2="time2.google.com" NTP_SERVER3="time3.google.com" NTP_SERVER4="time4.google.com" DOMAIN_LOGIN="Administrator" DOMAIN_PASSWD="" SYS_MODEL="Custom" SYS_ARRAY_SLOTS="4" SYS_CACHE_SLOTS="2" USE_SSL="auto" PORT="80" PORTSSL="443" LOCAL_TLD="local" BIND_MGT="no" USE_TELNET="no" PORTTELNET="23" USE_SSH="yes" PORTSSH="22" START_PAGE="Dashboard" the way my server is using SSL is Via letsencrypt (https://hub.docker.com/r/linuxserver/letsencrypt/ ) and my domain menage by CloudFlare Quote Link to comment
Shyrka973 Posted August 27, 2018 Share Posted August 27, 2018 Hi jbrodriguez, Your application is not available in french AppStore. Can you publish it in, please ? Thanks. Quote Link to comment
VirtualL Posted August 28, 2018 Share Posted August 28, 2018 hi , i manage to have it working my setting is : On Unraid/Settings/Identification - Use TLS/SSL = Auto I was open new user , and get into the GUI , and give the user all the permissions and i login in the app with the new user (not root) (p.s - its CRAZY confusing that the PASSWORD is of ROOT instead USER password- you must put some text to let the user to know it!) I got a Question: How to i see the log files in the app? Only if i am logged with ROOT is see LOGS tab, also the User Panel is very Slim VS Root panel Quote Link to comment
jbrodriguez Posted August 28, 2018 Author Share Posted August 28, 2018 28 minutes ago, VirtualL said: p.s - its CRAZY confusing that the PASSWORD is of ROOT instead USER password- you must put some text to let the user to know it! You're right, I need to add it in the FAQ. 28 minutes ago, VirtualL said: How to i see the log files in the app? Only if i am logged with ROOT is see LOGS tab, also the User Panel is very Slim VS Root panel It's deliberate, in non-root mode, you can only see DOCKERS/VMS, nothing else. I might considering adding LOGS, just not sure about it. So, you got it working by changing SSL settings to auto ? Or did you change some of the reverse proxy settings too ? Quote Link to comment
jbrodriguez Posted August 28, 2018 Author Share Posted August 28, 2018 17 hours ago, Shyrka973 said: Can you publish it in, please ? Hi, it's available https://itunes.apple.com/fr/app/controlr/id1152586217?ls=1&mt=8 Quote Link to comment
VirtualL Posted August 28, 2018 Share Posted August 28, 2018 11 minutes ago, jbrodriguez said: You're right, I need to add it in the FAQ. It's deliberate, in non-root mode, you can only see DOCKERS/VMS, nothing else. I might considering adding LOGS, just not sure about it. So, you got it working by changing SSL settings to auto ? Or did you change some of the reverse proxy settings too ? Hi , so how i will see the logs ? Even in root I don't see (like you see in the image) About the Way I managed it. I don't really know because I was making changes in Nginx and my Unraid Quote Link to comment
Shyrka973 Posted August 28, 2018 Share Posted August 28, 2018 4 hours ago, jbrodriguez said: Hi, it's available https://itunes.apple.com/fr/app/controlr/id1152586217?ls=1&mt=8 Thank you very much. Very useful your application. ? Everything is OK except the display of logs (ControlR plugin is installed and actived). Quote Link to comment
jbrodriguez Posted August 28, 2018 Author Share Posted August 28, 2018 6 hours ago, VirtualL said: Hi , so how i will see the logs ? Even in root I don't see (like you see in the image) 2 hours ago, Shyrka973 said: Everything is OK except the display of logs (ControlR plugin is installed and actived). Send me /boot/logs/controlr.log (pm if you prefer). But, in the simplest terms, the plugin looks at (tail -n 40) /var/log/syslog (system) /var/log/docker.log (docker) /var/log/libvirt/libvirtd.log (vms) for the server logs. Quote Link to comment
Shyrka973 Posted August 29, 2018 Share Posted August 29, 2018 9 hours ago, jbrodriguez said: Send me /boot/logs/controlr.log (pm if you prefer). But, in the simplest terms, the plugin looks at (tail -n 40) /var/log/syslog (system) /var/log/docker.log (docker) /var/log/libvirt/libvirtd.log (vms) for the server logs. Access rights on the logs: root@Tower:~# ls -l /var/log/syslog -rw-r--r-- 1 root root 228417 Aug 28 23:15 /var/log/syslog root@Tower:~# ls -l /var/log/docker.log -rw-rw-rw- 1 root root 0 Aug 28 03:22 /var/log/docker.log root@Tower:~# ls -l /var/log/libvirt/libvirtd.log -rw------- 1 root root 0 Aug 28 03:23 /var/log/libvirt/libvirtd.log controlR log: root@Tower:~# cat /boot/logs/controlr.log I: 2018/08/28 07:50:55 app.go:57: controlr v2.12.0-385-e4f90d2-v2018.07.14 starting ... I: 2018/08/28 07:50:55 app.go:65: No config file specified. Using app defaults ... I: 2018/08/28 07:50:55 core.go:73: starting service Core ... I: 2018/08/28 07:50:55 core.go:266: Created system sensor ... I: 2018/08/28 07:50:55 core.go:287: Created apc ups ... I: 2018/08/28 07:50:55 server.go:94: Starting service Server ... I: 2018/08/28 07:50:55 server.go:113: Serving files from /usr/local/emhttp/plugins/controlr I: 2018/08/28 07:50:55 server.go:173: Server started listening http on :2378 I: 2018/08/28 07:50:55 server.go:185: Server started listening https on :2379 I: 2018/08/28 07:50:55 api.go:46: Starting service Api ... I: 2018/08/28 07:50:55 api.go:90: Api started listening https on :2382 I: 2018/08/28 07:50:55 app.go:85: Press Ctrl+C to stop ... Quote Link to comment
jbrodriguez Posted August 29, 2018 Author Share Posted August 29, 2018 Shyrka973, Did you add the server via http ? Try adding it via https. Check out https://www.apertoire.com/faq/controlr/ ("I can't connect to my server" section), for more details. Quote Link to comment
Shyrka973 Posted August 29, 2018 Share Posted August 29, 2018 28 minutes ago, jbrodriguez said: Shyrka973, Did you add the server via http ? Try adding it via https. Check out https://www.apertoire.com/faq/controlr/ ("I can't connect to my server" section), for more details. I dont use SSL to connect to the server. Is there a debug mode ? 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.