Tag

Discourse

Discourse

Discourse requires at least 2GB of swap

Tutorial: Setting up Swap for Discourse on Ubuntu 22.04 LTS Discourse is a highly recommended platform for building communities. In this tutorial, you will learn how to resolve the swapfile issue when setting up Discourse on a fresh Ubuntu 22.04 LTS server. Prerequisites A fresh Ubuntu 22.04 LTS server Root access or a user with sudo privileges Step 1: Running Discourse Setup Access your Ubuntu server, either directly or through SSH. Open a terminal or SSH session. Change to the /var/discours

Sebastian Widmann

Sebastian Widmann

Webdesigner / Web developer

Discourse

Clear Discourse Logs

You have set up a new Discourse community and, for example, after migrating the data and making subsequent adjustments, there are several thousand log entries in the "Staff Log" (Team Actions Log)? In this case, it might make sense to empty the log before going live with the new community. Remember to create a backup before clearing the logs! To empty the log, you first need to connect to the server via SSH. Next, you need to open the Rails console: cd /var/discourse ./launcher enter a

Sebastian Widmann

Sebastian Widmann

Webdesigner / Web developer