From 4213e46e02ba0f00838013ddf3ea315d8e394ff6 Mon Sep 17 00:00:00 2001 From: Keunes <11229646+keunes@users.noreply.github.com> Date: Thu, 27 Aug 2020 10:20:25 +0200 Subject: [PATCH] Update caching_configuration.rst Expand Redis explanation: inform user to update Redis config, and update socket name to a [more modern](https://help.nextcloud.com/t/error-redisexception-no-such-file-or-directory-at-closure/90684/2) one. --- admin_manual/configuration_server/caching_configuration.rst | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/admin_manual/configuration_server/caching_configuration.rst b/admin_manual/configuration_server/caching_configuration.rst index 5ccfc54e2..2db437c77 100644 --- a/admin_manual/configuration_server/caching_configuration.rst +++ b/admin_manual/configuration_server/caching_configuration.rst @@ -107,7 +107,7 @@ recommended if Redis is running on the same system as Nextcloud) use this exampl 'memcache.local' => '\OC\Memcache\APCu', 'memcache.distributed' => '\OC\Memcache\Redis', 'redis' => [ - 'host' => '/var/run/redis/redis.sock', + 'host' => '/run/redis/redis-server.sock', 'port' => 0, 'dbindex' => 0, 'password' => 'secret', @@ -116,6 +116,8 @@ recommended if Redis is running on the same system as Nextcloud) use this exampl Only "host" and "port" variables are required, the other ones are optional. +Update the redis configuration in ``/etc/redis/redis.conf`` accordingly: uncomment Unix socket options and ensure the "socket" and "port" settings match your Nextcloud configuration. + Be sure to set the right permissions on redis.sock so that your webserver can read and write to it. For this you typically have to add the webserver user to the redis group::