I have a Nextcloud running on an Ubuntu Server 20.04. Before the Redis installation it was working perfectly, but since i configured the unix socket redis is using, the nextcloud crashes on every visit.
In the error log of the apache Server i found this →
[Mon Dec 13 06:48:14.900434 2021] [php:error] [pid 43062] [client 143.224.1.1:56115] PHP Fatal error: Uncaught OCP\HintException: [0]: Memcache \OC\Memcache\Redis not available for local cache (Is the matching PHP module installed and enabled?)\n\n thrown in /var/www/nextcloud/lib/private/Memcache/Factory.php on line 89
The php module was installed before, i made the changes again, because they were already configured, rebooted the VM but nothing changes… The Nextcloud web interface says internal error, and the error.log the same like written in the topic…
Here we are… I changed the passwords everywhere, so dont wonder about it.
The most common mistake to have redis-server.sock in the config i changed before weeks.
Nextcloud web server is running as wwwrun or www-data etc. Therefore you have to make sure that the relevant user is allowed to access the socket. This can be done, e.g. by adding the user to the redis group.
Please use the search function of this forum to find more details. This question has already been asked and answered multiple times in the past.