Self-hosters what has your experience been?

I am trying to decide on self-hosting Discourse on a VPS or paying for a fully managed instance.

I’ve been running Linux for 25 years, and I manage my own basic servers for a few personal applications like Nextcloud and Syncthing. I’m not a sysadmin, but I know my way around an Ubuntu server.

  1. On a scale of 1 to 10 with 10 being the greatest level of difficulty managing a Discourse instance, what would you rate it?

  2. If I ever need to migrate my Discourse instance to another VPS, is this a fairly seamless process, or is it problematic?

  3. What are the most common problems you run into with self-hosting?

Thanks

9 Likes
  1. 2 — with some but quite basic knowledge of shell, ubuntu and how internet works

  2. I didn’t have anything and everything went as documented

  3. Bugs and issues of adminlevel documentation, including too short, difficult or dev-level docs; quite rare situations after all and WordPress gives more gray hair

6 Likes

I would rate the first-time setup as 5 and maintaining as 1.
The initial setup/configuration process, though well documented, still requires caution with configuration file. Once the app.yml file is there, to update Discourse later on, the only thing you need is ./launcher rebuild app.
I would recommend you start with two-container setup, which will give you almost zero down-time during update.

Extremely easy. Just stop the container ./launcher stop app and use rsync -av /var/discourse new_host:/var/ to copy the entire folder and then run ./launcher rebuild app on the new host.

At most time it’s hassle-free. If you use some old and not-well-maintained third-part plugins/theme components, you may run into trouble after performing an update, but you can disable it anyway.

6 Likes
  1. I would rate is a 7/10 for managing Discourse. Installing it and managing it is usually a breeze, but sometimes I do encounter issues that take time for me to troubleshoot, but it works out in the end. Plus, you have more control over your instance! I used to run my Discourse instance in the cloud but now I’m running it at home on my residential network.

  2. Migration is a seamless process. What I do is create a new Discourse instance on my other server, then backup my already existing server, and then restore the backup on the new server. Then I have to reroute all the traffic.

  3. A common issue I do encounter is sometimes when I rebuild my Discourse instance for an update or plugin install, it sometimes breaks itself. I’ve later found out the reason for this was that I was using a faulty mechanical hard drive, so it’s not entirely the Discourse’s fault.

If you want more control and are willing to take extra steps to make it happen, go with the self-hosted option.

2 Likes

With that amount of Linux experience, it should be easy.
Additional benefits of self-hosting: You can play with all plugins.

If you decide to self-host mail for discourse, this is no fun.

2 Likes

The initial install process was a little challenging for me since have no background in ever installing anything by command line, but eventually figured that out.

Second main challenge is the e-mail sending/receiving setup.

I preferred the discourse hosting with discoursemail and team support is very helpful, but for new site with not a lot of traffic don’t need that and is more affordable to self-host with $12 a month server is less than the $100 a month standard plan.

However, have spent a lot of time figuring out how to make this work, so if you value your time a lot then discourse hosting may in fact be less expensive than managing the server yourself.

3 Likes