• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion
  • Please beaware of a breaking change in the REST API on the next Plesk release (18.0.62).
    Starting from Plesk Obsidian 18.0.62, requests to REST API containing the Content-Type header with a media-type directive other than “application/json” will result in the HTTP “415 Unsupported Media Type” client error response code. Read more here

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