how i can test if my reddis work in my nextcloudpi instance(docker).
If i try: redis-cli I get the following error: Could not connect to Redis at 127.0.0.1:6379: Connection refused. Same error if i try redis-cli monitor.
The nextcloudpi web panel says redis is ok.
My redis config in the config.php:
“memcache.local”: “\OC\Memcache\Redis”,
“memcache.locking”: “\OC\Memcache\Redis”,
“redis”: {
“host”: “REMOVED SENSITIVE VALUE”,
“port”: 0,
“timeout”: 0,
“password”: “REMOVED SENSITIVE VALUE”
},
you should see a redis-server process when you enter ps -ef | grep redis
if you see this process and nextcloud is working, everything is fine.
if you want to test: change the socker path in the config.php so nextcloud can’t use redis or kill the redis-server. with both tests a reload of the nextcloud page should fail.