NOTE: If you connected to the instance via the Google Cloud Console, you will need to change your user to the bitnami user. Insert the following command before executing the steps below:
sudo su bitnami
To remove a Discourse plugin, follow these steps:
Log in to the server console.
Navigate to the Discourse plugins directory:
$ cd /opt/bitnami/apps/discourse/htdocs/plugins
Execute the following commands, replacing PLUGIN-DIR with the name of the directory containing the plugin you wish to remove:
$ rm -rf PLUGIN-DIR $ RAILS_ENV=production bundle exec rake assets:precompile