Skip to content

Memcache \OC\Memcache\APCu not available for local cache when using Redis #6224

@k1ngf15h3r

Description

@k1ngf15h3r

Nit sure this is a bug but need to have this clear. I have switched to Redis for memcache.local and memcache.locking like you can see below. In Admin page under Logging I get thread subject "Memcache \OC\Memcache\APCu not available for local cache" as Info entry. Is this only while Redis is used instead of APcu?

my config.php

[...]
'memcache.local' => '\\OC\\Memcache\\Redis',
'memcache.locking' => '\\OC\\Memcache\\Redis',
'redis' => array(
    'host' => 'redis',
    'port' => 6379,
),
'filelocking.enabled' => true,
'filelocking.ttl' => 60*60,
[...]

Steps to reproduce

  1. Enable Redis in config.php for memcache
  2. look into logging

Expected behaviour

no message

Actual behaviour

info message that memcache apcu not available

Server configuration

Operating system: Cent OS 7

Web server: Apache 2.4

Database: MySQL / Redis

PHP version: 7

Nextcloud version: 12.0.0

Updated from an older Nextcloud/ownCloud or fresh install: fresh install

Where did you install Nextcloud from: Docker Hub

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions