I upgraded my nc-server form 18.7 to 19.0.2.2 This worked fine, but in settings it says nc19 would be the last version which uses php7.2.
So I decided to upgrade directly to 7.4
So far so good, but after that I can’t connect over Browser to the server anymore. On the website i get a simple Access denied. In the logfile I get following Error:
{“reqId”:“3bJFmMlh6mkDDejeK3wc”,“level”:3,“time”:“2020-09-08T10:20:45+00:00”,“remoteAddr”:“192.168.1.11”,“user”:“–”,“app”:“remote”,“method”:“GET”,“url”:“/nextcloud/status.php”,“message”:{“Exception”:“OC\HintException”,“Message”:“Memcache \OC\Memcache\Redis not available for local cache”,“Code”:0,“Trace”:[{“file”:“/srv/dateien/html/nextcloud/lib/private/Server.php”,“line”:672,“function”:“__construct”,“class”:“OC\Memcache\Factory”,“type”:“->”},{“file”:“/srv/dateien/html/nextcloud/3rdparty/pimple/pimple/src/Pimple/Container.php”,“line”:118,“function”:“OC\{closure}”,“class”:“OC\Server”,“type”:“->”,“args”:[“*** sensitive parameters replaced “]},{“file”:”/srv/dateien/html/nextcloud/lib/private/ServerContainer.php",“line”:124,“function”:“offsetGet”,“class”:“Pimple\Container”,“type”:“->”},{“file”:“/srv/dateien/html/nextcloud/lib/private/Server.php”,“line”:1701,“function”:“query”,“class”:“OC\ServerContainer”,“type”:“->”},{“file”:“/srv/dateien/html/nextcloud/lib/private/Server.php”,“line”:854,“function”:“getMemCacheFactory”,“class”:“OC\Server”,“type”:“->”},{“file”:“/srv/dateien/html/nextcloud/3rdparty/pimple/pimple/src/Pimple/Container.php”,“line”:118,“function”:“OC\{closure}”,“class”:“OC\Server”,“type”:“->”,“args”:[" sensitive parameters replaced “]},{“file”:”/srv/dateien/html/nextcloud/lib/private/ServerContainer.php",“line”:124,“function”:“offsetGet”,“class”:“Pimple\Container”,“type”:“->”},{“file”:“/srv/dateien/html/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php”,“line”:163,“function”:“query”,“class”:“OC\ServerContainer”,“type”:“->”},{“file”:“/srv/dateien/html/nextcloud/3rdparty/pimple/pimple/src/Pimple/Container.php”,“line”:114,“function”:“OC\AppFramework\Utility\{closure}”,“class”:“OC\AppFramework\Utility\SimpleContainer”,“type”:“->”,“args”:[" sensitive parameters replaced ***”]},{“file”:“/srv/dateien/html/nextcloud/lib/private/ServerContainer.php”,“line”:124,“function”:“offsetGet”,“class”:“Pimple\Container”,“type”:“->”},{“file”:“/srv/dateien/html/nextcloud/lib/private/Server.php”,“line”:1891,“function”:“query”,“class”:“OC\ServerContainer”,“type”:“->”},{“file”:“/srv/dateien/html/nextcloud/lib/private/legacy/OC_App.php”,“line”:347,“function”:“getAppManager”,“class”:“OC\Server”,“type”:“->”},{“file”:“/srv/dateien/html/nextcloud/lib/private/legacy/OC_App.php”,“line”:114,“function”:“getEnabledApps”,“class”:“OC_App”,“type”:“::”},{“file”:“/srv/dateien/html/nextcloud/lib/base.php”,“line”:648,“function”:“loadApps”,“class”:“OC_App”,“type”:“::”},{“file”:“/srv/dateien/html/nextcloud/lib/base.php”,“line”:1095,“function”:“init”,“class”:“OC”,“type”:“::”},{“file”:“/srv/dateien/html/nextcloud/status.php”,“line”:37,“args”:[“/srv/dateien/html/nextcloud/lib/base.php”],“function”:“require_once”}],“File”:“/srv/dateien/html/nextcloud/lib/private/Memcache/Factory.php”,“Line”:98,“Hint”:“Is the matching PHP module installed and enabled?”,“CustomMessage”:“–”},“userAgent”:“Mozilla/5.0 (Linux) mirall/2.6.5-20200713.144448.adada8b2e-1.0~bionic1 (Nextcloud)”,“version”:“19.0.2.2”}
`
It says something about Redis not available for local cache, but I’m nearly sure that I configured Redis the same way as on php7.2.
Btw. I can switch back to php7.2, and everything is working fine, so I have no urgency.
My server is Ubuntu 18.04 LTS with apache2 2.4.29
Here is my config.php:
`
<?php
$CONFIG = array (
‘instanceid’ => ‘xxxxxxxxx’,
‘passwordsalt’ => ‘xxxxl’,
‘secret’ => ‘xxxx’,
‘trusted_domains’ =>
array (
0 => ‘xxxx.ddns.net’,
),
‘memcache.local’ => ‘\OC\Memcache\Redis’,
‘redis’ =>
array (
‘host’ => ‘localhost’,
‘port’ => 6379,
),
‘memcache.locking’ => ‘\OC\Memcache\Redis’,
‘datadirectory’ => ‘/srv/dateien/nextcloud/data’,
‘overwrite.cli.url’ => ‘https://xxxx.ddns.net/nextcloud’,
‘dbtype’ => ‘mysql’,
‘version’ => ‘19.0.2.2’,
‘dbname’ => ‘nextcloud’,
‘dbhost’ => ‘localhost’,
‘dbport’ => ‘’,
‘dbtableprefix’ => ‘oc_’,
‘dbuser’ => ‘USR’,
‘dbpassword’ => ‘PW’,
‘logtimezone’ => ‘UTC’,
‘installed’ => true,
‘maintenance’ => false,
‘mail_from_address’ => ‘carlo’,
‘mail_smtpmode’ => ‘sendmail’,
‘mail_domain’ => ‘x’,
‘mail_smtphost’ => ‘x’,
‘theme’ => ‘’,
‘loglevel’ => 2,
‘data-fingerprint’ => ‘x’,
‘mail_smtpport’ => ‘465’,
‘mail_smtpauthtype’ => ‘LOGIN’,
‘mail_smtpsecure’ => ‘ssl’,
‘mysql.utf8mb4’ => true,
‘has_rebuilt_cache’ => true,
‘defaultapp’ => ‘spreed’,
‘app_install_overwrite’ =>
array (
0 => ‘apporder’,
),
‘updater.release.channel’ => ‘stable’,
‘updater.secret’ => ‘x’,
);
`
Maybe someone can give me a hint what I am missing.
Thanks in advance