Tras actualizar la versión de OC a 10.3.0, según se indica en la documentación, ha dejado de estar funcional la subida o descarga de ficheros. Al intentarlo aparece el mensaje: "Redis server went away"
Al cambiar en config.php
la línea de "filelocking.enabled"
de true
a false
OC vuelve a funcionar correctamente, aunque en el panel de administración apartado de Avisos de seguridad y configuración, aparece el mensaje: “El bloqueo de archivos transaccional está desactivado, esto podría conducir a problemas con ‘race conditions’. Active ‘filelocking.enabled’ en ‘config.php’ para solucionar esos problemas.”
Antes de actualizar, funcionaba todo correctamente.
Agradezco cualquier ayuda que me puedan aportar.
Gracias.
Steps to reproduce
- Cargar un fichero en OC
- Borrar un fichero en OC
- Descargar un fichero en OC
Expected behaviour
Poder usar OC para subir y descargar mis ficheros.
Actual behaviour
Mensaje de error: Redis server went away
Server configuration
Linux MInt 19.1
Web server:
~$ sudo apachectl -v
Server version: Apache/2.4.29 (Ubuntu)
Server built: 2019-09-16T12:58:48
Database:
~$ sudo mysql --version
mysql Ver 14.14 Distrib 5.7.27, for Linux (x86_64) using EditLine wrapper
PHP version:
~$ php -v
PHP 7.2.24-0ubuntu0.18.04.1 (cli) (built: Oct 28 2019 12:07:07) ( NTS )
Copyright (c) 1997-2018 The PHP Group
Zend Engine v3.2.0, Copyright (c) 1998-2018 Zend Technologies
with Zend OPcache v7.2.24-0ubuntu0.18.04.1, Copyright (c) 1999-2018, by Zend Technologies
ownCloud version: (see ownCloud admin page)
/var/www/html/owncloud$ sudo -u www-data php occ
ownCloud 10.3.0
Updated from an older ownCloud or fresh install:
Upgrade desde 10.2.1
Where did you install ownCloud from:
Instalado desde el repositorio según la documentación
Signing status (ownCloud 9.0 and above):
“No errors have been found.”
The content of config/config.php:
{ "system": {
"instanceid": "oc9i72ceur1t",
"passwordsalt": "***REMOVED SENSITIVE VALUE***",
"secret": "***REMOVED SENSITIVE VALUE***",
"trusted_domains": [
"localhost",
"owncloud.visuarq.com"
],
"datadirectory": "\/var\/www\/html\/owncloud\/data",
"overwrite.cli.url": "http:\/\/localhost\/owncloud",
"dbtype": "mysql",
"version": "10.3.0.4",
"dbname": "owncloud",
"dbhost": "localhost",
"dbtableprefix": "oc_",
"mysql.utf8mb4": true,
"dbuser": "***REMOVED SENSITIVE VALUE***",
"dbpassword": "***REMOVED SENSITIVE VALUE***",
"logtimezone": "UTC",
"apps_paths": [
{
"path": "\/var\/www\/html\/owncloud\/apps",
"url": "\/apps",
"writable": false
},
{
"path": "\/var\/www\/html\/owncloud\/apps-external",
"url": "\/apps-external",
"writable": true
}
],
"installed": true,
"loglevel": 3,
"mail_domain": "***REMOVED SENSITIVE VALUE***",
"mail_from_address": "***REMOVED SENSITIVE VALUE***",
"mail_smtpmode": "smtp",
"memcache.local": "\\OC\\Memcache\\APCu",
"filelocking.enabled": true,
"memcache.locking": "\\OC\\Memcache\\Redis",
"redis": {
"host": "localhost",
"port": 6397
},
"mail_smtpport": "587",
"mail_smtpsecure": "ssl",
"mail_smtpauthtype": "LOGIN",
"mail_smtphost": "***REMOVED SENSITIVE VALUE***",
"mail_smtpauth": 1,
"mail_smtpname": "***REMOVED SENSITIVE VALUE***",
"mail_smtppassword": "***REMOVED SENSITIVE VALUE***",
"maintenance": false,
"theme": ""
},
"apps": {
"backgroundjob": {
"lastjob": "14"
},
"comments": {
"enabled": "no",
"installed_version": "0.3.0",
"types": "logging,dav"
},
"configreport": {
"enabled": "yes",
"installed_version": "0.2.0",
"types": "filesystem"
},
"core": {
"backgroundjobs_mode": "cron",
"default_encryption_module": "OC_DEFAULT_MODULE",
"enable_external_storage": "no",
"first_install_version": "10.2.1.4",
"installedat": "1564003525.145",
"lastcron": "1573138804",
"lastupdateResult": "[]",
"lastupdatedat": "1573138055",
"oc.integritycheck.checker": "[]",
"public_files": "files_sharing\/public.php",
"public_webdav": "dav\/appinfo\/v1\/publicwebdav.php",
"umgmt_set_password": "false",
"umgmt_show_backend": "false",
"umgmt_show_email": "false",
"umgmt_show_last_login": "false",
"umgmt_show_storage_location": "true",
"vendor": "owncloud"
},
"dav": {
"enabled": "yes",
"installed_version": "0.5.0",
"types": "filesystem"
},
"encryption": {
"enabled": "yes",
"installed_version": "1.4.0",
"masterKeyId": "master_2fc1826f",
"publicShareKeyId": "pubShare_2fc1826f",
"recoveryKeyId": "recoveryKey_2fc1826f",
"types": "filesystem",
"userSpecificKey": "1"
},
"external": {
"enabled": "no",
"installed_version": "1.4.0",
"types": ""
},
"federatedfilesharing": {
"enabled": "yes",
"installed_version": "0.5.0",
"types": "filesystem"
},
"federation": {
"enabled": "yes",
"installed_version": "0.1.0",
"types": "authentication"
},
"files": {
"cronjob_scan_files": "500",
"enabled": "yes",
"installed_version": "1.5.2",
"types": "filesystem"
},
"files_external": {
"enabled": "yes",
"installed_version": "0.7.1",
"types": "filesystem"
},
"files_mediaviewer": {
"enabled": "no",
"installed_version": "1.0.0",
"types": ""
},
"files_sharing": {
"enabled": "yes",
"installed_version": "0.12.0",
"types": "filesystem"
},
"files_trashbin": {
"enabled": "yes",
"installed_version": "0.9.1",
"types": "filesystem"
},
"files_versions": {
"enabled": "yes",
"installed_version": "1.3.0",
"types": "filesystem"
},
"files_videoplayer": {
"enabled": "no",
"installed_version": "0.10.1",
"types": ""
},
"firstrunwizard": {
"enabled": "no",
"installed_version": "1.2.0",
"types": ""
},
"market": {
"enabled": "no",
"installed_version": "0.5.0",
"key": null,
"types": ""
},
"notifications": {
"enabled": "yes",
"installed_version": "0.5.0",
"types": "logging"
},
"provisioning_api": {
"enabled": "yes",
"installed_version": "0.5.0",
"types": "prevent_group_restriction"
},
"systemtags": {
"enabled": "no",
"installed_version": "0.3.0",
"types": "logging"
},
"updatenotification": {
"core": "10.3.0",
"enabled": "yes",
"installed_version": "0.2.1",
"types": ""
},
"user_external": {
"enabled": "no",
"installed_version": "0.5.0",
"types": "authentication,prelogin"
}
}
}
List of activated apps:
Enabled:
- configreport: 0.2.0
- dav: 0.5.0
- encryption: 1.4.0
- federatedfilesharing: 0.5.0
- federation: 0.1.0
- files: 1.5.2
- files_external: 0.7.1
- files_sharing: 0.12.0
- files_trashbin: 0.9.1
- files_versions: 1.3.0
- notifications: 0.5.0
- provisioning_api: 0.5.0
- updatenotification: 0.2.1
Disabled:
- comments
- external
- files_mediaviewer
- firstrunwizard
- market
- systemtags
- user_external
Are you using external storage, if yes which one: local/smb/sftp/…
No
Are you using encryption: yes/no
No
Are you using an external user-backend, if yes which one: LDAP/ActiveDirectory/Webdav/…
No
Client configuration
Browser:
Chrome, IE
Operating system:
Windows 10
Logs
Web server error log
[Thu Nov 07 00:06:24.607965 2019] [mpm_prefork:notice] [pid 15667] AH00163: Apa$
[Thu Nov 07 00:06:24.612669 2019] [core:notice] [pid 15667] AH00094: Command li$
[Thu Nov 07 02:21:37.287994 2019] [php7:error] [pid 17951] [client 94.102.56.15$
[Thu Nov 07 03:04:07.515319 2019] [php7:error] [pid 17954] [client 112.66.96.16$
[Thu Nov 07 05:01:14.295662 2019] [php7:error] [pid 17953] [client 176.187.118.$
[Thu Nov 07 05:22:07.585229 2019] [php7:error] [pid 17950] [client 184.105.247.$
[Thu Nov 07 09:01:20.879090 2019] [php7:error] [pid 17954] [client 128.14.209.2$
[Thu Nov 07 15:26:08.405045 2019] [php7:error] [pid 17952] [client 54.188.244.9$
[Thu Nov 07 15:29:23.280001 2019] [php7:error] [pid 32114] [client 128.14.209.2$
ownCloud log (data/owncloud.log)
{"reqId":"KdX1cvwvHpIJkQv3Ytdu","level":4,"time":"2019-11-07T14:23:14+00:00","remoteAddr":"217.130.135.75","user":"danielgaspar","app":"webdav","method":"DELETE","url":"\/owncloud\/remote.php\/dav\/files\/danielgaspar\/Prueba%20DWG\/83472_T.dwg","message":"Exception: Redis server went away: {\"Exception\":\"RedisException\",\"Message\":\"Redis server went away\",\"Code\":0,\"Trace\":\"#0 \\\/var\\\/www\\\/html\\\/owncloud\\\/lib\\\/private\\\/Memcache\\\/Redis.php(111): Redis->incrBy('93fbf0b093ae108...', 1)\\n#1 \\\/var\\\/www\\\/html\\\/owncloud\\\/lib\\\/private\\\/Lock\\\/MemcacheLockingProvider.php(79): OC\\\\Memcache\\\\Redis->inc('files\\\/6928b3082...')\\n#2 \\\/var\\\/www\\\/html\\\/owncloud\\\/lib\\\/private\\\/Files\\\/Storage\\\/Common.php(658): OC\\\\Lock\\\\MemcacheLockingProvider->acquireLock('files\\\/6928b3082...', 1)\\n#3 \\\/var\\\/www\\\/html\\\/owncloud\\\/lib\\\/private\\\/Files\\\/Storage\\\/Wrapper\\\/Wrapper.php(592): OC\\\\Files\\\\Storage\\\\Common->acquireLock('files\\\/Prueba DW...', 1, Object(OC\\\\Lock\\\\MemcacheLockingProvider))\\n#4 \\\/var\\\/www\\\/html\\\/owncloud\\\/lib\\\/private\\\/Files\\\/Storage\\\/Wrapper\\\/Wrapper.php(592): OC\\\\Files\\\\Storage\\\\Wrapper\\\\Wrapper->acquireLock('files\\\/Prueba DW...', 1, Object(OC\\\\Lock\\\\MemcacheLockingProvider))\\n#5 \\\/var\\\/www\\\/html\\\/owncloud\\\/lib\\\/private\\\/Files\\\/Storage\\\/Wrapper\\\/Wrapper.php(592): OC\\\\Files\\\\Storage\\\\Wrapper\\\\Wrapper->acquireLock('files\\\/Prueba DW...', 1, Object(OC\\\\Lock\\\\MemcacheLockingProvider))\\n#6 \\\/var\\\/www\\\/html\\\/owncloud\\\/lib\\\/private\\\/Files\\\/View.php(1997): OC\\\\Files\\\\Storage\\\\Wrapper\\\\Wrapper->acquireLock('files\\\/Prueba DW...', 1, Object(OC\\\\Lock\\\\MemcacheLockingProvider))\\n#7 \\\/var\\\/www\\\/html\\\/owncloud\\\/lib\\\/private\\\/Files\\\/View.php(2100): OC\\\\Files\\\\View->lockPath('\\\/Prueba DWG\\\/834...', 1, false)\\n#8 \\\/var\\\/www\\\/html\\\/owncloud\\\/lib\\\/private\\\/Files\\\/View.php(1191): OC\\\\Files\\\\View->lockFile('\\\/Prueba DWG\\\/834...', 1)\\n#9 \\\/var\\\/www\\\/html\\\/owncloud\\\/lib\\\/private\\\/Files\\\/View.php(756): OC\\\\Files\\\\View->basicOperation('unlink', '\\\/Prueba DWG\\\/834...', Array)\\n#10 \\\/var\\\/www\\\/html\\\/owncloud\\\/lib\\\/public\\\/Events\\\/EventEmitterTrait.php(50): OC\\\\Files\\\\View->OC\\\\Files\\\\{closure}(Array)\\n#11 \\\/var\\\/www\\\/html\\\/owncloud\\\/lib\\\/private\\\/Files\\\/View.php(766): OC\\\\Files\\\\View->emittingCall(Object(Closure), Array, 'file', 'delete')\\n#12 \\\/var\\\/www\\\/html\\\/owncloud\\\/apps\\\/dav\\\/lib\\\/Connector\\\/Sabre\\\/File.php(424): OC\\\\Files\\\\View->unlink('\\\/Prueba DWG\\\/834...')\\n#13 \\\/var\\\/www\\\/html\\\/owncloud\\\/lib\\\/composer\\\/sabre\\\/dav\\\/lib\\\/DAV\\\/Tree.php(183): OCA\\\\DAV\\\\Connector\\\\Sabre\\\\File->delete()\\n#14 \\\/var\\\/www\\\/html\\\/owncloud\\\/lib\\\/composer\\\/sabre\\\/dav\\\/lib\\\/DAV\\\/CorePlugin.php(295): Sabre\\\\DAV\\\\Tree->delete('files\\\/danielgas...')\\n#15 \\\/var\\\/www\\\/html\\\/owncloud\\\/lib\\\/composer\\\/sabre\\\/event\\\/lib\\\/WildcardEmitterTrait.php(96): Sabre\\\\DAV\\\\CorePlugin->httpDelete(Object(Sabre\\\\HTTP\\\\Request), Object(Sabre\\\\HTTP\\\\Response))\\n#16 \\\/var\\\/www\\\/html\\\/owncloud\\\/lib\\\/composer\\\/sabre\\\/dav\\\/lib\\\/DAV\\\/Server.php(464): Sabre\\\\DAV\\\\Server->emit('method:DELETE', Array)\\n#17 \\\/var\\\/www\\\/html\\\/owncloud\\\/lib\\\/composer\\\/sabre\\\/dav\\\/lib\\\/DAV\\\/Server.php(241): Sabre\\\\DAV\\\\Server->invokeMethod(Object(Sabre\\\\HTTP\\\\Request), Object(Sabre\\\\HTTP\\\\Response))\\n#18 \\\/var\\\/www\\\/html\\\/owncloud\\\/apps\\\/dav\\\/lib\\\/Server.php(326): Sabre\\\\DAV\\\\Server->start()\\n#19 \\\/var\\\/www\\\/html\\\/owncloud\\\/apps\\\/dav\\\/appinfo\\\/v2\\\/remote.php(31): OCA\\\\DAV\\\\Server->exec()\\n#20 \\\/var\\\/www\\\/html\\\/owncloud\\\/remote.php(165): require_once('\\\/var\\\/www\\\/html\\\/o...')\\n#21 {main}\",\"File\":\"\\\/var\\\/www\\\/html\\\/owncloud\\\/lib\\\/private\\\/Memcache\\\/Redis.php\",\"Line\":111}"}
{"reqId":"LOHHLAQf5uRBJ8CFwx4C","level":4,"time":"2019-11-07T15:11:06+00:00","remoteAddr":"217.130.135.75","user":"danielgaspar","app":"webdav","method":"PUT","url":"\/owncloud\/remote.php\/dav\/files\/danielgaspar\/Espermiograma.pdf","message":"Exception: Redis server went away: {\"Exception\":\"RedisException\",\"Message\":\"Redis server went away\",\"Code\":0,\"Trace\":\"#0 \\\/var\\\/www\\\/html\\\/owncloud\\\/lib\\\/private\\\/Memcache\\\/Redis.php(111): Redis->incrBy('93fbf0b093ae108...', 1)\\n#1 \\\/var\\\/www\\\/html\\\/owncloud\\\/lib\\\/private\\\/Lock\\\/MemcacheLockingProvider.php(79): OC\\\\Memcache\\\\Redis->inc('files\\\/eb6e566d9...')\\n#2 \\\/var\\\/www\\\/html\\\/owncloud\\\/lib\\\/private\\\/Files\\\/Storage\\\/Common.php(658): OC\\\\Lock\\\\MemcacheLockingProvider->acquireLock('files\\\/eb6e566d9...', 1)\\n#3 \\\/var\\\/www\\\/html\\\/owncloud\\\/lib\\\/private\\\/Files\\\/Storage\\\/Wrapper\\\/Wrapper.php(592): OC\\\\Files\\\\Storage\\\\Common->acquireLock('files\\\/Espermiog...', 1, Object(OC\\\\Lock\\\\MemcacheLockingProvider))\\n#4 \\\/var\\\/www\\\/html\\\/owncloud\\\/lib\\\/private\\\/Files\\\/Storage\\\/Wrapper\\\/Wrapper.php(592): OC\\\\Files\\\\Storage\\\\Wrapper\\\\Wrapper->acquireLock('files\\\/Espermiog...', 1, Object(OC\\\\Lock\\\\MemcacheLockingProvider))\\n#5 \\\/var\\\/www\\\/html\\\/owncloud\\\/lib\\\/private\\\/Files\\\/Storage\\\/Wrapper\\\/Wrapper.php(592): OC\\\\Files\\\\Storage\\\\Wrapper\\\\Wrapper->acquireLock('files\\\/Espermiog...', 1, Object(OC\\\\Lock\\\\MemcacheLockingProvider))\\n#6 \\\/var\\\/www\\\/html\\\/owncloud\\\/lib\\\/private\\\/Files\\\/View.php(1997): OC\\\\Files\\\\Storage\\\\Wrapper\\\\Wrapper->acquireLock('files\\\/Espermiog...', 1, Object(OC\\\\Lock\\\\MemcacheLockingProvider))\\n#7 \\\/var\\\/www\\\/html\\\/owncloud\\\/lib\\\/private\\\/Files\\\/View.php(2100): OC\\\\Files\\\\View->lockPath('Espermiograma.p...', 1, false)\\n#8 \\\/var\\\/www\\\/html\\\/owncloud\\\/lib\\\/private\\\/Files\\\/View.php(1383): OC\\\\Files\\\\View->lockFile('Espermiograma.p...', 1)\\n#9 \\\/var\\\/www\\\/html\\\/owncloud\\\/lib\\\/private\\\/Files\\\/View.php(1430): OC\\\\Files\\\\View->getCacheEntry(Object(OCA\\\\Files_Trashbin\\\\Storage), 'files\\\/Espermiog...', 'Espermiograma.p...')\\n#10 \\\/var\\\/www\\\/html\\\/owncloud\\\/apps\\\/dav\\\/lib\\\/Connector\\\/Sabre\\\/ObjectTree.php(179): OC\\\\Files\\\\View->getFileInfo('\\\/danielgaspar\\\/f...')\\n#11 \\\/var\\\/www\\\/html\\\/owncloud\\\/apps\\\/dav\\\/lib\\\/Tree.php(70): OCA\\\\DAV\\\\Connector\\\\Sabre\\\\ObjectTree->getNodeForPath('Espermiograma.p...')\\n#12 \\\/var\\\/www\\\/html\\\/owncloud\\\/apps\\\/dav\\\/lib\\\/Connector\\\/Sabre\\\/LockPlugin.php(63): OCA\\\\DAV\\\\Tree->getNodeForPath('files\\\/danielgas...')\\n#13 \\\/var\\\/www\\\/html\\\/owncloud\\\/lib\\\/composer\\\/sabre\\\/event\\\/lib\\\/WildcardEmitterTrait.php(96): OCA\\\\DAV\\\\Connector\\\\Sabre\\\\LockPlugin->getLock(Object(Sabre\\\\HTTP\\\\Request), Object(Sabre\\\\HTTP\\\\Response))\\n#14 \\\/var\\\/www\\\/html\\\/owncloud\\\/lib\\\/composer\\\/sabre\\\/dav\\\/lib\\\/DAV\\\/Server.php(448): Sabre\\\\DAV\\\\Server->emit('beforeMethod:PU...', Array)\\n#15 \\\/var\\\/www\\\/html\\\/owncloud\\\/lib\\\/composer\\\/sabre\\\/dav\\\/lib\\\/DAV\\\/Server.php(241): Sabre\\\\DAV\\\\Server->invokeMethod(Object(Sabre\\\\HTTP\\\\Request), Object(Sabre\\\\HTTP\\\\Response))\\n#16 \\\/var\\\/www\\\/html\\\/owncloud\\\/apps\\\/dav\\\/lib\\\/Server.php(326): Sabre\\\\DAV\\\\Server->start()\\n#17 \\\/var\\\/www\\\/html\\\/owncloud\\\/apps\\\/dav\\\/appinfo\\\/v2\\\/remote.php(31): OCA\\\\DAV\\\\Server->exec()\\n#18 \\\/var\\\/www\\\/html\\\/owncloud\\\/remote.php(165): require_once('\\\/var\\\/www\\\/html\\\/o...')\\n#19 {main}\",\"File\":\"\\\/var\\\/www\\\/html\\\/owncloud\\\/lib\\\/private\\\/Memcache\\\/Redis.php\",\"Line\":111}"}