DeanB
11 September 2022 20:29
1
Hi Guys,
first of all, thanks a lot for that awesome Software.
I have a problem here with my installation. My server uses Redis Cache.
I was able to install SuiteCRM without problems. But when Redis is active on my server, I can’t open the default Login-Page (Error 500). So I figured it out, it’s actually a problem with Redis.
Going into the SSH Terminal, stopping the Redis service, Whooo… Everything works as expected.
I actually don’t know, my Redis on the Server is password protected. Doing a lot of Google search, I can’t find any tutorial to configure Redis on SuiteCRM.
Maybe one of you guys can give me a hint?
Thanks a lot already upfront,
Dean
ceopx
26 February 2025 21:57
2
I too just discovered this error when installing Redis. What’s up with this?
rsp
26 February 2025 22:00
3
DeanB:
I figured it out, it’s actually a problem with Redis.
Going into the SSH Terminal, stopping the Redis service, Whooo… Everything works as expected.
As DeanB mentioned it is issue of Radis. Does it activates firewall on the server?
You need to check your PHP, web server and database services.
ceopx
26 February 2025 22:08
4
I think it’s because we secure Redis with a password, and there’s no place to set the password in SuiteCRM.
rsp
26 February 2025 22:17
5
Maybe you can try this out:
SuiteCRM doesn’t have a specific option in the user interface to set the Redis password, but you can configure it manually in the config.php file .
$sugar_config['cache']['backend'] = 'Redis';
$sugar_config['cache']['backend_options'] = array(
'host' => '127.0.0.1',
'port' => 6379,
'persistent' => true,
'password' => 'your_redis_password',
);
You can clear the cache from the SuiteCRM interface.
Admin → Rapair->Repair & Rebuild
Restart Redis
sudo systemctl restart redis
Check radis and suitecrm log files.
Make sure that the php-redis
extension is installed and working on your server.
php -m | grep redis
ceopx
26 February 2025 23:02
6
Thanks for the attempt.
That didn’t work for me on v8.8.0.
I have redis proper configured, can connect an auth at the CLI.
Also, aren’t we suppose to put custom configurations somewhere where the system and upgrades won’t overwrite?
Is there any way to disable Redis in SuiteCRM? I wasn’t using it before, I need Redis for Magento.
It would be nice it the dev team added the Auth function so this all could work properly.
ceopx
26 February 2025 23:19
7
For anyone that can’t get this working you can disable Redis in SuiteCRM by doing the following:
To disable Redis in SuiteCRM 8, you can try the following steps:
Open the config_override.php
file in your SuiteCRM root directory.
Add or modify the following configuration:
php
$sugar_config['external_cache_disabled'] = true;
$sugar_config['external_cache_disabled_redis'] = true;
Save the file and clear the SuiteCRM cache:
Delete all files in the /public/legacy/cache/
directory
Run a Quick Repair and Rebuild from the admin panel
rsp
27 February 2025 00:14
8
Awesome? Did it work for you?
ceopx
27 February 2025 01:00
9
I ended up spending a few $$ on AI to look at it and ended up fixing Redis completely.
Here’s my post in dev
I ran into a compatibility issue today after install Redis on our server today for something out, taking out SuiteCRM in the process. I took the red pill and went down the rabbit hole and ended up fixing the Redis Integration and now our SuiteCRM instance is very fast loading and responsive.
The fix is located here:
Git hub Issue 617
Enjoy
Enjoy