Nextcloud version (eg, 10.0.2): 11.0.1
Operating system and version (eg, Ubuntu 16.04): Debian 9
Apache or nginx version (eg, Apache 2.4.25): Apache/2.4.10
PHP version (eg, 5.6):7.0 from dotdeb
Is this the first time you’ve seen this error?: Yes , new installation
Can you reliably replicate it? (If so, please outline steps)
In config.php include:
‘memcache.local’ => ‘\OC\Memcache\APCu’,
The issue you are facing:
Every page gives
Memcache \OC\Memcache\APCu not available for local cache Is the matching PHP module installed and enabled?
The output of your Nextcloud log in Admin > Logging: not available, nextcloud.log contains
{“reqId”:“gXTrIt08g+Bqg8/OShOy”,“remoteAddr”:“84.44.248.73”,“app”:“PHP”,“message”:“OC\HintException: Memcache \OC\Memcache\APCu not available for local cache at /var/www/nextcloud/lib/private/Memcache/Factory.php#96”,“level”:3,“time”:“2017-02-25T20:47:58+00:00”,“method”:“GET”,“url”:"/ocs/v2.php/apps/notifications/api/v2/notifications",“user”:"–",“version”:“11.0.1.2”}
{“reqId”:“TbXolNjSU7APCTEXiIzu”,“remoteAddr”:“84.44.248.73”,“app”:“core”,“message”:“Memcache \OC\Memcache\APCu not available for local cache Is the matching PHP module installed and enabled?”,“level”:3,“time”:“2017-02-25T20:48:00+00:00”,“method”:“GET”,“url”:"/index.php/settings/admin",“user”:"–",“version”:“11.0.1.2”}
{“reqId”:“TbXolNjSU7APCTEXiIzu”,“remoteAddr”:“84.44.248.73”,“app”:“core”,“message”:“Exception: {“Exception”:“OC\\HintException”,“Message”:“Memcache \\OC\\Memcache\\APCu not available for local cache”,“Code”:0,“Trace”:”#0 \/var\/www\/nextcloud\/lib\/private\/Server.php(383): OC\\Memcache\\Factory->__construct(‘f6d507bd295969a…’, Object(OC\\Log), ‘\\\\OC\\\\Memcache\\\\AP…’, ‘\\\\OC\\\\Memcache\\\\AP…’, NULL)\n#1 \/var\/www\/nextcloud\/3rdparty\/pimple\/pimple\/src\/Pimple\/Container.php(113): OC\\Server->OC\\{closure}(Object(OC\\Server))\n#2 \/var\/www\/nextcloud\/lib\/private\/AppFramework\/Utility\/SimpleContainer.php(115): Pimple\\Container->offsetGet(‘MemCacheFactory’)\n#3 \/var\/www\/nextcloud\/lib\/private\/ServerContainer.php(89): OC\\AppFramework\\Utility\\SimpleContainer->query(‘MemCacheFactory’)\n#4 \/var\/www\/nextcloud\/lib\/private\/Server.php(1097): OC\\ServerContainer->query(‘MemCacheFactory’)\n#5 \/var\/www\/nextcloud\/lib\/private\/Server.php(343): OC\\Server->getMemCacheFactory()\n#6 \/var\/www\/nextcloud\/3rdparty\/pimple\/pimple\/src\/Pimple\/Container.php(113): OC\\Server->OC\\{closure}(Object(OC\\Server))\n#7 \/var\/www\/nextcloud\/lib\/private\/AppFramework\/Utility\/SimpleContainer.php(115): Pimple\\Container->offsetGet(‘URLGenerator’)\n#8 \/var\/www\/nextcloud\/lib\/private\/ServerContainer.php(89): OC\\AppFramework\\Utility\\SimpleContainer->query(‘URLGenerator’)\n#9 \/var\/www\/nextcloud\/lib\/private\/Server.php(1063): OC\\ServerContainer->query(‘URLGenerator’)\n#10 \/var\/www\/nextcloud\/lib\/private\/legacy\/template\/functions.php(170): OC\\Server->getURLGenerator()\n#11 \/var\/www\/nextcloud\/core\/templates\/layout.guest.php(13): image_path(’’, ‘favicon.ico’)\n#12 \/var\/www\/nextcloud\/lib\/private\/Template\/Base.php(174): include(’\/var\/www\/nextcl…’)\n#13 \/var\/www\/nextcloud\/lib\/private\/Template\/Base.php(149): OC\\Template\\Base->load(’\/var\/www\/nextcl…’, NULL)\n#14 \/var\/www\/nextcloud\/lib\/private\/legacy\/template.php(229): OC\\Template\\Base->fetchPage(NULL)\n#15 \/var\/www\/nextcloud\/lib\/private\/legacy\/template.php(251): OC_Template->fetchPage()\n#16 \/var\/www\/nextcloud\/lib\/private\/Template\/Base.php(130): OC_Template->fetchPage()\n#17 \/var\/www\/nextcloud\/lib\/private\/legacy\/template.php(331): OC\\Template\\Base->printPage()\n#18 \/var\/www\/nextcloud\/index.php(50): OC_Template::printErrorPage(‘Memcache \\\\OC\\\\Me…’, ‘Is the matching…’)\n#19 {main}",“File”:"\/var\/www\/nextcloud\/lib\/private\/Memcache\/Factory.php",“Line”:96}",“level”:3,“time”:“2017-02-25T20:48:00+00:00”,“method”:“GET”,“url”:"/index.php/setti
The output of your config.php file in /path/to/nextcloud
(make sure you remove any identifiable information!):