Joey_M Posted November 16 Posted November 16 Prior to the release of 4.1.19, and the maintenance task which that resolved, I experienced an issue where Redis failed. It just seems to always fail, and whereas previous versions wouldn't allow the configuration to proceed if it wasn't correct. Now I can type anything and I can proceed to downloading a new constraints file. I have spoken to a friend who helps me with my server, he suggested trying "/home/domain/.redis/redis.sock" (domain is my site's root folder - I changed that). Along with the IP address which previously worked. http://127.0.0.1/ Port: 6379 I don't see why all of a sudden it's failing to connect or work.
Joey_M Posted November 16 Author Posted November 16 <?php \define( 'REDIS_ENABLED', true ); \define( 'STORE_METHOD', 'Redis' ); \define( 'STORE_CONFIG', '[]' ); \define( 'CACHE_METHOD', 'Redis' ); \define( 'REDIS_CONFIG', '{"server":"127.0.0.1","port":6379,"password":""}' ); \define( 'SUITE_UNIQUE_KEY', '399865b105' );
Jim M Posted Sunday at 02:27 PM Posted Sunday at 02:27 PM Sounds like your Redis server isn't running if the system can't connect. You would want to verify that first and ensure the methods you setup to connect over are valid.
Joey_M Posted Sunday at 02:47 PM Author Posted Sunday at 02:47 PM The test_redis.php reports: Redis is working correctly!
Jim M Posted Sunday at 02:58 PM Posted Sunday at 02:58 PM You would want to verify this in Redis itself.
Joey_M Posted Sunday at 03:00 PM Author Posted Sunday at 03:00 PM Sorry, I was editing my post as you repled. The details I am entering are correct.
teraßyte Posted Sunday at 03:08 PM Posted Sunday at 03:08 PM \define( 'REDIS_CONFIG', '{"server":"127.0.0.1","port":6379,"password":""}' ); Replace the IP in the constants.php file with the socket path from your test file. Try also leaving the port value empty. Joey_M 1
Joey_M Posted Sunday at 03:21 PM Author Posted Sunday at 03:21 PM Thank you, @teraßyte. Also, appreciate the efforts of @Adlago and @Jim M. Thanks! It's working now. 😃
Recommended Posts