I had a look into that as well and was wondering if it is possible to add redis as an alternative or at least for locking with the nextcloud UCS ?
Here is what I did so far:
- Pulled redis docker and started it up with
"docker run -v /opt/redis/conf:/usr/local/etc/redis -v /opt/redis/data:/data -p 6379:6379 --name nextcloud-redis -d --restart always redis redis-server /usr/local/etc/redis/redis.conf"
- Opened port 6379 in the UCS firewall
- Edited “/var/lib/univention-appcenter/apps/nextcloud/data/integration/config/config.php” as well as the config.php inside the nextcloud docker container with the following lines:
'memcache.locking' => '\\OC\\Memcache\\Redis',
'redis' =>
array (
'host' => 'server.ucs.com',
'port' => 6379,
'password' => 'BESTPASSWORDINTHEWORLD',
'timeout' => 0.0,
),
When I start the monitoring in redis via “redis-cli monitor” nothing happens. No connection attempts what so ever.
Nextcloud however works fine as before.
If I set memcache.local from APCu to redis nextcloud comes up with an internal server error.
Any idea what goes wrong here ?
Cheers