Crossed 50k pageviews per month on Discourse


Just found out a post is limited to 32000 characters and my other Personal Notes is near the limit.

Personal Notes Extension

Discourse Forum (ref)

Set up Reply via Email Support (ref)
Multisite configuration with Docker (ref)

Statement: Jeff Atwood codinghorror co-founder Dated: 12/14/2018 (ref)

Most installations (including all Discourse official hosting) are betas, being on a release version is more conservative. New betas are released every few weeks. Full releases come, at most, every 6 months.

Statement: Arpit JalantechAPJteam Dated: 05/12/2014 (ref)

:bell: Before you switch over to the new server, review your app.yml for any optional settings such as CDN, installed plugins, and HTTPS support between the two Discourse instances. It’s easier to make sure the two instances are identical before you begin restoring the backup.

Statement: Felix Freiberger fefrei Regular Dated: 05/19/2017 (ref)

Development installs normally aren’t set up to actually send emails but use MailCatcher to simulate it. Here’s how you start it:

mailcatcher --http-ip 0.0.0.0

Rafael dos Santos Silva Falco team Dated: 05/12/20202
PostgreSQL 12 update

Installation notes for Discourse on Bash for Windows - This is old and out dated but still has useful information.

Statement: NoBugsBunny neounix Regular Dated: 05/15/2020 (ref)

This is how we plan to upgrade next month:

  1. Pick a slow traffic time on the weekend
  2. Set DNS TTL to 5 minutes (already done in our case)
  3. Create a new VPS server.
  4. Do fresh “two container” install with ngnix reverse proxy to unix socket.
  5. Confirm all is working.
  6. Take full backup of original (PG 10) production configuration.
  7. Move backup to new VPS server.
  8. Restore new VPS server (now running PG 12) with the full backup from production PG 10 setup.
  9. Change DNS.
  10. Confirm all is well and then destroy original VPS server.

For us, this is the “lowest risk of an error” way to go with the least amount of downtime.


A nice way to see what others find important with Discourse is to view the list of topics sorted by number of views descending. (ref) What is surprising about the list is that many of the top topics at the top of the list are significant to learning how or self-host or or what others do when self-hosting.


GitHub/Discourse (ref)

Admin Quick Start Guide (ref) - There are several important links for other things you might eventually want to set up!!!

Recommended Email Providers for Discourse (ref)

We strongly recommend using a dedicated email service. Email server setup and maintenance is very difficult even for experienced system administrators, and getting any part of the complex required email setup wrong means your email won’t be delivered, or worse, delivered erratically.


blog.discourse.org (ref)

Discourse as Your First Rails App (ref)
public exploit bounty program at Hacker One


Discourse API Documentation
Setting up webhooks
How to reverse engineer the Discourse API

PostgreSQL documentation
pgAdmin - the most popular and feature rich Open Source administration and development platform for PostgreSQL.

Routine Database Maintenance Tasks (ref)


Microsoft WSL (ref)
Microsoft WSL GitHub (ref)
Microsoft WSL GitHub Issues (ref)

Issue #144 - rbenv stuck on installing ruby (ref) - When installing Ruby on WSL 1 expect to wait a half hour or more before the next message appears. Even checking if the processes was running using task manager it appeared to not be doing anything. Just be patient.

 Installing Ruby 2.7.1 ...

Downloading ruby-2.7.1.tar.bz2...
-> https://cache.ruby-lang.org/pub/ruby/2.7/ruby-2.7.1.tar.bz2
Installing ruby-2.7.1...
<Long wait time here>
Installed ruby-2.7.1 to /home/eric/.rbenv/versions/2.7.1

DockerHub

pgadmin4 (ref) - a web based administration tool for the PostgreSQL database.


What we see now as admins with Discourse.com as hosting provider/support

image

and what inspecting the HMTL revels

<meta name="generator" content="Discourse 2.5.0.beta4 - https://github.com/discourse/discourse version 4601833e4ed98aaaaf90c0ddab2bfebfae42db7c">

commit: PERF: ensure we run full GC on contexts · discourse/discourse@4601833 · GitHub

What we will see when self-hosting

image

and what inspecting the HMTL revels

<meta name="generator" content="Discourse 2.5.0.beta4 - https://github.com/discourse/discourse version 8149bfbaf1545c99764647bc40b53e32f7896550">

commit: FEATURE: Filter settings by plugin (#9692) · discourse/discourse@8149bfb · GitHub


Things Discouse will probably never do:

  1. hierarchical or nested conversation threading (ref 1) (ref 2) - Discourse uses linear or flat conversation threading. Discourse topics can be split into other topics. (ref)

What is randomart produced by ssh-keygen?

Hash Visualization: a New Technique to improve Real-World Security (pdf)