From 85932d4cce7c09fd3deb263dfb966286c89d79a0 Mon Sep 17 00:00:00 2001 From: FalkenStein42 <47744227+FalkenStein42@users.noreply.github.com> Date: Fri, 15 Apr 2022 08:20:08 +0200 Subject: [PATCH 1/2] Clarification on permisions for the Redis socket After running into the problem myself and searching online for a solution i think a clarification on how to ensure proper permissions on the redis socket would be helpful to novice administrators --- .../configuration_server/caching_configuration.rst | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/admin_manual/configuration_server/caching_configuration.rst b/admin_manual/configuration_server/caching_configuration.rst index f71703c0b..889c0c000 100644 --- a/admin_manual/configuration_server/caching_configuration.rst +++ b/admin_manual/configuration_server/caching_configuration.rst @@ -85,7 +85,7 @@ You can verify that the Redis daemon is running with ``ps ax``:: ps ax | grep redis 22203 ? Ssl 0:00 /usr/bin/redis-server 127.0.0.1:6379 - + Restart your Web server, add the appropriate entries to your ``config.php``, and refresh your Nextcloud admin page. This example ``config.php`` configuration uses Redis for the distributed server cache:: @@ -124,9 +124,15 @@ to the redis group:: usermod -a -G redis www-data -You might need to restart apache for the changes to take effect:: +And modify the ``unixsocketperm`` of the ``redis.conf`` accordingly:: + + unixsocketperm 770 + +You might need to restart apache and redis for the changes to take effect:: systemctl restart apache2 + systemctl restart redis-server + systemctl restart redis Redis is very configurable; consult `the Redis documentation `_ to learn more. From 540475628ff23fb90e98fef8ac1b36142e2581b6 Mon Sep 17 00:00:00 2001 From: Daniel Date: Thu, 29 Dec 2022 15:13:09 +0100 Subject: [PATCH 2/2] Update admin_manual/configuration_server/caching_configuration.rst Signed-off-by: Daniel --- admin_manual/configuration_server/caching_configuration.rst | 1 - 1 file changed, 1 deletion(-) diff --git a/admin_manual/configuration_server/caching_configuration.rst b/admin_manual/configuration_server/caching_configuration.rst index 889c0c000..29793d36f 100644 --- a/admin_manual/configuration_server/caching_configuration.rst +++ b/admin_manual/configuration_server/caching_configuration.rst @@ -132,7 +132,6 @@ You might need to restart apache and redis for the changes to take effect:: systemctl restart apache2 systemctl restart redis-server - systemctl restart redis Redis is very configurable; consult `the Redis documentation `_ to learn more.