Internal Server Error after installing Redis

Hello, i thank you in advance for your help!

Nextcloud version : Nextcloud 22.1.0
Operating system and version : Debian10
Apache or nginx version : nginx/1.14.2
PHP version : 7.4

If i add memcache and redis in config file i have this in the web:
Internal server error

Steps to replicate it:

  1. install redis and memcache
  2. add these lines to config :
'memcache.local' => '\OC\Memcache\APCu',
'memcache.locking' => '\OC\Memcache\Redis',
'memcache.distributed' => '\OC\Memcache\Redis',
'redis' => [
    'host' => 'localhost',
    'port' => 6379,
],

The output of your Nextcloud log in Admin > Logging:

Warning	no app in context	Could not detect any host in http:///data/htaccesstest.txt

The output of config.php file in /var/www/nextcloud

<?php
$CONFIG = array (
  'instanceid' => 'xxxxx',
  'passwordsalt' => 'xxxxxx',
  'secret' => 'xxxx/xxxx+xxxxx',
  'trusted_domains' =>
  array (
    0 => 'xxx.xxx.com',
  ),
  'datadirectory' => '/var/www/nextcloud/data',
  'dbtype' => 'pgsql',
  'version' => '22.1.0.1',
  'overwrite.cli.url' => 'https://xxx.xxxx.com',
  'dbname' => 'nextcloud',
  'dbhost' => 'localhost',
  'dbport' => '',
  'dbtableprefix' => 'oc_',
  'dbuser' => 'nextcloud',
  'dbpassword' => 'xxxx',
  'installed' => true,
);

log in /var/log/dpkg.log:

2021-08-24 08:35:42 startup archives unpack
2021-08-24 08:35:42 install php8.0-common:amd64 <none> 8.0.9-1+0~20210730.22+debian10~1.gbp99e7e9
2021-08-24 08:35:42 status half-installed php8.0-common:amd64 8.0.9-1+0~20210730.22+debian10~1.gbp99e7e9
2021-08-24 08:35:43 status unpacked php8.0-common:amd64 8.0.9-1+0~20210730.22+debian10~1.gbp99e7e9
2021-08-24 08:35:43 install php8.0-apcu:amd64 <none> 5.1.20+4.0.11-1+0~20210304.24+debian10~1.gbp1c3d4d
2021-08-24 08:35:43 status half-installed php8.0-apcu:amd64 5.1.20+4.0.11-1+0~20210304.24+debian10~1.gbp1c3d4d
2021-08-24 08:35:43 status unpacked php8.0-apcu:amd64 5.1.20+4.0.11-1+0~20210304.24+debian10~1.gbp1c3d4d
2021-08-24 08:35:43 install php-apcu:amd64 <none> 5.1.20+4.0.11-1+0~20210304.24+debian10~1.gbp1c3d4d
2021-08-24 08:35:43 status half-installed php-apcu:amd64 5.1.20+4.0.11-1+0~20210304.24+debian10~1.gbp1c3d4d
2021-08-24 08:35:43 status unpacked php-apcu:amd64 5.1.20+4.0.11-1+0~20210304.24+debian10~1.gbp1c3d4d
2021-08-24 08:35:43 install php7.4-apcu:amd64 <none> 5.1.20+4.0.11-1+0~20210304.24+debian10~1.gbp1c3d4d
2021-08-24 08:35:43 status half-installed php7.4-apcu:amd64 5.1.20+4.0.11-1+0~20210304.24+debian10~1.gbp1c3d4d
2021-08-24 08:35:43 status unpacked php7.4-apcu:amd64 5.1.20+4.0.11-1+0~20210304.24+debian10~1.gbp1c3d4d
2021-08-24 08:35:43 install php7.4-apcu-bc:amd64 <none> 1.0.5-13+0~20210223.17+debian10~1.gbp7fc1aa
2021-08-24 08:35:43 status half-installed php7.4-apcu-bc:amd64 1.0.5-13+0~20210223.17+debian10~1.gbp7fc1aa
2021-08-24 08:35:43 status unpacked php7.4-apcu-bc:amd64 1.0.5-13+0~20210223.17+debian10~1.gbp7fc1aa
2021-08-24 08:35:43 install php-apcu-bc:amd64 <none> 1.0.5-13+0~20210223.17+debian10~1.gbp7fc1aa
2021-08-24 08:35:43 status half-installed php-apcu-bc:amd64 1.0.5-13+0~20210223.17+debian10~1.gbp7fc1aa
2021-08-24 08:35:43 status unpacked php-apcu-bc:amd64 1.0.5-13+0~20210223.17+debian10~1.gbp7fc1aa
2021-08-24 08:35:43 install php8.0-igbinary:amd64 <none> 3.2.4+2.0.8-1+0~20210802.26+debian10~1.gbpfc46c4
2021-08-24 08:35:43 status half-installed php8.0-igbinary:amd64 3.2.4+2.0.8-1+0~20210802.26+debian10~1.gbpfc46c4
2021-08-24 08:35:43 status unpacked php8.0-igbinary:amd64 3.2.4+2.0.8-1+0~20210802.26+debian10~1.gbpfc46c4
2021-08-24 08:35:43 install php8.0-redis:amd64 <none> 5.3.4+4.3.0-1+0~20210329.35+debian10~1.gbpdc7ead
2021-08-24 08:35:43 status half-installed php8.0-redis:amd64 5.3.4+4.3.0-1+0~20210329.35+debian10~1.gbpdc7ead
2021-08-24 08:35:43 status unpacked php8.0-redis:amd64 5.3.4+4.3.0-1+0~20210329.35+debian10~1.gbpdc7ead
2021-08-24 08:35:43 install php-redis:amd64 <none> 5.3.4+4.3.0-1+0~20210329.35+debian10~1.gbpdc7ead
2021-08-24 08:35:43 status half-installed php-redis:amd64 5.3.4+4.3.0-1+0~20210329.35+debian10~1.gbpdc7ead
2021-08-24 08:35:43 status unpacked php-redis:amd64 5.3.4+4.3.0-1+0~20210329.35+debian10~1.gbpdc7ead
2021-08-24 08:35:43 install libhiredis0.14:amd64 <none> 0.14.0-3
2021-08-24 08:35:43 status triggers-pending libc-bin:amd64 2.28-10
2021-08-24 08:35:43 status half-installed libhiredis0.14:amd64 0.14.0-3
2021-08-24 08:35:43 status unpacked libhiredis0.14:amd64 0.14.0-3
2021-08-24 08:35:43 install libjemalloc2:amd64 <none> 5.1.0-3
2021-08-24 08:35:43 status half-installed libjemalloc2:amd64 5.1.0-3
2021-08-24 08:35:43 status unpacked libjemalloc2:amd64 5.1.0-3
2021-08-24 08:35:43 install liblua5.1-0:amd64 <none> 5.1.5-8.1+b2
2021-08-24 08:35:43 status half-installed liblua5.1-0:amd64 5.1.5-8.1+b2
2021-08-24 08:35:43 status unpacked liblua5.1-0:amd64 5.1.5-8.1+b2
2021-08-24 08:35:43 install lua-bitop:amd64 <none> 1.0.2-5
2021-08-24 08:35:43 status half-installed lua-bitop:amd64 1.0.2-5
2021-08-24 08:35:43 status unpacked lua-bitop:amd64 1.0.2-5
2021-08-24 08:35:43 install lua-cjson:amd64 <none> 2.1.0+dfsg-2.1
2021-08-24 08:35:43 status half-installed lua-cjson:amd64 2.1.0+dfsg-2.1
2021-08-24 08:35:43 status unpacked lua-cjson:amd64 2.1.0+dfsg-2.1
2021-08-24 08:35:43 install redis-tools:amd64 <none> 5:5.0.3-4+deb10u3
2021-08-24 08:35:43 status half-installed redis-tools:amd64 5:5.0.3-4+deb10u3
2021-08-24 08:35:43 status triggers-pending man-db:amd64 2.8.5-2
2021-08-24 08:35:43 status unpacked redis-tools:amd64 5:5.0.3-4+deb10u3
2021-08-24 08:35:43 install redis-server:amd64 <none> 5:5.0.3-4+deb10u3
2021-08-24 08:35:43 status half-installed redis-server:amd64 5:5.0.3-4+deb10u3
2021-08-24 08:35:43 status triggers-pending systemd:amd64 241-7~deb10u8
2021-08-24 08:35:43 status unpacked redis-server:amd64 5:5.0.3-4+deb10u3
2021-08-24 08:35:43 startup packages configure
2021-08-24 08:35:43 configure php7.4-apcu:amd64 5.1.20+4.0.11-1+0~20210304.24+debian10~1.gbp1c3d4d <none>
2021-08-24 08:35:43 status unpacked php7.4-apcu:amd64 5.1.20+4.0.11-1+0~20210304.24+debian10~1.gbp1c3d4d
2021-08-24 08:35:43 status half-configured php7.4-apcu:amd64 5.1.20+4.0.11-1+0~20210304.24+debian10~1.gbp1c3d4d
2021-08-24 08:35:43 status installed php7.4-apcu:amd64 5.1.20+4.0.11-1+0~20210304.24+debian10~1.gbp1c3d4d
2021-08-24 08:35:43 configure libjemalloc2:amd64 5.1.0-3 <none>
2021-08-24 08:35:43 status unpacked libjemalloc2:amd64 5.1.0-3
2021-08-24 08:35:43 status half-configured libjemalloc2:amd64 5.1.0-3
2021-08-24 08:35:43 status installed libjemalloc2:amd64 5.1.0-3
2021-08-24 08:35:43 configure lua-cjson:amd64 2.1.0+dfsg-2.1 <none>
2021-08-24 08:35:43 status unpacked lua-cjson:amd64 2.1.0+dfsg-2.1
2021-08-24 08:35:43 status half-configured lua-cjson:amd64 2.1.0+dfsg-2.1
2021-08-24 08:35:43 status installed lua-cjson:amd64 2.1.0+dfsg-2.1
2021-08-24 08:35:43 configure lua-bitop:amd64 1.0.2-5 <none>
2021-08-24 08:35:43 status unpacked lua-bitop:amd64 1.0.2-5
2021-08-24 08:35:43 status half-configured lua-bitop:amd64 1.0.2-5
2021-08-24 08:35:43 status installed lua-bitop:amd64 1.0.2-5
2021-08-24 08:35:43 configure php8.0-common:amd64 8.0.9-1+0~20210730.22+debian10~1.gbp99e7e9 <none>
2021-08-24 08:35:43 status unpacked php8.0-common:amd64 8.0.9-1+0~20210730.22+debian10~1.gbp99e7e9
2021-08-24 08:35:43 status half-configured php8.0-common:amd64 8.0.9-1+0~20210730.22+debian10~1.gbp99e7e9
2021-08-24 08:35:48 status installed php8.0-common:amd64 8.0.9-1+0~20210730.22+debian10~1.gbp99e7e9
2021-08-24 08:35:48 configure liblua5.1-0:amd64 5.1.5-8.1+b2 <none>
2021-08-24 08:35:48 status unpacked liblua5.1-0:amd64 5.1.5-8.1+b2
2021-08-24 08:35:48 status half-configured liblua5.1-0:amd64 5.1.5-8.1+b2
2021-08-24 08:35:48 status installed liblua5.1-0:amd64 5.1.5-8.1+b2
2021-08-24 08:35:48 configure php8.0-igbinary:amd64 3.2.4+2.0.8-1+0~20210802.26+debian10~1.gbpfc46c4 <none>
2021-08-24 08:35:48 status unpacked php8.0-igbinary:amd64 3.2.4+2.0.8-1+0~20210802.26+debian10~1.gbpfc46c4
2021-08-24 08:35:48 status half-configured php8.0-igbinary:amd64 3.2.4+2.0.8-1+0~20210802.26+debian10~1.gbpfc46c4
2021-08-24 08:35:48 status installed php8.0-igbinary:amd64 3.2.4+2.0.8-1+0~20210802.26+debian10~1.gbpfc46c4
2021-08-24 08:35:48 configure php7.4-apcu-bc:amd64 1.0.5-13+0~20210223.17+debian10~1.gbp7fc1aa <none>
2021-08-24 08:35:48 status unpacked php7.4-apcu-bc:amd64 1.0.5-13+0~20210223.17+debian10~1.gbp7fc1aa
2021-08-24 08:35:48 status half-configured php7.4-apcu-bc:amd64 1.0.5-13+0~20210223.17+debian10~1.gbp7fc1aa
2021-08-24 08:35:48 status installed php7.4-apcu-bc:amd64 1.0.5-13+0~20210223.17+debian10~1.gbp7fc1aa
2021-08-24 08:35:48 configure libhiredis0.14:amd64 0.14.0-3 <none>
2021-08-24 08:35:48 status unpacked libhiredis0.14:amd64 0.14.0-3
2021-08-24 08:35:48 status half-configured libhiredis0.14:amd64 0.14.0-3
2021-08-24 08:35:48 status installed libhiredis0.14:amd64 0.14.0-3
2021-08-24 08:35:48 configure php8.0-apcu:amd64 5.1.20+4.0.11-1+0~20210304.24+debian10~1.gbp1c3d4d <none>
2021-08-24 08:35:48 status unpacked php8.0-apcu:amd64 5.1.20+4.0.11-1+0~20210304.24+debian10~1.gbp1c3d4d
2021-08-24 08:35:48 status half-configured php8.0-apcu:amd64 5.1.20+4.0.11-1+0~20210304.24+debian10~1.gbp1c3d4d
2021-08-24 08:35:48 status installed php8.0-apcu:amd64 5.1.20+4.0.11-1+0~20210304.24+debian10~1.gbp1c3d4d
2021-08-24 08:35:48 configure php-apcu-bc:amd64 1.0.5-13+0~20210223.17+debian10~1.gbp7fc1aa <none>
2021-08-24 08:35:48 status unpacked php-apcu-bc:amd64 1.0.5-13+0~20210223.17+debian10~1.gbp7fc1aa
2021-08-24 08:35:48 status half-configured php-apcu-bc:amd64 1.0.5-13+0~20210223.17+debian10~1.gbp7fc1aa
2021-08-24 08:35:48 status installed php-apcu-bc:amd64 1.0.5-13+0~20210223.17+debian10~1.gbp7fc1aa
2021-08-24 08:35:48 configure redis-tools:amd64 5:5.0.3-4+deb10u3 <none>
2021-08-24 08:35:48 status unpacked redis-tools:amd64 5:5.0.3-4+deb10u3
2021-08-24 08:35:48 status half-configured redis-tools:amd64 5:5.0.3-4+deb10u3
2021-08-24 08:35:48 status installed redis-tools:amd64 5:5.0.3-4+deb10u3
2021-08-24 08:35:48 configure php-apcu:amd64 5.1.20+4.0.11-1+0~20210304.24+debian10~1.gbp1c3d4d <none>
2021-08-24 08:35:48 status unpacked php-apcu:amd64 5.1.20+4.0.11-1+0~20210304.24+debian10~1.gbp1c3d4d
2021-08-24 08:35:48 status half-configured php-apcu:amd64 5.1.20+4.0.11-1+0~20210304.24+debian10~1.gbp1c3d4d
2021-08-24 08:35:48 status installed php-apcu:amd64 5.1.20+4.0.11-1+0~20210304.24+debian10~1.gbp1c3d4d
2021-08-24 08:35:48 configure php8.0-redis:amd64 5.3.4+4.3.0-1+0~20210329.35+debian10~1.gbpdc7ead <none>
2021-08-24 08:35:48 status unpacked php8.0-redis:amd64 5.3.4+4.3.0-1+0~20210329.35+debian10~1.gbpdc7ead
2021-08-24 08:35:48 status half-configured php8.0-redis:amd64 5.3.4+4.3.0-1+0~20210329.35+debian10~1.gbpdc7ead
2021-08-24 08:35:48 status installed php8.0-redis:amd64 5.3.4+4.3.0-1+0~20210329.35+debian10~1.gbpdc7ead
2021-08-24 08:35:48 configure php-redis:amd64 5.3.4+4.3.0-1+0~20210329.35+debian10~1.gbpdc7ead <none>
2021-08-24 08:35:48 status unpacked php-redis:amd64 5.3.4+4.3.0-1+0~20210329.35+debian10~1.gbpdc7ead
2021-08-24 08:35:48 status half-configured php-redis:amd64 5.3.4+4.3.0-1+0~20210329.35+debian10~1.gbpdc7ead
2021-08-24 08:35:48 status installed php-redis:amd64 5.3.4+4.3.0-1+0~20210329.35+debian10~1.gbpdc7ead
2021-08-24 08:35:48 configure redis-server:amd64 5:5.0.3-4+deb10u3 <none>
2021-08-24 08:35:48 status unpacked redis-server:amd64 5:5.0.3-4+deb10u3
2021-08-24 08:35:48 status half-configured redis-server:amd64 5:5.0.3-4+deb10u3
2021-08-24 08:35:49 status installed redis-server:amd64 5:5.0.3-4+deb10u3
2021-08-24 08:35:49 trigproc systemd:amd64 241-7~deb10u8 <none>
2021-08-24 08:35:49 status half-configured systemd:amd64 241-7~deb10u8
2021-08-24 08:35:49 status installed systemd:amd64 241-7~deb10u8
2021-08-24 08:35:49 trigproc man-db:amd64 2.8.5-2 <none>
2021-08-24 08:35:49 status half-configured man-db:amd64 2.8.5-2
2021-08-24 08:35:49 status installed man-db:amd64 2.8.5-2
2021-08-24 08:35:49 trigproc libc-bin:amd64 2.28-10 <none>
2021-08-24 08:35:49 status half-configured libc-bin:amd64 2.28-10
2021-08-24 08:35:49 status installed libc-bin:amd64 2.28-10

/var/log/daemon.log

Aug 24 08:35:49 cloud systemd[1]: Starting Advanced key-value store...
Aug 24 08:35:49 cloud systemd[1]: redis-server.service: Can't open PID file /run/redis/redis-server.pid (yet?) after start: No such file or directory
Aug 24 08:35:49 cloud systemd[1]: Started Advanced key-value store.
Aug 24 08:35:49 cloud systemd[1]: Reloading.
Aug 24 08:36:21 cloud systemd[1]: Stopping A high performance web server and a reverse proxy server...
Aug 24 08:36:22 cloud systemd[1]: nginx.service: Succeeded.
Aug 24 08:36:22 cloud systemd[1]: Stopped A high performance web server and a reverse proxy server.
Aug 24 08:36:22 cloud systemd[1]: Starting A high performance web server and a reverse proxy server...
Aug 24 08:36:22 cloud systemd[1]: Started A high performance web server and a reverse proxy server.
Aug 24 08:39:01 cloud systemd[1]: Starting Clean php session files...
Aug 24 08:39:01 cloud systemd[1]: phpsessionclean.service: Succeeded.
Aug 24 08:39:01 cloud systemd[1]: Started Clean php session files.
Aug 24 08:40:01 cloud systemd[1]: Stopping A high performance web server and a reverse proxy server...
Aug 24 08:40:01 cloud systemd[1]: nginx.service: Succeeded.
Aug 24 08:40:01 cloud systemd[1]: Stopped A high performance web server and a reverse proxy server.
Aug 24 08:40:01 cloud systemd[1]: Starting A high performance web server and a reverse proxy server...
Aug 24 08:40:01 cloud systemd[1]: Started A high performance web server and a reverse proxy server.
Aug 24 08:41:37 cloud systemd[1]: Reloading.
Aug 24 08:41:38 cloud systemd[1]: Reloading.
Aug 24 08:41:38 cloud systemd[1]: Reloading.
Aug 24 08:43:15 cloud systemd[1]: Starting Cleanup of Temporary Directories...
Aug 24 08:43:15 cloud systemd[1]: systemd-tmpfiles-clean.service: Succeeded.
Aug 24 08:43:15 cloud systemd[1]: Started Cleanup of Temporary Directories.
Aug 24 08:44:52 cloud systemd[1]: Stopping A high performance web server and a reverse proxy server...
Aug 24 08:44:52 cloud systemd[1]: nginx.service: Succeeded.
Aug 24 08:44:52 cloud systemd[1]: Stopped A high performance web server and a reverse proxy server.
Aug 24 08:44:52 cloud systemd[1]: Starting A high performance web server and a reverse proxy server...
Aug 24 08:44:52 cloud systemd[1]: Started A high performance web server and a reverse proxy server.
Aug 24 08:47:04 cloud systemd[1]: Stopping Advanced key-value store...
Aug 24 08:47:05 cloud systemd[1]: redis-server.service: Succeeded.
Aug 24 08:47:05 cloud systemd[1]: Stopped Advanced key-value store.
Aug 24 08:47:05 cloud systemd[1]: Starting Advanced key-value store...
Aug 24 08:47:05 cloud systemd[1]: redis-server.service: Can't open PID file /run/redis/redis-server.pid (yet?) after start: No such file or directory
Aug 24 08:47:05 cloud systemd[1]: Started Advanced key-value store.
Aug 24 09:09:01 cloud systemd[1]: Starting Clean php session files...
Aug 24 09:09:01 cloud systemd[1]: phpsessionclean.service: Succeeded.
Aug 24 09:09:01 cloud systemd[1]: Started Clean php session files.

log in /var/log/redis/redis-server.log:

3314:M 24 Aug 2021 08:35:49.382 # Server initialized
3314:M 24 Aug 2021 08:35:49.382 # WARNING you have Transparent Huge Pages (THP) support enabled in your kernel. This will create latency and memory usage issues with Redis. To fix this issue run the command 'echo never > /sys/kernel/mm/transparent_hugepage/enabled' as root, and add it to your /etc/rc.local in order to retain the setting after a reboot. Redis must be restarted after THP is disabled.
3314:M 24 Aug 2021 08:35:49.382 * Ready to accept connections
3314:signal-handler (1629794824) Received SIGTERM scheduling shutdown...
3314:signal-handler (1629794824) Received SIGTERM scheduling shutdown...
3314:M 24 Aug 2021 08:47:05.039 # User requested shutdown...
3314:M 24 Aug 2021 08:47:05.039 * Saving the final RDB snapshot before exiting.
3314:M 24 Aug 2021 08:47:05.041 * DB saved on disk
3314:M 24 Aug 2021 08:47:05.041 * Removing the pid file.
3314:M 24 Aug 2021 08:47:05.041 # Redis is now ready to exit, bye bye...
3754:C 24 Aug 2021 08:47:05.079 # oO0OoO0OoO0Oo Redis is starting oO0OoO0OoO0Oo
3754:C 24 Aug 2021 08:47:05.079 # Redis version=5.0.3, bits=64, commit=00000000, modified=0, pid=3754, just started
3754:C 24 Aug 2021 08:47:05.079 # Configuration loaded
                _._
           _.-``__ ''-._
      _.-``    `.  `_.  ''-._           Redis 5.0.3 (00000000/0) 64 bit
  .-`` .-```.  ```\/    _.,_ ''-._
 (    '      ,       .-`  | `,    )     Running in standalone mode
 |`-._`-...-` __...-.``-._|'` _.-'|     Port: 0
 |    `-._   `._    /     _.-'    |     PID: 3755
  `-._    `-._  `-./  _.-'    _.-'
 |`-._`-._    `-.__.-'    _.-'_.-'|
 |    `-._`-._        _.-'_.-'    |           http://redis.io
  `-._    `-._`-.__.-'_.-'    _.-'
 |`-._`-._    `-.__.-'    _.-'_.-'|
 |    `-._`-._        _.-'_.-'    |
  `-._    `-._`-.__.-'_.-'    _.-'
      `-._    `-.__.-'    _.-'
          `-._        _.-'
              `-.__.-'

3755:M 24 Aug 2021 08:47:05.082 # Server initialized
3755:M 24 Aug 2021 08:47:05.082 # WARNING you have Transparent Huge Pages (THP) support enabled in your kernel. This will create latency and memory usage issues with Redis. To fix this issue run the command 'echo never > /sys/kernel/mm/transparent_hugepage/enabled' as root, and add it to your /etc/rc.local in order to retain the setting after a reboot. Redis must be restarted after THP is disabled.
3755:M 24 Aug 2021 08:47:05.082 * DB loaded from disk: 0.000 seconds
3755:M 24 Aug 2021 08:47:05.082 * The server is now ready to accept connections at /var/run/redis/redis-server.sock

Output redis:

root@cloud:/var/log/redis# sudo systemctl status redis-server
* redis-server.service - Advanced key-value store
   Loaded: loaded (/lib/systemd/system/redis-server.service; enabled; vendor preset: enabled)
   Active: active (running) since Tue 2021-08-24 08:47:05 UTC; 45min ago
     Docs: http://redis.io/documentation,
           man:redis-server(1)
  Process: 3754 ExecStart=/usr/bin/redis-server /etc/redis/redis.conf (code=exited, status=0/SUCCESS)
 Main PID: 3755 (redis-server)
    Tasks: 4 (limit: 9830)
   Memory: 2.2M
   CGroup: /system.slice/redis-server.service
           `-3755 /usr/bin/redis-server 127.0.0.1:0

Aug 24 08:47:05 cloud systemd[1]: Starting Advanced key-value store...
Aug 24 08:47:05 cloud systemd[1]: redis-server.service: Can't open PID file /run/redis/redis-server.pid (yet?) after start: No such file or directory
Aug 24 08:47:05 cloud systemd[1]: Started Advanced key-value store.

Problem resolved with installing the good version of redis:

apt install php7.4 php7.4-fpm php7.4-common php7.4-gd php7.4-curl php7.4-zip php7.4-xml php7.4-mbstring php7.4-intl php7.4-imap php7.4-bcmath php7.4-redis php7.4-mysql php7.4-gmp php7.4-imagick redis imagemagick

Thank you