CasaP wrote:All set up now, except for Memory Cache, so thank you for your (once again) great work Stephane.
Does anybody have any idea how to set up either Redis (preferable) or memcached?
I'm getting a lot of "Locked" errors.
Also, how do we run the occ command line commands in qNap, I get the Ubuntu syntax, but no idea how to replicate on the qNap. It would be great if somebody could do an a-z how to on this, I might attempt at the weekend, snowed here in work at the moment.
Thanks in advance
this worked for me.
EDIT: updated to using unix socket than port connection. Somehow QNAP resets the redis.conf back to port 0 after some time. So it disables the redis server connection through port 6379.
check redis is running with
you should see a line that says
3654 admin 3456 S /mnt/ext/opt/netmgr/util/redis/redis-server *:0
if it isn't running you'll need to start it with
Code: Select all
/mnt/ext/opt/netmgr/util/redis/start.sh start
check socket is available at /tmp
You should be see this response
netmgr-redis.sock=
edit the nextcloud config file
Code: Select all
vim /opt/NextCloud/nextcloud/config/config.php
add in the lines
Code: Select all
'memcache.local' => '\\OC\\Memcache\\APCu',
'memcache.locking' => '\\OC\\Memcache\\Redis',
'redis' =>
array (
'host' => '/tmp/netmgr-redis.sock',
'port' => 0,
'timeout' => 0.0,
),
restart nextcloud
done!
tested with TS453 with QTS4.3.3