Discourse Forum Setup
Revision as of 03:00, 22 November 2020 by RobertBushman (talk | contribs) (Undo revision 329 by RobertBushman (talk))
- Pick domain for trial (probably bobbushman.com)
- Correction - using experiencemaking.com since email is already set up
- Setup email for domain
- AWS Mail
- Cheating - Experiencemaking.com is already set up. :D
- DNS registry setup
- Cheating - Experiencemaking.com is already set up. :D
- Admin account for Let's Encrypt cert
- created forum.admin@experiencemaking.com
- AWS Mail
- Create Lightsail node
- Created a $5 node.
- Assigned static IP: 44.238.32.225
- opened port 443 (HTTPS) through firewall
- DNS registry for forum.experiencemaking.com
- done
- Login successful. It's alive!
- Apt Update
- sudo apt update
- sudo apt dist-upgrade -y
- sudo reboot # if needed
- Install Extras
- sudo apt install git
- sudo apt install netcat
- Install Discourse
- https://github.com/discourse/discourse/blob/master/docs/INSTALL-cloud.md
- $ sudo -s
- $ git clone https://github.com/discourse/discourse_docker.git /var/discourse
- $ cd /var/discourse
- Going to take a stab at doing this without SPF. I've already got DKIM, and Amazon SES does ses.amazon.com SPF. We'll see. Easy enough to try again.
- $ ./discourse-setup
- Hostname : forum.experiencemaking.com
- Email : forum.admin@experiencemaking.com
- SMTP address : smtp.mail.us-west-2.awsapps.com
- SMTP port : 465
- SMTP username : discourse.admin@experiencemaking.com
- SMTP password : password1.no.really.I.used.password1.haha.entertainment
- Let's Encrypt : forum.admin@experiencemaking.com
- Register Admin Account
- Twice as entertaining
- Troubles with email
- Tried SES and Workmail endpoints, STARTTLS and SSL/TLS, 587 and 465, bob and discourse.admin, telnet confirmed connectivity, sent email using Thunderbird. No dice with Discourse.
- I think the next step is to set up a local SMTP server that forwards to Workmail
- https://meta.discourse.org/t/net-readtimeout-when-sending-email-after-install/56856
- https://meta.discourse.org/t/not-able-to-send-email-net-readtimeout/98419/15
- ------------------
- Set ports (at some point)
- Install Docker
Appendix: AWS SMTP Test Settings
One
DISCOURSE_SMTP_ADDRESS: email-smtp.us-west-2.amazonaws.com DISCOURSE_SMTP_PORT: 587 DISCOURSE_SMTP_USER_NAME: bob@experiencemaking.com DISCOURSE_SMTP_PASSWORD: "Password" DISCOURSE_SMTP_AUTHENTICATION: "login" DISCOURSE_SMTP_ENABLE_START_TLS: true
DISCOURSE_HOSTNAME=forum.experiencemaking.com SMTP_ADDRESS=email-smtp.us-west-2.amazonaws.com DEVELOPER_EMAILS=bob@experiencemaking.com SMTP_PASSWORD=Password SMTP_PORT=587 SMTP_USER_NAME=bob@experiencemaking.com LETSENCRYPT_ACCOUNT_EMAIL=forum.admin@experiencemaking.com