Getting Transactional file locking should be configured to use memory-based locking

I have upgraded my owncloud from 9 to version 10.0.8. I am running Ubuntu 16.04.4
So far it’s working fine
I have enabled also the use of memcache.local

I am getting a warning saying Transactional file locking should be configured to use memory-based locking

I’ve installed redis by following instruction here. I tested, it’s working fine.

I’ve activated the use of Transactional File Locking by following this guide.

However, despite doing it, I am still getting a warning saying Transactional file locking should be configured to use memory-based locking

Here’s my memcache setting in config.php
‘memcache.local’ => ‘\OC\Memcache\APCu’,
‘filelocking.enabled’ => true,
‘memcache.locking’ => ‘\OC\Memcache\Redis’,
‘redis’ => [
‘host’ => ‘localhost’,
‘port’ => 6379,
‘timeout’ => 0.0,
‘password’ => ‘’, // Optional, if not defined no password will be used.
],

Could it be a caching issue? Try to restart apache or the empty the cache by refreshing the page with ctrl + F5

Hi dmitry,

I tried doing that, even restarting the server. But it shows the same.

Regards,
Edmon Uyan

could you stop and start the redis-server service?

I restarted the redis service by typing

sudo systemctl restart redis

So far, it’s still showing this alert:

Security & setup warnings
Transactional file locking should be configured to use memory-based locking, not the default slow database-based locking. See the documentation ↗ for more information.

This is what appears:

This is my config.php

I got it to work. Re-read the instruction and found that redis is not enough. I’ve not read that Redis needs phpredis installed as well!

There was no problem with config.php at all.

1 Like

Glad to hear that the doc helped you out :slight_smile:

Yah! Appreciate your help as well :slight_smile: