Delete all the likes

Want to delete all the existing :heart: on your instance? Here is how you can do it.

Access your site

First connect to your Droplet via SSH, and enter the Docker container for your Discourse instances:

cd /var/discourse
./launcher enter app

:warning: WARNING

We strongly recommend you take a full backup before proceeding.

Delete all the likes

rake posts:delete_all_likes

The above command will delete all the likes on your instance.

Last edited by @JammyDodger 2024-05-25T11:36:17Z

Check documentPerform check on document:
11 Likes