Jump to content

Recommended Posts

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. 

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

 

Posted

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.

Posted
\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.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...