No memory cache has been configured in overview

Getting this notification in the nextcloud overview. I installed redis and set the configuration in the config.php file and i am still seeing the non mem cache notification… here is my script in the config.php file. Ive restarted apache2, php8.2-fpm, redis-server. Why am i still seeing this error on overview page?

  • The database is used for transactional file locking. To enhance performance, please configure memcache, if available. See the documentation :arrow_upper_right: for more information.
  • No memory cache has been configured. To enhance performance, please configure a memcache, if available. Further information can be found in the documentation :arrow_upper_right:.
<?php $CONFIG = array ( 'instanceid' => 'ocrfzvgbk9w9', 'passwordsalt' => '************************', 'secret' => '**************************************L', 'trusted_domains' => array ( 0 => '**********************', ), 'default_phone_region' => 'US', 'datadirectory' => '***************************', 'dbtype' => 'mysql', 'version' => '27.1.1.0', 'overwrite.cli.url' => '**********************', 'trusted_proxies' => array ( 0 => '192.168.1.131', ), 'dbname' => 'nextcloud_db', 'dbhost' => 'localhost', 'dbport' => '', 'dbtableprefix' => 'oc_', 'mysql.utf8mb4' => true, 'dbuser' => 'emanproductionz', 'dbpassword' => '******************', 'installed' => true, 'maintenance' => false, 'log_type' => 'file', 'logfile' => 'nextcloud.log', 'loglevel' => 4, 'logdateformat' => 'F d, Y H:i:s', 'mail_smtpmode' => 'smtp', 'mail_sendmailmode' => 'smtp', 'mail_from_address' => '***************', 'mail_domain' => 'gmail.com', 'mail_smtphost' => 'smtp.gmail.com', 'mail_smtpport' => '587', 'mail_smtpauth' => 1, 'mail_smtpname' => '************************', 'mail_smtppassword' => '***************************', 'filelocking.enabled' => true, 'memcache.locking' => '\OC\Memcache\Redis', 'redis' => array( 'host' => 'localhost', 'port' => 0, 'timeout' => 0.0, 'password' => '', // Optional, if not defined no password will be used. ), );

Do you have open_basedir configured in any of you php.ini or nextcloud.conf files? If so, did you add the redis runtime path to the open_basedir path? (recently had an issue similar with redis)

1 Like