synchro is almost impossible, too many files or chunk files are lock.
To resume for a while my synchro, i need to open my phpadmin, do a sql query to find"Select * FROM oc_file_locks
WHERE 1" and then deleted the selected files.
What a pain in the ass !!!
Do anyone have a solution to bypass the locking files or to fix this issue ??
Thanks
i did, and i am pretty sure is related due to yhe debian update to 9.5 ( redis was part of the updated packages ) unfortunatly, i am quiete busy those days and i really miss time to investigate:
<?php
$CONFIG = array (
'instanceid' => 'oczplgyolm75',
'passwordsalt' => '00000000',
'secret' => '00000000',
'trusted_domains' =>
array (
0 => '00000000',
),
'datadirectory' => '/mnt/raid6/nextcloud',
'overwrite.cli.url' => 'https://00000000',
'dbtype' => 'mysql',
'version' => '13.0.4.0',
'dbname' => 'nextcloudDB',
'dbhost' => 'localhost:3306',
'dbport' => '',
'dbtableprefix' => 'oc_',
'dbuser' => 'oc_nextadmin',
'dbpassword' => '0000000',
'installed' => true,
'mail_smtpmode' => 'smtp',
'mail_smtpauthtype' => 'LOGIN',
'mail_smtpsecure' => 'ssl',
'mail_from_address' => 'tech',
'mail_domain' => '000000',
'mail_smtpauth' => 1,
'mail_smtphost' => 'smtp.sendgrid.net',
'mail_smtpport' => '465',
'mail_smtpname' => 'apikey',
'mail_smtppassword' => 'redacted
'cache_chunk_gc_ttl' => 86400,
'filelocking.ttl' => 3600,
'auth.bruteforce.protection.enabled' => false,
'maintenance' => false,
'loglevel' => 2,
Thx
Sanook
July 24, 2018, 8:04am
4
stratege1401:
i did,
But you did not configure Nextcloud.
This is missing:
redis-server -v
systemctl status redis
systemctl enable redis # enable autostart
php --ri redis # check redis support in php
phpenmod redis
vi /var/www/nextcloud/config/config.php
'memcache.distributed' => '\\OC\\Memcache\\Redis',
'memcache.locking' => '\\OC\\Memcache\\Redis',
'memcache.local' => '\\OC\\Memcache\\APCu',
'redis' => array(
'host' => 'localhost',
'port' => 6379,
),
1 Like
i get it.
I download the bad test files to a live server …
feel so stupid.
THX a LOT !!!
justed changed to 'memcache.local' => '\OC\Memcache\Redis',
as i dont use acpu for local cache …
updtade to 9.5 did not break the
php --ri redis
redis
Redis Support => enabled
Redis Version => 3.1.1
Available serializers => php, igbinary