Jump to content

Featured Replies

Posted

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. 

What is the content of your constants php file?

  • Author
<?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' );

 

  • Community Expert

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.

  • Author

The test_redis.php reports: Redis is working correctly!

  • Community Expert

You would want to verify this in Redis itself. 

  • Author

Sorry, I was editing my post as you repled.

 

4mcqjX8.jpeg

The details I am entering are correct.

  • Community Expert
\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.

  • Author

Thank you, @teraßyte.

Also, appreciate the efforts of @Adlago and @Jim M. Thanks! It's working now. ðŸ˜ƒ 

  • 2 months later...
 

Thank you, @teraßyte.

Also, appreciate the efforts of @Adlago and @Jim M. Thanks! It's working now. ðŸ˜ƒ 

How to solved your problem ?

Recently Browsing 0

  • No registered users viewing this page.