I’ve seen this twice about a month ago, and just had it again when I was setting up a brand new forum using the guided discourse-setup
wizard.
- I started a new digital ocean droplet running ubuntu 16
- I ran the git + docker setup command.
- I ran
apt-get upgrade
- I made
/var/discourse
- I cloned in the repo & started
./discourse-setup
- I entered in proper values for admin email, letsencrypt email, smtp host, username, port, and password.
- I let it rebuild and came back the next morning.
- the site wouldn’t come up so I restarted the ubuntu host
- the site came up, I registered my user, but did not get an email.
- when I checked the logs I saw the problem I’m reporting:
many repeated logs for:
nginx: [emerg] BIO_new_file("/shared/ssl/share.MYDOMAINNAME.com.cer") failed (SSL: error:02001002:system library:fopen:No such file or directory:fopen('/shared/ssl/share.MYDOMAINNAME.com.cer','r') error:2006D080:BIO routines:BIO_new_file:no such file)
nginx: [emerg] BIO_new_file("/shared/ssl/share.MYDOMAINNAME.com.cer") failed (SSL: error:02001002:system library:fopen:No such file or directory:fopen('/shared/ssl/share.MYDOMAINNAME.com.cer','r') error:2006D080:BIO routines:BIO_new_file:no such file)
History tells me that if I rebuild the container the error will go away (I assume a symlink is missing, but don’t quite know just why the certificate can’t be found there.