Invision Community 4: SEO, prepare for v5 and dormant account notifications Matt November 11, 2024Nov 11
Posted November 16, 2024Nov 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.
November 16, 2024Nov 16 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' );
November 17, 2024Nov 17 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.
November 17, 2024Nov 17 Author Sorry, I was editing my post as you repled. The details I am entering are correct.
November 17, 2024Nov 17 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.
November 17, 2024Nov 17 Author Thank you, @teraßyte. Also, appreciate the efforts of @Adlago and @Jim M. Thanks! It's working now. 😃
February 16Feb 16 Thank you, @teraßyte.Also, appreciate the efforts of @Adlago and @Jim M. Thanks! It's working now. 😃 How to solved your problem ?