user28741721
user28741721

Reputation: 1

Howcome Redis can't establish a redis connection?

I'm establishing my local environment with a pre-existing wordpress site that is hosted through pantheon. Lando is the local environment I'm using and the pre-existing .lando.yml file is using the pantheon recipe. I'm unable to access any wp commands in the terminal due to being unable to establish a redis connection. I can run my build, but I can't access the local site and all URLs output after running lando start are failing (status code 500 primarily. a couple with status code 502).

If I run redis-server within docker i can get it to pong, but from there running any wp commands will output the error: establishing a redis connection. Something is definitely going over my head here, but any advice or direction would be greatly appreciated.

Any lando wp xxxxx command (in terminal) is outputting an error establishing a redis connection. As well the URL for my local site cannot load due to "error establishing a redis connection".

Upvotes: 0

Views: 46

Answers (1)

deronimo
deronimo

Reputation: 519

I have not dealt with redis on my Pantheon sites, but have you tried: "terminus redis:enable <site_id>"?

Upvotes: 0

Related Questions