DEV Community

Cover image for redis ACTION REQUIRED: Version approaching end of life
sugiarto
sugiarto

Posted on

3

redis ACTION REQUIRED: Version approaching end of life

A few days ago, I received an email from Heroku for upgrading Redis 6.2.14 to 7.2 due to a deprecated issue.

And to follow up on this warning, I asked my client to upgrade the Redis version. Once approved, here are my steps to upgrade Redis:

I used heroku CLI for upgrading Redis.

Login to Heroku

heroku login
Enter fullscreen mode Exit fullscreen mode

Show all apps on Heroku

heroku apps
Enter fullscreen mode Exit fullscreen mode

Show current Redis version

heroku redis:info -a <APP_NAME>
Enter fullscreen mode Exit fullscreen mode

Replace <APP_NAME> by your real app name.

Perform or schedule the upgrade using

heroku redis:upgrade <REDIS_NAME> --version <VERSION> -a <APP_NAME>
Enter fullscreen mode Exit fullscreen mode

Replace <REDIS_NAME> by your Redis instance name, use the name from the heroku redis:info result.
replace <VERSION> by Redis's target version.

Example:

redis:upgrade redis-octagonal-30151 --version 7.2 -a super-app
Enter fullscreen mode Exit fullscreen mode

You can check again using heroku redis:info to know when the upgrade would be performed by heroku.

Image of Timescale

Timescale – the developer's data platform for modern apps, built on PostgreSQL

Timescale Cloud is PostgreSQL optimized for speed, scale, and performance. Over 3 million IoT, AI, crypto, and dev tool apps are powered by Timescale. Try it free today! No credit card required.

Try free

Top comments (0)

Postmark Image

Speedy emails, satisfied customers

Are delayed transactional emails costing you user satisfaction? Postmark delivers your emails almost instantly, keeping your customers happy and connected.

Sign up