Owncloud 10 fixing warnings

No memory cache has been configured

This issue can take a bit more time and decision making based on what memory cache you use. It is all well documented here. In my case I went with the recommended APCu solution. First I installed APCu with

sudo apt-get install php-apcu

Then you should restart your web server, with the first line below. Then you ned to go and edit the config file config.php which lives in /var/www/owncloud/config adding ‘memcache.local’ => ‘\OC\Memcache\APCu’,.

sudo service ngnix restart
Transactional file locking should be configured to use memory-based locking, not the default slow database-based locking.

This is also documented in the link for first issue. You need to install Redis like so

sudo apt-get install redis-server php-redis

Then to the config you need to add the following lines:

  'redis' => [
  'host' => 'localhost',
  'port' => 6379,
],
  'memcache.locking' => '\OC\Memcache\Redis',

Leave a Comment