Skip to content

Commit

Permalink
Clarification on permisions for the Redis socket
Browse files Browse the repository at this point in the history
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
  • Loading branch information
FalkenStein42 authored and backportbot-nextcloud[bot] committed Jan 30, 2023
1 parent 58170b8 commit 08d8d70
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 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,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
<http://redis.io/documentation>`_ to learn more.
Expand Down

0 comments on commit 08d8d70

Please sign in to comment.