DEV Community

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

Posted on

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.

Top comments (0)