# Skip Redis Version Check

**URL:** https://meta.discourse.org/t/skip-redis-version-check/218480
**Category:** Self-hosting
**Created:** [February 16, 2022, 11:03pm UTC](https://meta.discourse.org/t/skip-redis-version-check/218480 "2022-02-16T23:03:05Z")
**Posts on this page:** 7
**Page:** 1

<div class="post-metadata">

### Author: ![NotAnonymous](https://avatars.discourse-cdn.com/v4/letter/n/f05b48/32.png) [@NotAnonymous](https://meta.discourse.org/u/NotAnonymous)
#### Post date: [February 16, 2022, 11:03pm UTC](https://meta.discourse.org/t/skip-redis-version-check/218480/1 "2022-02-16T23:03:05Z")

</div>

Is it possible to skip the redis version check on a rebuild? Rebuild started failing on the most recent version of Discourse and the only error I’m seeing is that Discourse requires Redis 6.2.0 or above. We’re using an external redis server that’s on 6.0.14. I’d be surprised if this caused an issue with Discourse functionality, so I’d like to be able to still update Discourse until we are able to upgrade Redis.

I did also try rebuilding without using external Redis but got different errors then, depending on whether I included the redis template.

Thanks

---

<div class="post-metadata">

### Author: ![pfaffman](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pfaffman/32/120154_2.png) [@pfaffman](https://meta.discourse.org/u/pfaffman)
#### Post date: [February 16, 2022, 11:57pm UTC](https://meta.discourse.org/t/skip-redis-version-check/218480/2 "2022-02-16T23:57:20Z")

</div>

> [@NotAnonymous](#):
>
> I’d be surprised if this caused an issue with Discourse functionality

I would be surprised if they set that version as a requirement if there were no reason.

---

<div class="post-metadata">

### Author: ![NotAnonymous](https://avatars.discourse-cdn.com/v4/letter/n/f05b48/32.png) [@NotAnonymous](https://meta.discourse.org/u/NotAnonymous)
#### Post date: [February 17, 2022, 12:00am UTC](https://meta.discourse.org/t/skip-redis-version-check/218480/3 "2022-02-17T00:00:59Z")

</div>

I saw a previous post where it was said/implied that the requirement is just because that’s what they use to dev/test on, so anything less they can’t guarantee will work. I’m willing to take that risk or at least test it out if possible. I’m also looking at speeding up our upgrade though.

---

<div class="post-metadata">

### Author: ![pfaffman](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pfaffman/32/120154_2.png) [@pfaffman](https://meta.discourse.org/u/pfaffman)
#### Post date: [February 17, 2022, 12:08am UTC](https://meta.discourse.org/t/skip-redis-version-check/218480/4 "2022-02-17T00:08:28Z")

</div>

> [@NotAnonymous](#):
>
> saw a previous post where it was said/implied that the requirement is just because that’s what they use to dev/test on, so anything less they can’t guarantee will work

Hmm. That does sound familiar. But this requirement was added recently, so I’m thinking that there is likely a reason. But I can’t search commits very well on my phone, so we’ll see what else we hear!

---

<div class="post-metadata">

### Author: ![Falco](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/falco/32/179432_2.png) [@Falco](https://meta.discourse.org/u/Falco)
#### Post date: [February 17, 2022, 3:05am UTC](https://meta.discourse.org/t/skip-redis-version-check/218480/5 "2022-02-17T03:05:56Z")

</div>

We are using a new Redis command that is only available on Redis \>= 6.2.0. We ship that Redis version in our base image for 11 months, and it’s also available on AWS Elasticache service, or as the [official Redis docker image](https://hub.docker.com/_/redis).

The change was made so we can get better performance in high traffic situations, where Redis becomes a bottleneck for some large Discourse instances.

That said, we are discussing internally if that is too aggressive of a requirement and may revert that performance patch to accommodate sites stuck on an old version.

---

<div class="post-metadata">

### Author: ![NotAnonymous](https://avatars.discourse-cdn.com/v4/letter/n/f05b48/32.png) [@NotAnonymous](https://meta.discourse.org/u/NotAnonymous)
#### Post date: [February 17, 2022, 3:09pm UTC](https://meta.discourse.org/t/skip-redis-version-check/218480/6 "2022-02-17T15:09:32Z")

</div>

Good to know, thanks. Jay was right, you did have a reason. 😀

I can switch to using a newer version, but might be nice not make that a hard requirement for those that lag behind a bit if it won’t break anything.

Thanks!

---

<div class="post-metadata">

### Author: ![system](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/system/32/443519_2.png) [@system](https://meta.discourse.org/u/system)
#### Post date: [August 16, 2022, 8:02am UTC](https://meta.discourse.org/t/skip-redis-version-check/218480/7 "2022-08-16T08:02:47Z")

</div>

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