Redis not available?

Issue Summary

My understanding is that Redis should be available for any Custom site, but I’m unable to connect to Redis using the Redis Object Cache plugin. How can I verify that Redis is running and connect to it correctly?

Plugin diagnostics:
Status: Not connected
Client:
Drop-in: Valid
Disabled: No
Ping:
Connection Exception: Connection refused [tcp://127.0.0.1:6379] (Predis\Connection\ConnectionException)
Errors: [
“Connection refused [tcp://127.0.0.1:6379]”
]
PhpRedis: Not loaded
Predis: 1.1.9
Credis: Not loaded
PHP Version: 8.0.0
Plugin Version: 2.0.22
Redis Version: Unknown
Multisite: No
Metrics: Disabled
Metrics recorded: null
Filesystem: Working
Global Prefix: “wp_”
Blog Prefix: “wp_”
Global Groups: [
“blog-details”,
“blog-id-cache”,
“blog-lookup”,
“global-posts”,
“networks”,
“rss”,
“sites”,
“site-details”,
“site-lookup”,
“site-options”,
“site-transient”,
“users”,
“useremail”,
“userlogins”,
“usermeta”,
“user_meta”,
“userslugs”,
“redis-cache”
]
Ignored Groups: [
“counts”,
“plugins”,
“themes”,
“blog-details”,
“blog-id-cache”,
“blog-lookup”,
“global-posts”,
“networks”,
“rss”,
“sites”,
“site-details”,
“site-lookup”,
“site-options”,
“site-transient”,
“users”,
“useremail”,
“userlogins”,
“usermeta”,
“user_meta”,
“userslugs”,
“redis-cache”,
“blog_meta”
]
Unflushable Groups:
Drop-ins: [
“Redis Object Cache Drop-In v2.0.22 by Till Krüss”
]

Troubleshooting Questions

  • Does this happen for all sites in Local, or just one in particular?
    All sites that I’ve tested, including a brand-new test site

  • Are you able to create a new, plain WordPress site in Local and access it in a Browser?
    Yes

Replication

  • Navigate to the admin panel for a Custom site
  • Install the “Redis Object Cache” plugin
  • Click “Enable Object Cache” button
  • Check “Status” value under “Overview” tab

System Details

  • Which version of Local is being used?
    v6.1.8+5621

  • What Operating System (OS) and OS version is being used?

    • macOS Monterey (12.1)

local-lightning.log (950.0 KB)

1 Like

I’m having the same issue on mac, same version of local.

Spin up new custom instance, install Redis Object Cache plugins, activate get “Not connected” error.

Is Redis no longer supported? Just want to know so I don’t spend any more time on this trying to debug it.

Plugin diagnostic message:

Status: Not connected

Client:
Drop-in: Valid
Disabled: No
Ping:
Connection Exception: Connection refused [tcp://127.0.0.1:6379] (Predis\Connection\ConnectionException)
Errors: [
“Connection refused [tcp://127.0.0.1:6379]”
]
PhpRedis: Not loaded
Predis: 1.1.9
Credis: Not loaded
PHP Version: 7.4.1
Plugin Version: 2.0.22
Redis Version: Unknown
Multisite: No

Just a follow up that if you install it manually via Site Shell it appears to work:

https://redis.io/topics/quickstart

1 Like

This topic was automatically closed 36 hours after the last reply. New replies are no longer allowed.