Updating Redis for ownCloud 10

Hello, all.

I am running ownCloud 10.0.7 on Ubuntu Server 16.04.4 and recently starting getting this message:

"Redis below version 2.2.5 is installed, for stability and performance reasons we recommend updating to a newer Redis version."

What's the easiest way to update Redis? Can you do this via apt after adding a Redis repository? I don't want to reinstall Redis from scratch just to be running the latest version -- unless that's the only way to do it.

Thanks all.

I did some research in the documentation of ownCloud and found: https://doc.owncloud.org/server/latest/admin_manual/configuration/server/caching_configuration.html#supported-caching-backends

where it seems that even 2.2.6 is required:

Version 2.2.6 or higher of the PHP Redis extension is required.

But when checking the provided packages of Ubuntu 16.04 you should already get version 2.2.7 of that module:

https://packages.ubuntu.com/search?keywords=php-redis