Redis configuration (Owncloud 10)


#1

Hey there,

I've setup a new instance of owncloud 10 on Ubuntu 16.04, and it has been working great. I was using APCu for memcache, but decided to install Redis to get rid of the pesky warning about Transactional File Locking.

When I add 'memcache.locking' => '\OC\Memcache\Redis' (and all the redis server info) to config.php, any new users are unable to login. Existing users are fine, but any new users created while Redis is enabled have to be deleted and recreated after it is disabled. For what it's worth, I don't see any issues when I add 'memcache.local' => '\OC\Memcache\Redis', but its hard to say if it is really working or not.

I think I probably have something wrong in my Redis server config. Would anyone be willing to post theirs?


#2

Mine is working with the second example shown here:

https://doc.owncloud.org/server/10.0/admin_manual/configuration_files/files_locking_transactional.html


#3

Thanks kljh. I think i have my owncloud config.php set up correctly. I think my problem is with the Redis redis.conf configuration.


#4

Would you mind telling me how you installed Redis? Thanks!


#5

Never mind. I was able to follow this method:

But had to make the change suggested in the comments for step #11. After doing that I was able to get Redis working on my OCX sites.


#6

Are you using apache or nginx? I'm on nginx, and wasn't able to get past this, so I reverted to my original set up. But if someone else on nginx has had success, I might try again.