I wasn’t sure how to enter the Rails console, but found the answer over here and thought I’d publish for anyone else who doesn’t know how to get into the Rails console.
- SSH into your site
- Login as root user then do the following:
sudo -s
cd /var/discourse/
ls
./launcher enter app
rails c
That should get you into the Rails console!