Redis in Nextcloud 24.0.0

Hi,
when i install new Nextcloud 24.0.0 with php 8.1, then my redis-server not work.

Please tell us more details. What do you mean exactly?
Have you checked logs?

I dont know…i use same conf version 23, but for now version 24.0 redis not works.
Log dont show anything.
I use this conf:
‘memcache.local’ => ‘\OC\Memcache\Redis’,
‘memcache.locking’ => ‘\OC\Memcache\Redis’,
‘redis’ =>
array (
‘host’ => ‘localhost’,
‘port’ => 6379,

Is the php-redis package installed in version 8.1?

2 Likes

Hi, many thanks :slight_smile:
All works fine for now :slight_smile:

3 Likes

I am trying to install Nextcloud 24 with Redis via docker compose. The installation fails with “Internal Server Error” after I provide the admin password and hit Install. Nextcloud installs successfully if I remove the REDIS_HOST from the file. Here is my docker compose file.

version: ‘2’

volumes:
redis-data:
nextcloud:
db:

services:
redis:
image: redis:latest
command: redis-server --requirepass redis
restart: always
volumes:
- redis-data:/data
ports:
- 6379:6379
db:
image: mariadb
restart: always
command: --transaction-isolation=READ-COMMITTED --binlog-format=ROW
volumes:
- db:/var/lib/mysql
environment:
- MYSQL_ROOT_PASSWORD=nextcloud
- MYSQL_PASSWORD=nextcloud
- MYSQL_DATABASE=nextcloud
- MYSQL_USER=nextcloud

app:
image: nextcloud
restart: always
ports:
- 8080:80
links:
- db
volumes:
- nextcloud:/var/www/html
environment:
- MYSQL_PASSWORD=nextcloud
- MYSQL_DATABASE=nextcloud
- MYSQL_USER=nextcloud
- MYSQL_HOST=db
- PHP_MEMORY_LIMIT=512M
- PHP_UPLOAD_LIMIT=20000M
- REDIS_HOST=localhost
- REDIS_HOST_PASSWORD=redis
- NEXTCLOUD_TRUSTED_DOMAINS=192.168.1.113
depends_on:
- db
- redis