# Delete all the likes

**URL:** https://meta.discourse.org/t/delete-all-the-likes/65102
**Category:** Self-Hosting
**Tags:** how-to
**Created:** [June 26, 2017, 2:54am UTC](https://meta.discourse.org/t/delete-all-the-likes/65102 "2017-06-26T02:54:55Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![Discourse](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/discourse/32/148734_2.png) [@Discourse](https://meta.discourse.org/u/Discourse)
#### Post date: [June 26, 2017, 2:54am UTC](https://meta.discourse.org/t/delete-all-the-likes/65102/1 "2017-06-26T02:54:55Z")

</div>

> 🔖 This guide explains how to remove all existing likes on your Discourse instance. It’s intended for users with console access.
> 
> 🙋 Required user level: System Administrator
> 
> ⚠ Console Access Required

Want to delete all the existing likes 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**
> 
> 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 @SaraDev 2024-11-07T21:10:20Z
> 
> > **Check document**
> >
> > Perform check on document:
