ColonelRhodes Posted April 26, 2016 Share Posted April 26, 2016 Just added this docker with default settings (and advanced settings). The docker will not start. Also, there are no logs that have been recorder. I attempt to start and it stops immediately. Any suggestions? Can you post a screenshot with your settings? Does it let you hit create and actuator create the container? Yes it allows me to create the container. Here are my settings, not listed are advanced. Quote Link to comment
aptalca Posted April 26, 2016 Share Posted April 26, 2016 Just added this docker with default settings (and advanced settings). The docker will not start. Also, there are no logs that have been recorder. I attempt to start and it stops immediately. Any suggestions? Can you post a screenshot with your settings? Does it let you hit create and actuator create the container? Yes it allows me to create the container. Here are my settings, not listed are advanced. Man, you're not giving me much to go on. Did you enter your email address, the url, the subdomains? Are they in the proper format? Did you click on the log button in the gui? Is it absolutely empty? Are there any local files or folders created in the config folder? Quote Link to comment
ColonelRhodes Posted April 27, 2016 Share Posted April 27, 2016 I know, I was on my phone when it was requested. There are ZERO logs after attempting to start the docker and ZERO config files. Email address, domains, and subdomains are all entered under advanced settings as well, the format I would assume to be natural according to https://hub.docker.com/r/aptalca/nginx-letsencrypt/ Quote Link to comment
Squid Posted April 27, 2016 Share Posted April 27, 2016 Yes it allows me to create the container. More important than a screenshot of your settings, is a screen shot of what appears after you hit create. At the bottom of the screen it probably says "The command finished successfully", but in cases where the docker app doesn't start there may be a subtle error message returned by the docker run command. If you don't want to post the screenshot due to email addresses, etc then as a quick sanity check (and to save everyone a ton of time), go to plugins-check for updates, and if there is a dynamix webGUI update available, install it. Quote Link to comment
ColonelRhodes Posted April 27, 2016 Share Posted April 27, 2016 This issue was actually caused by something in the screenshot. I was attempting to change the container port of the port 80 host. Dumb mistake on my part. Quote Link to comment
pinion Posted April 28, 2016 Share Posted April 28, 2016 Is it possible to have multiple domains and subdomains without them conflicting? For isntance, I want music.domainb.com and reader.domaina.com but not reader.domainb.com. Would it make more sense to configure this container with no domains or subdomains and then exec into it and configure it manually? Or would that break any of the other stuff? Quote Link to comment
aptalca Posted April 28, 2016 Share Posted April 28, 2016 Is it possible to have multiple domains and subdomains without them conflicting? For isntance, I want music.domainb.com and reader.domaina.com but not reader.domainb.com. My implementation currently only works with one domain and multiple potential subdomains all on the same cert. Would it make more sense to configure this container with no domains or subdomains and then exec into it and configure it manually? Or would that break any of the other stuff? Without a domain or subdomain, nginx webserver doesn't even start (template refers to certs and if they don't exist it errors out) It would make more sense to install the basic nginx container and add letsencrypt to it manually. This container is really for folks who want to easily and seamlessly set up a basic webserver on their unraid box so they can access their container guis and other web services securely. For that basic need, all you have to do is enter your domain and your email address and you're good to go. If you need more than that, you're better off setting letsencrypt up yourself and you can customize it to death Quote Link to comment
ColonelRhodes Posted April 28, 2016 Share Posted April 28, 2016 This might be a dumb question, but how do I point a docker like CouchPotato to use the SSL cert generated by the LetsEncrypt docker? /config/etc/letsencrypt/live/[my domain]/cert.pem? Quote Link to comment
aptalca Posted April 28, 2016 Share Posted April 28, 2016 This might be a dumb question, but how do I point a docker like CouchPotato to use the SSL cert generated by the LetsEncrypt docker? /config/etc/letsencrypt/live/[my domain]/cert.pem? You can map that folder in the cp container and then point to it Quote Link to comment
In0cenT Posted April 28, 2016 Share Posted April 28, 2016 Hello aptalca When accesing the domain depending on the browser it gets directed to the unRAID interface and not the wanted standard site. Could you help me out with that? Quote Link to comment
aptalca Posted April 28, 2016 Share Posted April 28, 2016 Hello aptalca When accesing the domain depending on the browser it gets directed to the unRAID interface and not the wanted standard site. Could you help me out with that? I can try, but I don't know where to start. You'll have to do most of the troubleshooting. Quote Link to comment
roland Posted April 30, 2016 Share Posted April 30, 2016 Hi aptalca, can I suggest to add this thread as the support thread in CA for your docker? Or link to it from your main support thread. Would make it much easier to get here. Thanks for all the great work. Quote Link to comment
aptalca Posted April 30, 2016 Share Posted April 30, 2016 Hi aptalca, can I suggest to add this thread as the support thread in CA for your docker? Or link to it from your main support thread. Would make it much easier to get here. Thanks for all the great work. I prefer keeping the other thread as the main support thread, but I realize this thread has a lot of specific info on this container. I thought I had added a link to here in the other thread but I guess I did not. Thanks for letting me know. I'll add links in the other thread as well as in the container description. Thanks Quote Link to comment
Jens_Andersson Posted May 10, 2016 Share Posted May 10, 2016 Thanks for this awesome docker. Is it possible to link it with a mariadb docker so i could run something like wordpress in it and how would i do that. also is it possible to have it host multiple domains and get ssl certificates for them? Quote Link to comment
aptalca Posted May 10, 2016 Share Posted May 10, 2016 Thanks for this awesome docker. Is it possible to link it with a mariadb docker so i could run something like wordpress in it and how would i do that. also is it possible to have it host multiple domains and get ssl certificates for them? You can set up wordpress with a remote mysql database: https://www.digitalocean.com/community/tutorials/how-to-set-up-a-remote-database-to-optimize-site-performance-with-mysql Just enter your server ip and port for your mariadb container and it will work. Unfortunately this container is for a single domain with multiple potential subdomains. The restriction is due to how letsencrypt stores the certificates, which gets complicated with multiple domains. It's on my to do list as a new feature but no clear timeline yet Quote Link to comment
In0cenT Posted May 20, 2016 Share Posted May 20, 2016 Hello aptalca When accesing the domain depending on the browser it gets directed to the unRAID interface and not the wanted standard site. Could you help me out with that? I can try, but I don't know where to start. You'll have to do most of the troubleshooting. Thanks for your help, this is a config which will usually direct to http: http://pastebin.com/rxhiqwHc For some reason it still goes to port 80 and will try to open the unraid interface. Quote Link to comment
aptalca Posted May 20, 2016 Share Posted May 20, 2016 Hello aptalca When accesing the domain depending on the browser it gets directed to the unRAID interface and not the wanted standard site. Could you help me out with that? I can try, but I don't know where to start. You'll have to do most of the troubleshooting. Thanks for your help, this is a config which will usually direct to http: http://pastebin.com/rxhiqwHc For some reason it still goes to port 80 and will try to open the unraid interface. If it's opening the unraid interface then you have the forwarding on your router set up incorrectly. On your router, forward outside port 80 to port 85 on your unraid ip. In this container's settings, map container port 80 to host port 85 That way a request coming from the Internet on port 80 will be sent to port 85 on your unraid server by your router, and unraid docker service will forward that request on port 85 to port 80 in your container. Then the nginx config should redirect it to 443 It sounds like right now outside requests to port 80 get forwarded to port 80 on your unraid server and they are reaching the unraid web gui Quote Link to comment
In0cenT Posted May 20, 2016 Share Posted May 20, 2016 Dont know how I managed to keep the port redirecting it to 80... You were right and it's working like a charm now! Thanks! Quote Link to comment
wreave Posted May 29, 2016 Share Posted May 29, 2016 I have an odd issue where the cert for all my subdomains are identifying as being issued to one of the subdomains. For example: sub1.domain.com sub2.domain.com sub3.domain.com When I view the cert in Chrome for all these of these URLs it says it is issued to sub1.domain.com. Did I configure something wrong in the config? It all appears to be working I just expected each cert to have been issued to the specific subdoamin. Thanks for any insight. Quote Link to comment
aptalca Posted May 29, 2016 Share Posted May 29, 2016 I have an odd issue where the cert for all my subdomains are identifying as being issued to one of the subdomains. For example: sub1.domain.com sub2.domain.com sub3.domain.com When I view the cert in Chrome for all these of these URLs it says it is issued to sub1.domain.com. Did I configure something wrong in the config? It all appears to be working I just expected each cert to have been issued to the specific subdoamin. Thanks for any insight. How did you create a cert with multiple subdomains and no main domain? This container does not allow that. There should be one cert for the domain and all subdomains. In Chrome while viewing the certificate you can click on the details and look at the aliases; you should see all the sub/domains listed Quote Link to comment
wreave Posted May 29, 2016 Share Posted May 29, 2016 I have an odd issue where the cert for all my subdomains are identifying as being issued to one of the subdomains. For example: sub1.domain.com sub2.domain.com sub3.domain.com When I view the cert in Chrome for all these of these URLs it says it is issued to sub1.domain.com. Did I configure something wrong in the config? It all appears to be working I just expected each cert to have been issued to the specific subdoamin. Thanks for any insight. How did you create a cert with multiple subdomains and no main domain? This container does not allow that. There should be one cert for the domain and all subdomains. In Chrome while viewing the certificate you can click on the details and look at the aliases; you should see all the sub/domains listed I did specify a main domain, however I do not see anything about alias' under the cert details tab. Quote Link to comment
aptalca Posted May 29, 2016 Share Posted May 29, 2016 They are called subject alternative names Attached is a screenshot from Yahoo's cert Quote Link to comment
wreave Posted May 30, 2016 Share Posted May 30, 2016 Okay I do see those it just seems to be using subdomain.domain.com as the main one. It seems to be working I suppose just seemed odd. Quote Link to comment
aptalca Posted May 30, 2016 Share Posted May 30, 2016 What do you mean by using as the main one? Can you post a screenshot? Quote Link to comment
wreave Posted May 30, 2016 Share Posted May 30, 2016 Sure thing, I've gone ahead and attached 2 screenshots. This is on my plexpy.domain.com, however it shows it as owncloud.domain.com. All of the blacked out domains are something.domain.com, but for each of those links it just shows owncloud.domain.com on the main cert details. 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.