Mautic Community Forums

Mautic Cache Redis config

Your software
My Mautic version is: 3.3
My PHP version is: 7.3
My Database type and version is: MySql 5.7

Your problem
My problem is: redis configuration.
Trying to configure redis as per documentation

These errors are showing in the log:
php bin/console cache:clear -vvv

// Clearing the cache for the prod environment with debug false


In CacheClearSubscriber.php line 55:

 [Exception]
 Failed to clear RedisTagAwareAdapter

Exception trace:
 at /var/www/html/app/bundles/CacheBundle/EventListener/CacheClearSubscriber.php:55
Mautic\CacheBundle\EventListener\CacheClearSubscriber->clear() at /var/www/html/vendor/symfony/http-kernel/CacheClearer/ChainCacheClearer.php:41
Symfony\Component\HttpKernel\CacheClearer\ChainCacheClearer->clear() at /var/www/html/vendor/symfony/framework-bundle/Command/CacheClearCommand.php:111
Symfony\Bundle\FrameworkBundle\Command\CacheClearCommand->execute() at /var/www/html/vendor/symfony/console/Command/Command.php:255
Symfony\Component\Console\Command\Command->run() at /var/www/html/vendor/symfony/console/Application.php:1005
Symfony\Component\Console\Application->doRunCommand() at /var/www/html/vendor/symfony/framework-bundle/Console/Application.php:86
Symfony\Bundle\FrameworkBundle\Console\Application->doRunCommand() at /var/www/html/vendor/symfony/console/Application.php:255
Symfony\Component\Console\Application->doRun() at /var/www/html/vendor/symfony/framework-bundle/Console/Application.php:74
Symfony\Bundle\FrameworkBundle\Console\Application->doRun() at /var/www/html/vendor/symfony/console/Application.php:148
Symfony\Component\Console\Application->run() at /var/www/html/bin/console:43

Steps I have tried to fix the problem:

I’ve tried various connection strings and looked through the symfony docs for dsn settings
redis://[user:pass@][ip|host|socket[:port]][/db-index]