I’m running Nextcloud 13.02 on Ubuntu 16.04.4 x64.
nextcloud.log
I found that after executing php occ prview:generate-all
{"reqId":"kAvXDNPPClLiqsw6oKJL","level":1,"time":"2018-04-28T12:59:25+00:00","remoteAddr":"","user":"--","app":"cli","method":"--","url":"--","message":"Memcache \\OC\\Memcache\\APCu not available for local cache","userAgent":"--","version":"13.0.2.1"}
This is what i have installed:
lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 16.04.4 LTS
Release: 16.04
Codename: xenial
php -v | grep PHP
PHP 7.0.28-0ubuntu0.16.04.1 (cli) ( NTS )
Copyright (c) 1997-2017 The PHP Group
dpkg --list | grep apcu
ii php-apcu 5.1.3+4.0.10-1build1 md64 APC User Cache for PHP
php -m | grep apcu
apcu
phpinfo
config.php
'memcache.distributed' => '\\OC\\Memcache\\Redis',
'memcache.locking' => '\\OC\\Memcache\\Redis',
'memcache.local' => '\\OC\\Memcache\\APCu',
'redis' => array (
'host' => 'localhost',
'port' => 6379,
),
Redis
dpkg --list | grep redis
ii libhiredis0.13:amd64 0.13.3-2 amd64 minimalistic C client library for Redis
ii php-redis 2.2.7-389-g2887ad1+2.2.7-1 amd64 PHP extension for interfacing with Redis
ii redis-server 2:3.0.6-1 amd64 Persistent key-value database with network interface
ii redis-tools 2:3.0.6-1 amd64 Persistent key-value database with network interface (client)
netstat -putan|grep redis
tcp 0 0 127.0.0.1:6379 0.0.0.0:* LISTEN 12985/redis-server
tcp 0 0 127.0.0.1:6379 127.0.0.1:41714 ESTABLISHED 12985/redis-server
redis-server -v
Redis server v=3.0.6 sha=00000000:0 malloc=jemalloc-3.6.0 bits=64 build=687a2a319020fa42
Nextcloud system check OK
What is going wrong here?
Thank you!