No memory cache configured message even if configured - Centos8

Nextcloud version: 21.0.2
Operating system and version CentOS 8
Apache: Server version: Apache/2.4.37 (centos)
PHP version: PHP 7.4.20
mariadb 10.3

The issue you are facing:
I have set up nextcloud 21.0.0 and there I already had the error message
" No memory cache has been configured. To enhance performance, please configure a memcache, if available. Further information can be found in the [documentation]("
Now in version 21.0.2 I have tried again to resolve this issue:

under /etc/my.cnf.d I modified mariadb-server.cnf
(under that directory there is no other valid file.)


restarted all services, even the whole machine , but still I get the same message

Unfortunately it isn’t 100% clear to me where the message is exactly shown or from which log file you’ve taken it, but “Memory Cache” ususally refers to PHP-Memcache, APC, etc.!

How should it be possible to fix such a problem by modifying the MariaDB configuration? Check-out the administrator guide for further information and use the search function of this forum to find related threads/answers :wink:

Thanks for your answer.
Well it is under Admin overview.
There it tells to do so see here
That’s why I have done so.
In config.php under nextcloud dir there is no cache to set.

Ok so I got the solution…
The link next to the message is misleading…
The only thing to do is to install redis and to configure
like that

'redis' => array(
  'host' => 'localhost',
  'port' => 6379,

restart redis and httpd, that’s it.

1 Like