smdion Posted November 15, 2014 Author Share Posted November 15, 2014 Maybe put it back the way you had it and try a good ol clear cache/cookies? Nevermind, got it. When I changed webroot to "/status" I didn't have Proxypass in the proxy-config.conf set up with that. It's all working now, thanks! Awesome! Link to comment
NAS Posted November 16, 2014 Share Posted November 16, 2014 Something odd going on. With your template installed "https://github.com/smdion/docker-containers/tree/templates" i can see all the containers as options to install. However if i choose one it flashes briefly and then nothing. Anyone else seeing this? Link to comment
smdion Posted November 16, 2014 Author Share Posted November 16, 2014 Something odd going on. With your template installed "https://github.com/smdion/docker-containers/tree/templates" i can see all the containers as options to install. However if i choose one it flashes briefly and then nothing. Anyone else seeing this? I renamed the repo folder to clarify it from gfjardims after I installed everything. I have now removed the " ' " and the space. Can you go to /boot/config/dockerMan/templates and delete the folder "smdion's repo". Then press save below the template repositories. It should work after that. Link to comment
Bigmonty Posted November 16, 2014 Share Posted November 16, 2014 Anyone able to tell me where to find the debug.log file for Upsboard? I set the config file to 'debug' but under /appdata/upsboard/ directory there is only the config file no log? Thanks Link to comment
smdion Posted November 16, 2014 Author Share Posted November 16, 2014 Anyone able to tell me where to find the debug.log file for Upsboard? I set the config file to 'debug' but under /appdata/upsboard/ directory there is only the config file no log? Thanks If you click the "Up for X Minutes/Hours" on the Dockerman page, it will show you the log. Not a bad idea to output the log into the config folder.. I may play with that. Link to comment
Bigmonty Posted November 16, 2014 Share Posted November 16, 2014 If you click the "Up for X Minutes/Hours" on the Dockerman page, it will show you the log. Not a bad idea to output the log into the config folder.. I may play with that. Yep got it now. Thanks for the quick response. Link to comment
Bigmonty Posted November 16, 2014 Share Posted November 16, 2014 Well I have had a look through the log and still when I try to access the Upsboard container I get the "webpage not available error" Below is my debug log, any help appreciated. I have tried to disable as many features as possible just to try and get the webpage to load and was then going to add back the ones I wanted. Error: listen EADDRNOTAVAIL at errnoException (net.js:901:11) at Server._listen2 (net.js:1020:19) at listen (net.js:1061:10) at net.js:1143:9 at dns.js:72:18 at process._tickCallback (node.js:415:13) [36m2014-11-16 19:16:220[39m [32mINFO[39m [34mMAIN_APP[39m [36m::[39m [90mStarting up app in[39m [90munknown[39m [90menvironment.[39m [36m2014-11-16 19:16:226[39m [90mDEBUG[39m [34mCONFIG[39m [36m::[39m [90mLoading configuration data.[39m [36m2014-11-16 19:16:229[39m [90mDEBUG[39m [34mREQUIREMENTS[39m [36m::[39m [90mChecking to see if GraphicsMagick is present and meets minimum requirements.[39m [36m2014-11-16 19:16:230[39m [90mDEBUG[39m [34mREQUIREMENTS[39m [36m::[39m [90mRunnging this command: [39m [90mgm -version[39m [36m2014-11-16 19:16:240[39m [31mERROR[39m [34mREQUIREMENTS[39m [36m::[39m [90mGraphicsMagick was not detected on the machine. We are not going to use GraphicsMagick to resize images. This will cause full size images being sent to the user's browser.[39m [36m2014-11-16 19:16:240[39m [32mINFO[39m [34mREQUIREMENTS[39m [36m::[39m [32mAll requirement checks have passed![39m [36m2014-11-16 19:16:241[39m [32mINFO[39m [34mCONFIG[39m [36m::[39m [32mValidated general configuration[39m [36m2014-11-16 19:16:241[39m [90mDEBUG[39m [34mCONFIG[39m [36m::[39m [90mChecking to see if salt has been generated.[39m [36m2014-11-16 19:16:242[39m [90mDEBUG[39m [34mCONFIG[39m [36m::[39m [90mSalt is present, moving on![39m [36m2014-11-16 19:16:242[39m [90mDEBUG[39m [34mCONFIG[39m [36m::[39m [90mChecking to see if password is present and encrypted.[39m [36m2014-11-16 19:16:243[39m [90mDEBUG[39m [34mCONFIG[39m [36m::[39m [90mPresent and encrypted, moving on![39m [36m2014-11-16 19:16:244[39m [32mINFO[39m [34mCONFIG[39m [36m::[39m [32mValidated memory servers configuration.[39m [36m2014-11-16 19:16:246[39m [32mINFO[39m [34mCONFIG[39m [36m::[39m [32mValidated configuration for your drives.[39m [36m2014-11-16 19:16:247[39m [32mINFO[39m [34mCONFIG[39m [36m::[39m [32mValidated bandwidth servers configuration.[39m [36m2014-11-16 19:16:247[39m [32mINFO[39m [34mCONFIG[39m [36m::[39m [32mValidated monitoring services configuration[39m [36m2014-11-16 19:16:248[39m [90mDEBUG[39m [34mCONFIG[39m [36m::[39m [90mSABnzbd[39m [90mis disabled, moving on![39m [36m2014-11-16 19:16:249[39m [90mDEBUG[39m [34mCONFIG[39m [36m::[39m [90mSick Beard is disabled, moving on![39m [36m2014-11-16 19:16:250[39m [90mDEBUG[39m [34mCONFIG[39m [36m::[39m [90mGetting plex token for myPlex.[39m [36m2014-11-16 19:16:255[39m [90mDEBUG[39m [34mCONFIG[39m [36m::[39m [90mDoes Plex cache folder exist? true[39m [36m2014-11-16 19:16:215[39m [90mDEBUG[39m [34mCONFIG[39m [36m::[39m [90mSending a ping to the plex media server.[39m [36m2014-11-16 19:16:222[39m [90mDEBUG[39m [34mCONFIG[39m [36m::[39m [90mChecking to see if th tv section id is proper - 1[39m [36m2014-11-16 19:16:302[39m [90mDEBUG[39m [34mCONFIG[39m [36m::[39m [90mChecking to see if th movie section id is proper - 2[39m [36m2014-11-16 19:16:415[39m [32mINFO[39m [34mCONFIG[39m [36m::[39m [32mValidated Plex configuration[39m [36m2014-11-16 19:16:416[39m [90mDEBUG[39m [34mCONFIG[39m [36m::[39m [90mNo Forecase.io api key present. Weather module is disabled.[39m [36m2014-11-16 19:16:416[39m [32mINFO[39m [34mCONFIG[39m [36m::[39m [32mGood to launch! All configuration has been validated and tested![39m [36m2014-11-16 19:16:418[39m [90mDEBUG[39m [34mUPDATER[39m [36m::[39m [90mChecking if we can use git commands:[39m [90mgit[39m [33mversion[39m [36m2014-11-16 19:16:418[39m [90mDEBUG[39m [34mUPDATER[39m [36m::[39m [90mExecuting[39m [33mgit version[39m [90mwith your shell in[39m [33m/opt/UpsBoard-0.2.1[39m events.js:72 throw er; // Unhandled 'error' event Link to comment
NAS Posted November 17, 2014 Share Posted November 17, 2014 Something odd going on. With your template installed "https://github.com/smdion/docker-containers/tree/templates" i can see all the containers as options to install. However if i choose one it flashes briefly and then nothing. Anyone else seeing this? I renamed the repo folder to clarify it from gfjardims after I installed everything. I have now removed the " ' " and the space. Can you go to /boot/config/dockerMan/templates and delete the folder "smdion's repo". Then press save below the template repositories. It should work after that. Essentially that seems to have worked although the path was "/boot/config/plugins/dockerMan/templates". Curiously I end up with two folders "smdion" and "smdion-repo" after doing this even if i delete them both. Link to comment
smdion Posted November 17, 2014 Author Share Posted November 17, 2014 Something odd going on. With your template installed "https://github.com/smdion/docker-containers/tree/templates" i can see all the containers as options to install. However if i choose one it flashes briefly and then nothing. Anyone else seeing this? I renamed the repo folder to clarify it from gfjardims after I installed everything. I have now removed the " ' " and the space. Can you go to /boot/config/dockerMan/templates and delete the folder "smdion's repo". Then press save below the template repositories. It should work after that. Essentially that seems to have worked although the path was "/boot/config/plugins/dockerMan/templates". Curiously I end up with two folders "smdion" and "smdion-repo" after doing this even if i delete them both. Ooops.. me with a typo again. You are correct about it being in plugins. The "smdion" comes from gfjardim repo. I could as him to remove mine. Link to comment
smdion Posted November 17, 2014 Author Share Posted November 17, 2014 Well I have had a look through the log and still when I try to access the Upsboard container I get the "webpage not available error" Below is my debug log, any help appreciated. I have tried to disable as many features as possible just to try and get the webpage to load and was then going to add back the ones I wanted. Error: listen EADDRNOTAVAIL at errnoException (net.js:901:11) at Server._listen2 (net.js:1020:19) at listen (net.js:1061:10) at net.js:1143:9 at dns.js:72:18 at process._tickCallback (node.js:415:13) [36m2014-11-16 19:16:220[39m [32mINFO[39m [34mMAIN_APP[39m [36m::[39m [90mStarting up app in[39m [90munknown[39m [90menvironment.[39m [36m2014-11-16 19:16:226[39m [90mDEBUG[39m [34mCONFIG[39m [36m::[39m [90mLoading configuration data.[39m [36m2014-11-16 19:16:229[39m [90mDEBUG[39m [34mREQUIREMENTS[39m [36m::[39m [90mChecking to see if GraphicsMagick is present and meets minimum requirements.[39m [36m2014-11-16 19:16:230[39m [90mDEBUG[39m [34mREQUIREMENTS[39m [36m::[39m [90mRunnging this command: [39m [90mgm -version[39m [36m2014-11-16 19:16:240[39m [31mERROR[39m [34mREQUIREMENTS[39m [36m::[39m [90mGraphicsMagick was not detected on the machine. We are not going to use GraphicsMagick to resize images. This will cause full size images being sent to the user's browser.[39m [36m2014-11-16 19:16:240[39m [32mINFO[39m [34mREQUIREMENTS[39m [36m::[39m [32mAll requirement checks have passed![39m [36m2014-11-16 19:16:241[39m [32mINFO[39m [34mCONFIG[39m [36m::[39m [32mValidated general configuration[39m [36m2014-11-16 19:16:241[39m [90mDEBUG[39m [34mCONFIG[39m [36m::[39m [90mChecking to see if salt has been generated.[39m [36m2014-11-16 19:16:242[39m [90mDEBUG[39m [34mCONFIG[39m [36m::[39m [90mSalt is present, moving on![39m [36m2014-11-16 19:16:242[39m [90mDEBUG[39m [34mCONFIG[39m [36m::[39m [90mChecking to see if password is present and encrypted.[39m [36m2014-11-16 19:16:243[39m [90mDEBUG[39m [34mCONFIG[39m [36m::[39m [90mPresent and encrypted, moving on![39m [36m2014-11-16 19:16:244[39m [32mINFO[39m [34mCONFIG[39m [36m::[39m [32mValidated memory servers configuration.[39m [36m2014-11-16 19:16:246[39m [32mINFO[39m [34mCONFIG[39m [36m::[39m [32mValidated configuration for your drives.[39m [36m2014-11-16 19:16:247[39m [32mINFO[39m [34mCONFIG[39m [36m::[39m [32mValidated bandwidth servers configuration.[39m [36m2014-11-16 19:16:247[39m [32mINFO[39m [34mCONFIG[39m [36m::[39m [32mValidated monitoring services configuration[39m [36m2014-11-16 19:16:248[39m [90mDEBUG[39m [34mCONFIG[39m [36m::[39m [90mSABnzbd[39m [90mis disabled, moving on![39m [36m2014-11-16 19:16:249[39m [90mDEBUG[39m [34mCONFIG[39m [36m::[39m [90mSick Beard is disabled, moving on![39m [36m2014-11-16 19:16:250[39m [90mDEBUG[39m [34mCONFIG[39m [36m::[39m [90mGetting plex token for myPlex.[39m [36m2014-11-16 19:16:255[39m [90mDEBUG[39m [34mCONFIG[39m [36m::[39m [90mDoes Plex cache folder exist? true[39m [36m2014-11-16 19:16:215[39m [90mDEBUG[39m [34mCONFIG[39m [36m::[39m [90mSending a ping to the plex media server.[39m [36m2014-11-16 19:16:222[39m [90mDEBUG[39m [34mCONFIG[39m [36m::[39m [90mChecking to see if th tv section id is proper - 1[39m [36m2014-11-16 19:16:302[39m [90mDEBUG[39m [34mCONFIG[39m [36m::[39m [90mChecking to see if th movie section id is proper - 2[39m [36m2014-11-16 19:16:415[39m [32mINFO[39m [34mCONFIG[39m [36m::[39m [32mValidated Plex configuration[39m [36m2014-11-16 19:16:416[39m [90mDEBUG[39m [34mCONFIG[39m [36m::[39m [90mNo Forecase.io api key present. Weather module is disabled.[39m [36m2014-11-16 19:16:416[39m [32mINFO[39m [34mCONFIG[39m [36m::[39m [32mGood to launch! All configuration has been validated and tested![39m [36m2014-11-16 19:16:418[39m [90mDEBUG[39m [34mUPDATER[39m [36m::[39m [90mChecking if we can use git commands:[39m [90mgit[39m [33mversion[39m [36m2014-11-16 19:16:418[39m [90mDEBUG[39m [34mUPDATER[39m [36m::[39m [90mExecuting[39m [33mgit version[39m [90mwith your shell in[39m [33m/opt/UpsBoard-0.2.1[39m events.js:72 throw er; // Unhandled 'error' event What is your "host": "0.0.0.0", "port": 8024, set to? Link to comment
smdion Posted November 18, 2014 Author Share Posted November 18, 2014 Anyone able to tell me where to find the debug.log file for Upsboard? I set the config file to 'debug' but under /appdata/upsboard/ directory there is only the config file no log? Thanks If you click the "Up for X Minutes/Hours" on the Dockerman page, it will show you the log. Not a bad idea to output the log into the config folder.. I may play with that. Update to UpStatsBoard docker. Can now choose location for logs. Also added GraphicsMagick Link to comment
NAS Posted November 19, 2014 Share Posted November 19, 2014 Something odd going on. With your template installed "https://github.com/smdion/docker-containers/tree/templates" i can see all the containers as options to install. However if i choose one it flashes briefly and then nothing. Anyone else seeing this? I renamed the repo folder to clarify it from gfjardims after I installed everything. I have now removed the " ' " and the space. Can you go to /boot/config/dockerMan/templates and delete the folder "smdion's repo". Then press save below the template repositories. It should work after that. Essentially that seems to have worked although the path was "/boot/config/plugins/dockerMan/templates". Curiously I end up with two folders "smdion" and "smdion-repo" after doing this even if i delete them both. Ooops.. me with a typo again. You are correct about it being in plugins. The "smdion" comes from gfjardim repo. I could as him to remove mine. I think it would make sense to have "smdion" removed from the gfjardim repo and make that your naming. I know it will be a pain but it standardizes things once and for all. Nice work btw Link to comment
dalben Posted November 19, 2014 Share Posted November 19, 2014 I think it would make sense to have "smdion" removed from the gfjardim repo and make that your naming. I know it will be a pain but it standardizes things once and for all. Agree, it's pretty easy to add a repository in the Docker Manager. In fact, maybe release it with no entries and possible have a check box when you want to add some that link to the repositories. Maybe "unsupported" needs to be distributed. Dunno. But I know I have two smidions now. Link to comment
smdion Posted November 19, 2014 Author Share Posted November 19, 2014 I think it would make sense to have "smdion" removed from the gfjardim repo and make that your naming. I know it will be a pain but it standardizes things once and for all. Agree, it's pretty easy to add a repository in the Docker Manager. In fact, maybe release it with no entries and possible have a check box when you want to add some that link to the repositories. Maybe "unsupported" needs to be distributed. Dunno. But I know I have two smidions now. I sent a PM asking to have it removed Link to comment
eroz Posted November 22, 2014 Share Posted November 22, 2014 Having a little trouble setting up the reverse proxy. I already got a domain registered (Go Daddy) and linked with the ddclient docker (freedns). But not sure now on setting up the reverse proxy. So many examples on-line and they are all different. Before I secure it with SSL certificates I wanted to get it running on port 80. Here is what I try setting the proxy-config.conf to <VirtualHost *:80> ServerName www.mydomain.com ServerAlias mydomain.com ServerAdmin webmaster@localhost DocumentRoot /var/www <Location /sab> order deny,allow deny from all allow from all ProxyPass 192.168.1.5:8090/sab ProxyPassReverse 192.168.1.5:8090/sab </Location> </VirtualHost> My actual registered domain is replaced with mydomain.com webmaster@localhost, I assume is supposed to be my email address?? Not sure what is DocumentRoot supposed to be. I notice that the docker /web folder that I linked to when creating the docker is empty. Any help? Link to comment
BRiT Posted November 22, 2014 Share Posted November 22, 2014 The ServerAdmin should be a valid email address but it won't matter if it isn't legit at all. It's not truely used. The document root needs to point to the directory of where you have your web pages at. It might not matter at all if you're not hosting any actual content. I don't know why you deny all and then allow all, that could be your issue. Link to comment
eroz Posted November 22, 2014 Share Posted November 22, 2014 I included since a lot of examples online had that. Even the wiki on sabnzbd had it. http://wiki.sabnzbd.org/howto-apache I removed it and restarted the reverse-proxy docker but still no luck. Link to comment
eroz Posted November 24, 2014 Share Posted November 24, 2014 I included since a lot of examples online had that. Even the wiki on sabnzbd had it. http://wiki.sabnzbd.org/howto-apache I removed it and restarted the reverse-proxy docker but still no luck. Kept playing around with it yesterday and ending up broadcasting my router on the domain name. When typing www.mydomainname.com or www.mydomainname.com/sabnzbd kept taking me to my router log on page. But if I just typed 192.168.1.5/sabnzbd, that would take me to sabnzbd log in page. Not sure what I need to change, possibly something in ddclient, to get the www.mydomainname.com to link to 192.168.1.5 and not the router on 192.168.1.1. Link to comment
smdion Posted November 24, 2014 Author Share Posted November 24, 2014 I included since a lot of examples online had that. Even the wiki on sabnzbd had it. http://wiki.sabnzbd.org/howto-apache I removed it and restarted the reverse-proxy docker but still no luck. Kept playing around with it yesterday and ending up broadcasting my router on the domain name. When typing www.mydomainname.com or www.mydomainname.com/sabnzbd kept taking me to my router log on page. But if I just typed 192.168.1.5/sabnzbd, that would take me to sabnzbd log in page. Not sure what I need to change, possibly something in ddclient, to get the www.mydomainname.com to link to 192.168.1.5 and not the router on 192.168.1.1. Are you forwarding port 80 in your router to .5? Link to comment
eroz Posted November 24, 2014 Share Posted November 24, 2014 Are you forwarding port 80 in your router to .5? Nope.....reading up on it, looks like I forgot that little step. But I was worried I screwed something up last night that I had deleted the domain name from freedns. I tried re-adding it again but now my domain name is not reachable. Not sure how long it takes for it be hosted again. Link to comment
eroz Posted November 24, 2014 Share Posted November 24, 2014 Awesome!!! Got it (reverse-proxy) working. I didn't realize the whole getting a domain name, registering it and having a DNS service took some time and is not instantaneous. Link to comment
eroz Posted November 25, 2014 Share Posted November 25, 2014 Tried setting up the reverse proxy to use https & SSL. I created a SSL .cert, .key and a .pfk file from StartSSL. I converted the .pfk to a .pem file like your example configuration but so far its not working. I also tried port forwarding 443 on my router. But navigating to http://www.MyDomain.com or https://www.MyDomain.com is giving a "This webpage is not available". Any tips or things I'm not doing correctly? Link to comment
smdion Posted November 25, 2014 Author Share Posted November 25, 2014 Tried setting up the reverse proxy to use https & SSL. I created a SSL .cert, .key and a .pfk file from StartSSL. I converted the .pfk to a .pem file like your example configuration but so far its not working. I also tried port forwarding 443 on my router. But navigating to http://www.MyDomain.com or https://www.MyDomain.com is giving a "This webpage is not available". Any tips or things I'm not doing correctly? Are you listening on port 443 in your config? Upload your config if you could Link to comment
eroz Posted November 25, 2014 Share Posted November 25, 2014 Tried setting up the reverse proxy to use https & SSL. I created a SSL .cert, .key and a .pfk file from StartSSL. I converted the .pfk to a .pem file like your example configuration but so far its not working. I also tried port forwarding 443 on my router. But navigating to http://www.MyDomain.com or https://www.MyDomain.com is giving a "This webpage is not available". Any tips or things I'm not doing correctly? Are you listening on port 443 in your config? Upload your config if you could And here is my proxy-config.conf <VirtualHost *:443> ServerName www.MyDomain.com ServerAlias MyDomain.com ServerAdmin webmaster@localhost DocumentRoot /var/www SSLEngine on SSLProtocol all -SSLv2 SSLCipherSuite ALL:!ADH:!EXPORT:!SSLv2:RC4+RSA:+HIGH:+MEDIUM SSLCertificateFile /config/ssl/ssl.crt SSLCertificateKeyFile /config/ssl/private-decrypt-ssl.key SSLCertificateChainFile /config/ssl/certificate-ssl.pem <Location /couchpotato> ProxyPass http://192.168.1.5:5050/couchpotato ProxyPassReverse http://192.168.1.5:5050/couchpotato AuthUserFile /config/.htpasswd AuthType Basic AuthName "CouchPotato - Proxy" Require user robert </Location> <Location /sonarr> ProxyPass http://192.168.1.5:8989/sonarr ProxyPassReverse http://192.168.1.5:8989/sonarr AuthUserFile /config/.htpasswd AuthType Basic AuthName "NZBDrone - Proxy" Require user robert </Location> <Location /sabnzbd> ProxyPass http://192.168.1.5:8090/sabnzbd ProxyPassReverse http://192.168.1.5:8090/sabnzbd AuthUserFile /config/.htpasswd AuthType Basic AuthName "Sabnzbd - Proxy" Require user robert </Location> </VirtualHost> <VirtualHost *:80> ServerName www.MyDomain.com ServerAlias MyDomain.com ServerAdmin webmaster@localhost DocumentRoot /var/www </VirtualHost> Link to comment
jonp Posted November 26, 2014 Share Posted November 26, 2014 smdion, great work on these containers. I will sticky this thread for easier accessibility! Link to comment
Recommended Posts