@tgxworld Still not working, I did it in this way:
In my DockerHost:
cd /var/discourse/ ./launcher destroy MYSETUP cd rm -fr /var/discourse/ git clone https://github.com/discourse/discourse_docker.git /var/discourse mv MYSETUP.yml /var/discourse/containers/ cd /var/discourse/ ./launcher bootstrap MYSETUP ./launcher start MYSETUP
It doesn’ work, error at browser:
Unable to connect
Firefox can’t establish a connection to the server at discourse.MYSETUP.co.
The site could be temporarily unavailable or too busy. Try again in a few moments. If you are unable to load any pages, check your computer’s network connection. If your computer or network is protected by a firewall or proxy, make sure that Firefox is permitted to access the Web.
I’m sure I have the right file:
# grep staging templates/web.letsencrypt.ssl.template.yml #
If you want to verify this is the md5:
# md5sum templates/web.letsencrypt.ssl.template.yml 47b65d393a631b3a9ac1ef57c505f679 templates/web.letsencrypt.ssl.template.yml
Now why is not working? no certs at all:
# ./launcher logs MYSETUP | tail -1 nginx: [emerg] BIO_new_file("/shared/ssl/discourse.MYSETUP.co.cer") failed (SSL: error:02001002:system library:fopen:No such file or directory:fopen('/shared/ssl/discourse.MYSETUP.co.cer','r') error:2006D080:BIO routines:BIO_new_file:no such file) # ls shared/standalone/ssl/ dhparams.pem
I’m not developer but maybe is not what are you doing, maybe is when because before this change by executing both commands you have in the debug I got it working, I reproduce it 3 times with a post deploy script using both lines.