Nextcloud version (eg, 12.0.2): 15.0.2
Operating system and version (eg, Ubuntu 17.04): Raspbian buster
Apache or nginx version (eg, Apache 2.4.25): nginx 1.14.2
PHP version (eg, 7.1): PHP 7.2
The issue you are facing:
If I add 'memcache.local' => '\OC\Memcache\APCu',
to my nextcloud config it makes my Nextcloud unusable until I remove the line again. There is this error on Nextcloud if I add it:
Internal Server Error
The server encountered an internal error and was unable to complete your request.
Please contact the server administrator if this error reappears multiple times, please include the technical details below in your report.
More details can be found in the server log.
Is this the first time you’ve seen this error? (Y/N): Y
Steps to replicate it:
- I added
'memcache.local' => '\OC\Memcache\APCu',
to the config. - Refreshed my Nextcloud site.
The output of your Nextcloud log in Admin > Logging:
\\Memcache\\Factory"]},{"file":"\/var\/www\/[hidden for privacy reasons]\/public_html\/lib\/private\/ServerContainer.php","line":132,"function":"query","class":"OC\\AppFramework\\Utility\\SimpleContainer","type":"->","args":["OC\\Memcache\\Factory"]},{"file":"\/var\/www\/[hidden for privacy reasons]\/public_html\/lib\/private\/AppFramework\/Utility\/SimpleContainer.php","line":165,"function":"query","class":"OC\\ServerContainer","type":"->","args":["OC\\Memcache\\Factory"]},{"file":"\/var\/www\/[hidden for privacy reasons]\/public_html\/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":"\/var\/www\/[hidden for privacy reasons]\/public_html\/lib\/private\/AppFramework\/Utility\/SimpleContainer.php","line":117,"function":"offsetGet","class":"Pimple\\Container","type":"->","args":["MemCacheFactory"]},{"file":"\/var\/www\/[hidden for privacy reasons]\/public_html\/lib\/private\/ServerContainer.php","line":132,"function":"query","class":"OC\\AppFramework\\Utility\\SimpleContainer","type":"->","args":["MemCacheFactory"]},{"file":"\/var\/www\/[hidden for privacy reasons]\/public_html\/lib\/private\/Server.php","line":1533,"function":"query","class":"OC\\ServerContainer","type":"->","args":["MemCacheFactory"]},{"file":"\/var\/www\/[hidden for privacy reasons]\/public_html\/lib\/private\/Server.php","line":697,"function":"getMemCacheFactory","class":"OC\\Server","type":"->","args":[]},{"file":"\/var\/www\/[hidden for privacy reasons]\/public_html\/3rdparty\/pimple\/pimple\/src\/Pimple\/Container.php","line":118,"function":"OC\\{closure}","class":"OC\\Server","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"\/var\/www\/[hidden for privacy reasons]\/public_html\/lib\/private\/AppFramework\/Utility\/SimpleContainer.php","line":117,"function":"offsetGet","class":"Pimple\\Container","type":"->","args":["OC\\App\\AppManager"]},{"file":"\/var\/www\/[hidden for privacy reasons]\/public_html\/lib\/private\/ServerContainer.php","line":132,"function":"query","class":"OC\\AppFramework\\Utility\\SimpleContainer","type":"->","args":["OC\\App\\AppManager"]},{"file":"\/var\/www\/[hidden for privacy reasons]\/public_html\/lib\/private\/AppFramework\/Utility\/SimpleContainer.php","line":165,"function":"query","class":"OC\\ServerContainer","type":"->","args":["OC\\App\\AppManager"]},{"file":"\/var\/www\/[hidden for privacy reasons]\/public_html\/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":"\/var\/www\/[hidden for privacy reasons]\/public_html\/lib\/private\/AppFramework\/Utility\/SimpleContainer.php","line":117,"function":"offsetGet","class":"Pimple\\Container","type":"->","args":["AppManager"]},{"file":"\/var\/www\/[hidden for privacy reasons]\/public_html\/lib\/private\/ServerContainer.php","line":132,"function":"query","class":"OC\\AppFramework\\Utility\\SimpleContainer","type":"->","args":["AppManager"]},{"file":"\/var\/www\/[hidden for privacy reasons]\/public_html\/lib\/private\/Server.php","line":1723,"function":"query","class":"OC\\ServerContainer","type":"->","args":["AppManager"]},{"file":"\/var\/www\/[hidden for privacy reasons]\/public_html\/lib\/private\/legacy\/app.php","line":342,"function":"getAppManager","class":"OC\\Server","type":"->","args":[]},{"file":"\/var\/www\/[hidden for privacy reasons]\/public_html\/lib\/private\/legacy\/app.php","line":113,"function":"getEnabledApps","class":"OC_App","type":"::","args":[]},{"file":"\/var\/www\/[hidden for privacy reasons]\/public_html\/lib\/base.php","line":654,"function":"loadApps","class":"OC_App","type":"::","args":[["session"]]},{"file":"\/var\/www\/[hidden for privacy reasons]\/public_html\/lib\/base.php","line":1068,"function":"init","class":"OC","type":"::","args":[]},{"file":"\/var\/www\/[hidden for privacy reasons]\/public_html\/index.php","line":40,"args":["\/var\/www\/[hidden for privacy reasons]\/public_html\/lib\/base.php"],"function":"require_once"}],"File":"\/var\/www\/[hidden for privacy reasons]\/public_html\/lib\/private\/Memcache\/Factory.php","Line":99,"Hint":"Is the matching PHP module installed and enabled?","CustomMessage":"--"},"userAgent":"Mozilla\/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit\/537.36 (KHTML, like Gecko) Chrome\/71.0.3578.98 Safari\/537.36","version":"15.0.2.0"}
The output of your config.php file in /path/to/nextcloud
(make sure you remove any identifiable information!):
<?php
$CONFIG = array (
'instanceid' => 'xxxxxxxxxxxxxxx',
'passwordsalt' => 'xxxxxxxxxxxxxxx'
'secret' => 'xxxxxxxxxxxxxxxxxxxxxxxxxxxxx'
'trusted_domains' =>
array (
0 => 'xxxxxxxxxxxxxxxxxxxxxxx.xxx'
),
'datadirectory' => '/media/Nextcloud/data'
'dbtype' => 'mysql',
'version' => '15.0.2.0',
'overwrite.cli.url' => 'xxxxxxxxxxxxxxxxxxxx.xxx'
'dbname' => 'nextcloud',
'dbhost' => 'localhost',
'dbport' => '',
'dbtableprefix' => 'oc_',
'mysql.utf8mb4' => true,
'dbuser' => 'xxxxxxxxxx',
'dbpassword' => 'xxxxxxxxxxxxxxxxxx',
'installed' => true,
'mail_smtpmode' => 'smtp',
'mail_smtpsecure' => 'ssl',
'mail_sendmailmode' => 'smtp',
'mail_smtpauth' => 1,
'mail_smtpauthtype' => 'LOGIN',
'mail_smtpport' => '465',
'mail_smtphost' => 'xxxxxxxxxxxxxxxx',
'mail_domain' => 'xxxxxxxxxxxx',
'mail_from_address' => 'xxxxxxxxxxxxxxxx',
'mail_smtpname' => 'xxxxxxxxxxxxxxxxx',
'mail_smtppassword' => 'xxxxxxxxxxxxxxxxxxxxxxx',
'maintenance' => false,
'theme' => '',
'loglevel' => 2,
'updater.secret' => 'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx',
);