(I apologize if this isn’t formatted correctly as I don’t know how)
I’m setting up my first NextCloud install and trying to resolve the issue:
No memory cache has been configured. To enhance your performance please configure a memcache if available. Further information can be found in our documentation.
Please double check the installation guides , and check for any errors or warnings in the log.
I have read lots of documentation on this issue. I’m familiar with a lot of the concepts, but I’m still learning. I have read the following links:
as well as many more. Every time I try to install APCu and add the memcache.local line to config.php it no longer allows me to log into NextCloud on a broswer or any app. I get the following error:
This page isn’t working
https://myexamplesite.com/nextcloud is currently unable to handle this request.
HTTP ERROR 503
Nextcloud version 12.0.2
Operating system and version _Raspbian (Raspberry Pi 2)
Apache or nginx version _Apache2
PHP version _5
Is this the first time you’ve seen this error?: Yes, Fresh Install of NextCloud
Can you reliably replicate it? (If so, please outline steps): Adding memcache.local to config.php will cause https://myexample.com/nextcloud not to load.
The issue you are facing:
memcache.local causes an issue where nextcloud does not load on browser, and can not access in any mobile app.
The output of your Nextcloud log in Admin > Logging:
Memcache \OC\Memcache\APCu not available for local cache
The output of your config.php file in
/path/to/nextcloud (make sure you remove any identifiable information!):
$CONFIG = array (
‘instanceid’ => removed info
’passwordsalt’ =>removed info
’secret’ => removed info
’trusted_domains’ => removed info
0 => my ip
1 => myexample.com/nextcloud
‘datadirectory’ => ‘/var/nextcloud/data’,
‘overwrite.cli.url’ => myip/nextcloud
’dbtype’ => ‘sqlite3’,
‘version’ => ‘126.96.36.199’,
‘installed’ => true,
‘mail_from_address’ => removed info
’mail_smtpmode’ => ‘php’,
‘mail_smtpauthtype’ => ‘LOGIN’,
‘mail_domain’ => ‘gmail.com’,
I have also tried adding:
‘memcache.local’ => ‘\OC\Memcache\APCu’,
‘memcache.locking’ => ‘\OC\Memcache\Redis’,
‘filelocking.enabled’ => ‘true’,
‘host’ => ‘/var/run/redis/redis.sock’,
‘port’ => 0,
‘timeout’ => 0.0,
as well as
’memcache.local’ => ‘\OC\Memcache\APC’,
with no success.
The output of your Apache/nginx/system log in
Sep 16 06:25:15 user liblogging-stdlog: [origin software=“rsyslogd” swVe$
Sep 16 06:39:01 user CRON: (root) CMD ( [ -x /usr/lib/php/session$
Sep 16 06:39:01 user CRON: (root) CMD ( [ -x /usr/lib/php5/sessio$
Sep 16 06:39:29 user systemd: Starting Clean php session files…
Sep 16 06:39:29 user systemd: Started Clean php session files.
Sep 16 07:09:01 user CRON: (root) CMD ( [ -x /usr/lib/php/session$
Sep 16 07:09:01 user CRON: (root) CMD ( [ -x /usr/lib/php5/sessio$
Remember, this information may be requested if it isn’t supplied; for fastest response please provide as much as you can Feel free to use a pastebin service, otherwise log files can be indented with 4 spaces on each line to present them in a friendlier way on the forum.