Redis configuration and setup

HI,
I configured a new Nextcloud environment but I’m having problems configuring with Redis. Once installed on my VPS machine Ubuntu 22 Redis and APCu with their respective php modules I encounter problems with creating and deleting files. My current setup is as follows

File config.php

‘memcache.local’ => ‘\OC\Memcache\APCu’,
‘distributed’ => ‘\OC\Memcache\Redis’,
‘memcache.locking’ => ‘\OC\Memcache\Redis’,
‘filelocking.enabled’ => ‘true’,
‘redis’ =>
array (
‘host’ => ‘/var/run/redis/redis-server.sock’,
‘port’ => 0,
‘timeout’ => 0.0,
),

File redis.conf

port 0
unixsocket /var/run/redis/redis.sock
unixsocketperm 770

These are the errors that are tracked in the log file

these are the errors if I try to scan the files

if I deactivate all Redis and APCu configuration then everything seems to work fine

They are not the same in the posted configurations, but should be!

2 Likes

The above is also incorrect. Should be memcache.distributed[1]

[1] Memory caching — Nextcloud latest Administration Manual latest documentation

2 Likes

Thanks for the tips. The problem has been solved.

2 Likes

This topic was automatically closed 8 days after the last reply. New replies are no longer allowed.