I’m having an error when I try to login into a nextcloud account.
{"reqId":"BOe3RH0H0G970F1WNqiP","level":3,"time":"2019-02-02T14:56:43+00:00","remoteAddr":"CLIENTID","user":"--","app":"PHP","method":"GET","url":"\/login?redirect_url=\/apps\/files\/","message":"OC\\HintException: Memcache \\OC\\Memcache\\Redis not available for local cache at \/var\/www\/nextcloud\/lib\/private\/Memcache\/Factory.php#96","userAgent":"Mozilla\/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit\/537.36 (KHTML, like Gecko) Chrome\/72.0.3626.81 Safari\/537.36","version":"12.0.13.2"}
I don’t know what I’m supposed to do. I’m using nginx as server. Here is the command php -m
.
[PHP Modules]
bz2
calendar
Core
ctype
curl
date
dom
exif
fileinfo
filter
ftp
gd
gettext
gmp
hash
iconv
igbinary
intl
json
libxml
mbstring
mysqli
openssl
pcntl
pcre
PDO
pdo_mysql
pdo_sqlite
Phar
posix
readline
redis
Reflection
session
shmop
SimpleXML
sockets
SPL
sqlite3
standard
sysvmsg
sysvsem
sysvshm
tokenizer
wddx
xml
xmlreader
xmlwriter
xsl
Zend OPcache
zip
zlib
[Zend Modules]
Zend OPcache
Here is my config.php :
<?php
$CONFIG = array (
'instanceid' => 'ID',
'passwordsalt' => 'SALT',
'secret' => 'SECRET',
'trusted_domains' =>
'debug' => true,
array (
0 => 'DOMAIN:8080',
),
'datadirectory' => '/var/www/nextcloud/data',
'overwrite.cli.url' => 'https://DOMAIN:8080',
'dbtype' => 'mysql',
'version' => '12.0.13.2',
'dbname' => 'DB',
'dbhost' => 'HOST',
'dbport' => '',
'dbtableprefix' => 'oc_',
'dbuser' => 'USER',
'dbpassword' => 'PASS',
'logtimezone' => 'UTC',
'installed' => true,
'theme' => '',
'memcache.local' => '\OC\Memcache\Redis',
'memcache.locking' => '\OC\Memcache\Redis',
'redis' =>
array (
'host' => 'HOST',
'port' => 35102,
'password' => 'PASS',
),
'mail_smtpmode' => 'smtp',
'mail_from_address' => 'noreply',
'mail_domain' => 'DOMAIN',
'mail_smtpauth' => 1,
'mail_smtphost' => 'HOST',
'mail_smtpport' => '587',
'mail_smtpname' => 'NAME',
'mail_smtppassword' => 'PASS',
'mail_smtpauthtype' => 'LOGIN',
'knowledgebaseenabled' => false,
0 => 18,
'loglevel' => 2,
'maintenance' => false,
);