For the Mastodon v4.4 release, you need at least Redis v6.2+. Unfortunately if you're running Ubuntu 22.04, the latest distro release of Redis is v6.0 which is too old. So you need the official Redis PPA instead. (Assuming you want to avoid the full Ubuntu update, which I happen to.)
Simply adding the PPA is not enough, because Ubuntu tries to block it in favor of its own ESM (Extended Security Maintenance) version. So it ends up being kind of a pain.
This is a simple bash script you can run (I encourage running every command line-by-line just in case) which successfully updated Redis from v6.0 to v8.0.3 for me.
Thanks to multiple folks in the Mastodon Discord for help putting this together ([email protected],deadinsi.de
, [email protected]
, [email protected]
).
Ah, yeah, I hadn't actually listed the packages when I did the first comment, but yeah,
redis*
is what you want — essentially you'd want whatever the most minimal range is, as to prevent say, Redis Labs going rogue and adding a package that's suspicious, e.g.,ruby
that's actually not just ruby but something else. So trusting the least number of packages from them.