celiac101

Well-Known Member
Dec 19, 2012
101
1
68
cPanel Access Level
Website Owner
I am currently running Redis server v=3.2.12, but need to upgrade it to the latest version which is 6.04. When I run yum update redis-server it says I'm on the latest version, which clearly I'm not.

How can I update to the latest version? I am running CENTOS 7.8 Cpanel v88.0.5 and EasyApache4.
 

cPanelLauren

Product Owner
Staff member
Nov 14, 2017
13,295
1,273
313
Houston
Redis may have a newer version but that's the newest version offered in the EPEL repository which isn't provided or managed by cPanel:

Code:
[[email protected] /]# yum info redis.x86_64
Loaded plugins: fastestmirror, universal-hooks
Loading mirror speeds from cached hostfile
 * EA4: 208.74.123.61
 * EA4-experimental: 208.74.123.61
 * cpanel-addons-production-feed: 208.74.123.61
 * cpanel-plugins: 208.74.123.61
 * base: repo1.dal.innoscale.net
 * centosplus: centos-distro.1gservers.com
 * epel: mirror.dal.nexril.net
 * extras: mirror.atl.genesisadaptive.com
 * updates: ftpmirror.your.org
Available Packages
Name        : redis
Arch        : x86_64
Version     : 3.2.12
Release     : 2.el7
Size        : 544 k
Repo        : epel/x86_64
Summary     : A persistent key-value database
URL         : http://redis.io
License     : BSD
Description : Redis is an advanced key-value store. It is often referred to as a data
            : structure server since keys can contain strings, hashes, lists, sets and
            : sorted sets.
            :
            : You can run atomic operations on these types, like appending to a string;
            : incrementing the value in a hash; pushing to a list; computing set
            : intersection, union and difference; or getting the member with highest
            : ranking in a sorted set.
            :
            : In order to achieve its outstanding performance, Redis works with an
            : in-memory dataset. Depending on your use case, you can persist it either
            : by dumping the dataset to disk every once in a while, or by appending
            : each command to a log.
            :
            : Redis also supports trivial-to-setup master-slave replication, with very
            : fast non-blocking first synchronization, auto-reconnection on net split
            : and so forth.
            :
            : Other features include Transactions, Pub/Sub, Lua scripting, Keys with a
            : limited time-to-live, and configuration settings to make Redis behave like
            : a cache.
            :
            : You can use Redis from most programming languages also.
 

celiac101

Well-Known Member
Dec 19, 2012
101
1
68
cPanel Access Level
Website Owner
So would upgrading it cause issues with cPanel? There are definite issues with this older version, and it does not work properly anymore with my app. Why is cPanel so far behind the curve on this particular software, which is widely used?

The current stable release of Redis is 6.0.4, and the version in cPanel is from way back in June 2018.
 

ffeingol

Well-Known Member
PartnerNOC
Nov 9, 2001
636
210
343
cPanel Access Level
DataCenter Provider
As @cPanelLauren said, this has nothing to do with cPanel. The package you installed is from CentOS and CentOS is never on the bleeding edge (it's intended to be stable). cPanel does not use Redis and does not care about it, so you can install any version you want.
 

cPanelLauren

Product Owner
Staff member
Nov 14, 2017
13,295
1,273
313
Houston
It uses EPEL but yea, essentially what @ffeingol said. For OS provided and 3rd party items there isn't really a lot we can do for those. We do support modules provided in our easyapache repository.