• Please be aware: Kaspersky Anti-Virus has been deprecated
    With the upgrade to Plesk Obsidian 18.0.64, "Kaspersky Anti-Virus for Servers" will be automatically removed from the servers it is installed on. We recommend that you migrate to Sophos Anti-Virus for Servers.
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.

Resolved Redis as docker for nextcloud

djimno

New Pleskian
Hello,

i have start redis as docker. Now i want to use this to accelate my nextcloud.

First i type in a terminal
Code:
ps ax | grep redis
20605 ?        Ssl    0:03 redis-server *:6379

When i add to the config-file in nextcloud

Code:
'memcache.distributed' => '\OC\Memcache\Redis',
'memcache.locking' => '\OC\Memcache\Redis',
'memcache.local' => '\OC\Memcache\APCu',
'redis' => array(
     'host' => 'localhost',
     'port' => 6379,
      ),

i get the error:
Memcache \OC\Memcache\APCu not available for local cache Is the matching PHP module installed and enabled?

If i change '\OC\Memcache\APCu' in '\OC\Memcache\Redis' i get only a blank site.

Can someone help me?

Thx
Martin

[EDIT]
I install now APCu so i get no error like this:
Memcache \OC\Memcache\APCu not available for local cache Is the matching PHP module installed and enabled?

Now i get this error:

Internal Server Error

The server encountered an internal error and was unable to complete your request.
Please contact the server administrator if this error reappears multiple times, please include the technical details below in your report.
More details can be found in the server log.

[EDIT2]
The problem was solved by uncomment this line:

Code:
# 'memcache.distributed' => '\OC\Memcache\Redis',
'memcache.locking' => '\OC\Memcache\Redis',
'memcache.local' => '\OC\Memcache\APCu',
'redis' => array(
     'host' => 'localhost',
     'port' => 6379,
      ),
 
Last edited:
Back
Top