Removing a plugin for debugging

A while ago @pfaffman showed me how to remove plugins directly via the file structure (i.e. within the container for a non-dev site) - thus markedly speeding up the debugging process when you suspect you’ve got a naughty plugin but few clues.

I remember it being something like deleting the plugin folder somewhere, but can’t recall the details. As I’m now stuck in an annoying rebuild cycle, my thoughts have drifted back to that method.

Can anyone shed some light on it?

2 Likes
docker exec -it app bash

or

./launcher enter app

then

cd /var/www/discourse/plugins
rm -rf plugin-directory
sv restart unicorn

For each plugin-directory you want to get rid of.

4 Likes

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.