# Rebake all posts?

**URL:** https://meta.discourse.org/t/rebake-all-posts/69340
**Category:** Self-hosting
**Created:** [September 4, 2017, 6:09pm UTC](https://meta.discourse.org/t/rebake-all-posts/69340 "2017-09-04T18:09:45Z")
**Posts on this page:** 1
**Showing post:** 4

<div class="post-metadata">

### Author: ![gerhard](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/gerhard/32/119479_2.png) [@gerhard](https://meta.discourse.org/u/gerhard)
#### Post date: [September 4, 2017, 7:20pm UTC](https://meta.discourse.org/t/rebake-all-posts/69340/4 "2017-09-04T19:20:14Z")

</div>

So, the rake task finished and put lots of rebake jobs into Sidekiq and now your server is on 🔥?

Hmm, I guess, you could stop all tasks by flushing redis. 💣  
⚠ You may loose some other background jobs in the process!

```bash
cd /var/discourse
./launcher enter app
redis-cli flushall

```

After that, take a look at the following topic. It should allow you to rebake only posts that contain the spoiler tag.

> [@Rebake all posts matching a pattern](https://meta.discourse.org/t/rebake-all-posts-matching-a-pattern/48713):
>
> bookmark This guide provides instructions on how to rebake all posts in Discourse that match a specific string or regular expression, utilizing the Rails console for additional advanced options. person_raising_hand Required user level: Administrator warning Console access required Want to rebake all the posts matching a string or regular expression? Let’s get started! Accessing your site To begin, connect to your Discourse Droplet via SSH and enter the Docker container for your Disc…

---

_[View the full topic](https://meta.discourse.org/t/rebake-all-posts/69340)._
