• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.

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