Skip to content

Commit

Permalink
Merge pull request #9597 from nextcloud/backport/8189/stable24
Browse files Browse the repository at this point in the history
[stable24] Clarification on permisions for the Redis socket
  • Loading branch information
tflidd authored Jan 30, 2023
2 parents 58170b8 + 155ed05 commit 824e8ad
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions admin_manual/configuration_server/caching_configuration.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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::
Expand Down Expand Up @@ -124,9 +124,14 @@ 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

Redis is very configurable; consult `the Redis documentation
<http://redis.io/documentation>`_ to learn more.
Expand Down

0 comments on commit 824e8ad

Please sign in to comment.