Site Not Opening, How Can I Know What's Wrong?

Append sudo to the command e.g.:

sudo -i
service apache2 stop
apt purge apache* -y
cd /var/discourse
./launcher start app