The user, 007, is experiencing issues with their Discourse installation not loading after installation on Amazon Linux 2 on AWS. They had previously installed Discourse successfully but encountered issues after rebuilding the server. The user attempted troubleshooting steps provided by pfaffman and Stephen, including checking container status, DNS settings, and log files.
The issue was identified as a certificate problem, with an error message indicating that the container is unable to load the certificate. pfaffman advised the user to obtain a certificate through Let’s Encrypt or install their own certificate. However, the user encountered a 10 certificate per week limit with Let’s Encrypt.
The user is now considering installing their own certificate, as suggested by pfaffman. A possible solution is to configure the app.yml file to point to the correct certificate location, as the user’s certificate is located in a different directory (/shared/standalone/ssl/) than where Discourse is looking for it (/shared/ssl/).
I know enough to be dangerous when sitting in front of an open SSH session. I went through the installation just fine the other day and it worked.
Today, however, I had to rebuild (I’ve been on a development server, not production) and after going through the same steps, nothing comes up after running ./discourse-setup and going to the website after the installation was complete.
I’ve also run ./launcher start app and still nothing.
What are some typical things I should do to troubleshoot the install?
Nope, installation seems to have been successful. When I check docker info I’m seeing that the container is running as well.
I’m running Amazon Linux 2 on AWS and this worked the other day on this same OS. CloudFlare is used for DNS only for this domain.
Here’s the exact order of what I did. Git, docker, and ncat were installed via amazon-linux-extras as prompted during the install (but this shouldn’t be an issue since I had a working dev forum the other day).
I didn’t go through the certificate process with Let’s Encrypt because I already have a certificate for this domain. Do I still need to do Let’s Encrypt as well?
You can search for and find the instructions for installing your own certificate, that say that it’s a huge pain, or you can get one for free and zero trouble by allowing Let’s Encrypt to get it for you.
Actually, I take that back. Chrome loaded the window in a mode where it showed the last successful page load but an incognito refresh shows it’s still not working. Total fail on my part.
Is there a link to how to get the Let’s Encrypt certificate set up? I need to review what I did (or didn’t do).
Just run discourse-setup. When it asks about let’s encrypt, give it any email address, or your own if you want to get an email if they think you need to renew.
So, it looks like I’m up against a 10 certificate in a week limit with Let’s Encrypt. I guess that explains part of why I can’t continue past this step.