Impossible to open file for a new user - multikeydecrypt with share key

Steps to reproduce

  1. Create new user part of a group
  2. User clic on a file shared with the group
  3. The file is not opening. (However, the same file open with a another user)

Expected behaviour

The file should open

Actual behaviour

The file does not show.
In the log, we see : multi key decrypt with shared key failed:error:04065084:rsa routines:rsa_ossl_private_decrypt:data too large for modulus:

However the file is not much large. (119Ko)

Server configuration

Operating system:
Linux Debian 9
Web server:
nginx
Database:
postgres
PHP version:
7
ownCloud version: (see ownCloud admin page)
10.0.0.4
Updated from an older ownCloud or fresh install:
updated from 10.0.0.1
Where did you install ownCloud from:
Owncloud depot
Signing status (ownCloud 9.0 and above):
e.


No errors have been found.


and other details in a well sanitized form.
{
    "basic": {
        "license key": "***REMOVED SENSITIVE VALUE***",
        "date": "Tue, 30 Oct 2018 18:00:04 +0000",
        "ownCloud version": "10.0.10.4",
        "ownCloud version string": "10.0.10",
        "ownCloud edition": "Community",
        "server OS": "Linux",
        "server OS version": "Linux  4.9.133-xxxx-std-ipv6-64 #413770 SMP Mon Oct 15 08:12:05 UTC 2018 x86_64",
        "server SAPI": "fpm-fcgi",
        "webserver version": "nginx\/1.10.3",
        "hostname": "secoure.xxxxxxxxxx.fr",
        "logged-in user": "admin"
    },
    "stats": {
        "users": {
            "Database": {
                "count": 54,
                "seen": 38,
                "logged in (30 days)": 16
            }
        },
        "groups": {
            "OC\\Group\\Database": 10,
            "OCA\\Guests\\GroupBackend": 1
        }
    },
    "config": {
        "instanceid": "ocy9m61hr41l",
        "passwordsalt": "***REMOVED SENSITIVE VALUE***",
        "secret": "***REMOVED SENSITIVE VALUE***",
        "trusted_domains": [
            "secoure.xxxxxx.fr",
            "localhost"
        ],
        "datadirectory": "\/home\/xxxxxxx\/data",
        "overwrite.cli.url": "http:\/\/secoure.xxxxx.fr",
        "dbtype": "pgsql",
        "version": "10.0.10.4",
        "dbname": "owncloud",
        "dbhost": "localhost:5432",
        "dbtableprefix": "oc_",
        "dbuser": "***REMOVED SENSITIVE VALUE***",
        "dbpassword": "***REMOVED SENSITIVE VALUE***",
        "logtimezone": "UTC",
        "installed": true,
        "mail_smtpmode": "smtp",
        "mail_from_address": "***REMOVED SENSITIVE VALUE***",
        "mail_domain": "***REMOVED SENSITIVE VALUE***",
        "mail_smtpauthtype": "PLAIN",
        "mail_smtpauth": 1,
        "mail_smtphost": "***REMOVED SENSITIVE VALUE***",
        "mail_smtpport": "587",
        "mail_smtpname": "***REMOVED SENSITIVE VALUE***",
        "mail_smtppassword": "***REMOVED SENSITIVE VALUE***",
        "default_language": "fr",
        "memcache.local": "\\OC\\Memcache\\Redis",
        "memcache.locking": "\\OC\\Memcache\\Redis",
        "redis": {
            "host": "127.0.0.1",
            "port": 6379,
            "timeout": 0,
            "password": "***REMOVED SENSITIVE VALUE***",
            "dbindex": 0
        },
        "loglevel": 0,
        "maintenance": false,
        "theme": "",
        "singleuser": true,
        "csrf.disabled": true,
        "updatechecker": false
    },
    "integritychecker": {
        "passing": true,
        "enabled": true,
        "result": []
    },
    "core": {
        "installedat": "1489925720.324",
        "public_files": "files_sharing\/public.php",
        "public_webdav": "dav\/appinfo\/v1\/publicwebdav.php",
        "umgmt_send_email": "true",
        "umgmt_show_email": "true",
        "umgmt_show_last_login": "true",
        "default_encryption_module": "OC_DEFAULT_MODULE",
        "shareapi_allow_public_notification": "yes",
        "shareapi_allow_mail_notification": "yes",
        "shareapi_exclude_groups_list": "[\"\"]",
        "shareapi_exclude_groups": "no",
        "enable_external_storage": "no",
        "user_additional_info_field": "email",
        "vendor": "owncloud",
        "updater.secret.created": "1516349408",
        "umgmt_show_is_enabled": "true",
        "umgmt_show_storage_location": "false",
        "umgmt_show_backend": "false",
        "backgroundjobs_mode": "webcron",
        "shareapi_enabled": "yes",
        "encryption_enabled": "yes",
        "shareapi_default_permissions": "23",
        "lastcron": "1540659601",
        "lastupdateResult": "[]",
        "lastupdatedat": "1540922237"
    },
    "apps": [
        {
            "id": "files_trashbin",
            "name": "Deleted files",
            "licence": "AGPL",
            "author": "Bjoern Schiessle",
            "default_enable": "",
            "version": "0.9.1",
            "types": [
                "filesystem"
            ],
            "use-migrations": "true",
            "namespace": "Files_Trashbin",
            "dependencies": {
                "owncloud": {
                    "@attributes": {
                        "min-version": "10.0.2.4",
                        "max-version": "10.0"
                    }
                }
            },
            "documentation": {
                "user": "https:\/\/doc.owncloud.org\/server\/10.0\/go.php?to=user-trashbin"
            },
            "background-jobs": {
                "job": "OCA\\Files_Trashbin\\BackgroundJob\\ExpireTrash"
            },
            "commands": [
                "OCA\\Files_Trashbin\\Command\\CleanUp",
                "OCA\\Files_Trashbin\\Command\\ExpireTrash"
            ],
            "info": [],
            "remote": [],
            "public": [],
            "repair-steps": {
                "install": [],
                "pre-migration": [],
                "post-migration": [],
                "live-migration": [],
                "uninstall": []
            },
            "two-factor-providers": [],
            "groups": null,
            "active": true,
            "internal": true,
            "level": 200,
            "removable": false,
            "preview": "\/apps\/files_trashbin\/img\/app.svg",
            "previewAsIcon": true,
            "appconfig": {
                "types": "filesystem",
                "installed_version": "0.9.1",
                "enabled": "yes"
            }
        },
        {
            "id": "files_videoplayer",
            "name": "Video player",
            "description": "A responsive video player using a skinned version of Video.js\n\nBased on this app: https:\/\/apps.owncloud.com\/content\/show.php\/Video+Js?content=159670\n\nVideo.js: http:\/\/videojs.com\/\n\nSkin: https:\/\/github.com\/cabin\/videojs-sublime-skin",
            "version": "0.9.8",
            "licence": "MIT",
            "author": "Bj\u00f6rn Korella",
            "default_enable": "",
            "documentation": {
                "user": "https:\/\/github.com\/owncloud\/files_videoplayer\/blob\/master\/README.md",
                "admin": "https:\/\/github.com\/owncloud\/files_videoplayer\/blob\/master\/README.md",
                "developer": "https:\/\/github.com\/owncloud\/files_videoplayer\/blob\/master\/README.md"
            },
            "website": "https:\/\/github.com\/owncloud\/files_videoplayer",
            "bugs": "https:\/\/github.com\/owncloud\/files_videoplayer\/issues",
            "repository": {
                "@attributes": {
                    "type": "git"
                },
                "@value": "https:\/\/github.com\/owncloud\/files_videoplayer.git"
            },
            "dependencies": {
                "owncloud": {
                    "@attributes": {
                        "min-version": "10.0",
                        "max-version": "10.0"
                    }
                }
            },
            "info": [],
            "remote": [],
            "public": [],
            "types": [],
            "repair-steps": {
                "install": [],
                "pre-migration": [],
                "post-migration": [],
                "live-migration": [],
                "uninstall": []
            },
            "background-jobs": [],
            "two-factor-providers": [],
            "commands": [],
            "groups": null,
            "active": true,
            "internal": false,
            "level": 100,
            "removable": true,
            "preview": "\/apps\/files_videoplayer\/img\/app.svg",
            "previewAsIcon": true,
            "appconfig": {
                "installed_version": "0.9.8",
                "types": "",
                "enabled": "yes"
            }
        },
        {
            "id": "systemtags",
            "name": "Collaborative tags",
            "description": "Collaborative tagging functionality which shares tags among users. Great for teams. (If you are a provider with a multi-tenancy installation, it is advised to deactivate this app as tags are shared.)",
            "licence": "AGPL",
            "author": "Vincent Petry",
            "default_enable": "",
            "version": "0.3.0",
            "dependencies": {
                "owncloud": {
                    "@attributes": {
                        "min-version": "10.0",
                        "max-version": "10.0"
                    }
                }
            },
            "namespace": "SystemTags",
            "types": [
                "logging"
            ],
            "info": [],
            "remote": [],
            "public": [],
            "repair-steps": {
                "install": [],
                "pre-migration": [],
                "post-migration": [],
                "live-migration": [],
                "uninstall": []
            },
            "background-jobs": [],
            "two-factor-providers": [],
            "commands": [],
            "groups": null,
            "active": true,
            "internal": false,
            "level": 100,
            "removable": true,
            "appconfig": {
                "installed_version": "0.3.0",
                "types": "logging",
                "enabled": "yes"
            }
        },
        {
            "id": "configreport",
            "name": "Admin Config Report",
            "description": "Generate a Config Report",
            "licence": "AGPL",
            "author": "owncloud.org",
            "version": "0.1.1",
            "namespace": "ConfigReport",
            "default_enable": [
                "",
                ""
            ],
            "types": [
                "filesystem"
            ],
            "dependencies": {
                "owncloud": {
                    "@attributes": {
                        "min-version": "9.1",
                        "max-version": "10.0"
                    }
                }
            },
            "shipped": "true",
            "commands": {
                "command": "OCA\\ConfigReport\\Command\\ConfigReport"
            },
            "settings": {
                "admin": "OCA\\ConfigReport\\AdminPanel"
            },
            "info": [],
            "remote": [],
            "public": [],
            "repair-steps": {
                "install": [],
                "pre-migration": [],
                "post-migration": [],
                "live-migration": [],
                "uninstall": []
            },
            "background-jobs": [],
            "two-factor-providers": [],
            "groups": null,
            "active": true,
            "internal": true,
            "level": 200,
            "removable": false,
            "appconfig": {
                "installed_version": "0.1.1",
                "types": "filesystem",
                "enabled": "yes"
            }
        },
        {
            "id": "encryption",
            "name": "Default encryption module",
            "licence": "AGPL",
            "author": "Bjoern Schiessle, Clark Tomlinson",
            "documentation": {
                "user": "https:\/\/doc.owncloud.org\/server\/10.0\/go.php?to=user-encryption",
                "admin": "https:\/\/doc.owncloud.org\/server\/10.0\/go.php?to=admin-encryption"
            },
            "rememberlogin": "false",
            "version": "1.3.1",
            "types": [
                "filesystem"
            ],
            "use-migrations": "true",
            "dependencies": {
                "lib": "openssl",
                "owncloud": {
                    "@attributes": {
                        "min-version": "10.0",
                        "max-version": "10.0"
                    }
                }
            },
            "commands": [
                "OCA\\Encryption\\Command\\SelectEncryptionType",
                "OCA\\Encryption\\Command\\RecreateMasterKey",
                "OCA\\Encryption\\Command\\MigrateKeys"
            ],
            "settings": {
                "admin": "OCA\\Encryption\\Panels\\Admin",
                "personal": "OCA\\Encryption\\Panels\\Personal"
            },
            "info": [],
            "remote": [],
            "public": [],
            "repair-steps": {
                "install": [],
                "pre-migration": [],
                "post-migration": [],
                "live-migration": [],
                "uninstall": []
            },
            "background-jobs": [],
            "two-factor-providers": [],
            "groups": null,
            "active": true,
            "internal": true,
            "level": 200,
            "removable": false,
            "preview": "\/apps\/encryption\/img\/app.svg",
            "previewAsIcon": true,
            "appconfig": {
                "types": "filesystem",
                "enabled": "yes",
                "publicShareKeyId": "pubShare_14e2bb80",
                "masterKeyId": "master_14e2bb80",
                "installed_version": "1.3.1",
                "userSpecificKey": "1",
                "recoveryKeyId": "recoveryKey_3107c8ea",
                "recoveryAdminEnabled": "1"
            }
        },
        {
            "id": "market",
            "name": "Market",
            "summary": "Integrate the ownCloud marketplace into your ownCloud",
            "licence": "AGPL",
            "author": "Thomas M\u00fcller, Felix Heidecke, Thomas B\u00f6rger, Philipp Schaffrath",
            "version": "0.2.5",
            "default_enable": "",
            "category": "tools",
            "screenshot": "https:\/\/raw.githubusercontent.com\/owncloud\/screenshots\/master\/market\/ownCloud-market-app.jpg",
            "dependencies": {
                "owncloud": {
                    "@attributes": {
                        "min-version": "10.0",
                        "max-version": "10.1"
                    }
                }
            },
            "background-jobs": {
                "job": "OCA\\Market\\CheckUpdateBackgroundJob"
            },
            "commands": [
                "OCA\\Market\\Command\\InstallApp",
                "OCA\\Market\\Command\\UnInstallApp",
                "OCA\\Market\\Command\\ListApps",
                "OCA\\Market\\Command\\UpgradeApp"
            ],
            "navigation": {
                "@attributes": {
                    "role": "admin"
                },
                "route": "market.page.index",
                "order": "100"
            },
            "info": [],
            "remote": [],
            "public": [],
            "types": [],
            "repair-steps": {
                "install": [],
                "pre-migration": [],
                "post-migration": [],
                "live-migration": [],
                "uninstall": []
            },
            "two-factor-providers": [],
            "groups": null,
            "active": true,
            "internal": false,
            "level": 100,
            "removable": true,
            "preview": "\/apps\/market\/img\/market.svg",
            "previewAsIcon": true,
            "appconfig": {
                "files_pdfviewer": "0.9.0",
                "signed": "true",
                "enabled": "yes",
                "types": "",
                "installed_version": "0.2.5",
                "templateeditor": "0.3",
                "market": "0.2.5"
            }
        },
   
    
        "Environment": {
            "TEMP": "\/tmp",
            "TMPDIR": "\/tmp",
            "TMP": "\/tmp",
            "HOSTNAME": "no value",
            "USER": "www-data",
            "HOME": "\/var\/www"
        }
    }
}
or 


**List of activated apps:**


Enabled:

  • brute_force_protection: 1.0.0
  • comments: 0.3.0
  • configreport: 0.1.1
  • dav: 0.4.0
  • encryption: 1.3.1
  • federatedfilesharing: 0.3.1
  • federation: 0.1.0
  • files: 1.5.1
  • files_clipboard: 0.7.1
  • files_external: 0.7.1
  • files_pdfviewer: 0.9.0
  • files_sharing: 0.11.0
  • files_trashbin: 0.9.1
  • files_versions: 1.3.0
  • files_videoplayer: 0.9.8
  • firstrunwizard: 1.1
  • guests: 0.6.2
  • market: 0.2.5
  • notifications: 0.3.5
  • password_policy: 2.0.1
  • provisioning_api: 0.5.0
  • systemtags: 0.3.0
  • updatenotification: 0.2.1
  • user_external: 0.4
    Disabled:
  • external

Are you using external storage, if yes which one: local

Are you using encryption: yes

Are you using an external user-backend, if yes which one:

Client configuration

Browser:
Chrome
Operating system:
Linux Ubuntu

Logs

Web server error log

Insert your webserver log here

ownCloud log (data/owncloud.log)

Insert your ownCloud log here

{"reqId":"M4GWwoxC60vFBPZlxF2D","level":0,"time":"2018-10-30T15:14:30+00:00","remoteAddr":"78.228.112.225","user":"xxxxxxxx","app":"webdav","method":"GET","url":"\/remote.php\/webdav\/A%20-%20XXXXX%20France\/HFN-Article%20Journal%20LeProgres%2002-%2001-2016.pdf","message":"Exception: HTTP\/1.1 403 Encryption not ready: multikeydecrypt with share key failed:error:04065084:rsa routines:rsa_ossl_private_decrypt:data too large for modulus: {\"Exception\":\"Sabre\\\\DAV\\\\Exception\\\\Forbidden\",\"Message\":\"Encryption not ready: multikeydecrypt with share key failed:error:04065084:rsa routines:rsa_ossl_private_decrypt:data too large for modulus\",\"Code\":0,\"Trace\":\"#0 \\\/var\\\/www\\\/owncloud\\\/lib\\\/composer\\\/sabre\\\/dav\\\/lib\\\/DAV\\\/CorePlugin.php(85): OCA\\\\DAV\\\\Connector\\\\Sabre\\\\File->get()\\n#1 [internal function]: Sabre\\\\DAV\\\\CorePlugin->httpGet(Object(Sabre\\\\HTTP\\\\Request), Object(Sabre\\\\HTTP\\\\Response))\\n#2 \\\/var\\\/www\\\/owncloud\\\/lib\\\/composer\\\/sabre\\\/event\\\/lib\\\/EventEmitterTrait.php(105): call_user_func_array(Array, Array)\\n#3 \\\/var\\\/www\\\/owncloud\\\/lib\\\/composer\\\/sabre\\\/dav\\\/lib\\\/DAV\\\/Server.php(479): Sabre\\\\Event\\\\EventEmitter->emit('method:GET', Array)\\n#4 \\\/var\\\/www\\\/owncloud\\\/lib\\\/composer\\\/sabre\\\/dav\\\/lib\\\/DAV\\\/Server.php(254): Sabre\\\\DAV\\\\Server->invokeMethod(Object(Sabre\\\\HTTP\\\\Request), Object(Sabre\\\\HTTP\\\\Response))\\n#5 \\\/var\\\/www\\\/owncloud\\\/apps\\\/dav\\\/appinfo\\\/v1\\\/webdav.php(64): Sabre\\\\DAV\\\\Server->exec()\\n#6 \\\/var\\\/www\\\/owncloud\\\/remote.php(165): require_once('\\\/var\\\/www\\\/ownclo...')\\n#7 {main}\",\"File\":\"\\\/var\\\/www\\\/owncloud\\\/apps\\\/dav\\\/lib\\\/Connector\\\/Sabre\\\/File.php\",\"Line\":400}"}



THIS LOG during files:scan --repair --all May be related with that.


```{"reqId":"LhyaQmyhgdD3gWgZOLsu","level":3,"time":"2018-10-30T18:02:35+00:00","remoteAddr":"","user":"--","app":"no app in context","method":"--","url":"--","message":"Exception: {\"Exception\":\"OC\\\\Encryption\\\\Exceptions\\\\DecryptionFailedException\",\"Message\":\"Can not decrypt this file, probably this is a shared file. Please ask the file owner to reshare the file with you.\",\"Code\":0,\"Trace\":\"#0 \\\/var\\\/www\\\/owncloud\\\/lib\\\/private\\\/Files\\\/Storage\\\/Wrapper\\\/Encryption.php(587): OCA\\\\Encryption\\\\Crypto\\\\Encryption->decrypt(*** sensitive parameters replaced ***)\\n#1 \\\/var\\\/www\\\/owncloud\\\/lib\\\/private\\\/Files\\\/Storage\\\/Wrapper\\\/Encryption.php(507): OC\\\\Files\\\\Storage\\\\Wrapper\\\\Encryption->fixUnencryptedSize('files_encryptio...', 32, 32)\\n#2 \\\/var\\\/www\\\/owncloud\\\/lib\\\/private\\\/Files\\\/Storage\\\/Wrapper\\\/Encryption.php(187): OC\\\\Files\\\\Storage\\\\Wrapper\\\\Encryption->verifyUnencryptedSize('files_encryptio...', 32)\\n#3 \\\/var\\\/www\\\/owncloud\\\/lib\\\/private\\\/Files\\\/Storage\\\/Wrapper\\\/Checksum.php(202): OC\\\\Files\\\\Storage\\\\Wrapper\\\\Encryption->getMetaData('files_encryptio...')\\n#4 \\\/var\\\/www\\\/owncloud\\\/lib\\\/private\\\/Files\\\/Storage\\\/Wrapper\\\/Wrapper.php(576): OC\\\\Files\\\\Storage\\\\Wrapper\\\\Checksum->getMetaData('files_encryptio...')\\n#5 \\\/var\\\/www\\\/owncloud\\\/lib\\\/private\\\/Files\\\/Cache\\\/Scanner.php(116): OC\\\\Files\\\\Storage\\\\Wrapper\\\\Wrapper->getMetaData('files_encryptio...')\\n#6 \\\/var\\\/www\\\/owncloud\\\/lib\\\/private\\\/Files\\\/Cache\\\/Scanner.php(153): OC\\\\Files\\\\Cache\\\\Scanner->getData('files_encryptio...')\\n#7 \\\/var\\\/www\\\/owncloud\\\/lib\\\/private\\\/Files\\\/Cache\\\/Scanner.php(427): OC\\\\Files\\\\Cache\\\\Scanner->scanFile('files_encryptio...', 3, 312741, Object(OC\\\\Files\\\\Cache\\\\CacheEntry), true)\\n#8 \\\/var\\\/www\\\/owncloud\\\/lib\\\/private\\\/Files\\\/Cache\\\/Scanner.php(395): OC\\\\Files\\\\Cache\\\\Scanner->handleChildren('files_encryptio...', true, 3, 312741, true, 512)\\n#9 \\\/var\\\/www\\\/owncloud\\\/lib\\\/private\\\/Files\\\/Cache\\\/Scanner.php(398): OC\\\\Files\\\\Cache\\\\Scanner->scanChildren('files_encryptio...', true, 3, 312741, true)\\n#10 \\\/var\\\/www\\\/owncloud\\\/lib\\\/private\\\/Files\\\/Cache\\\/Scanner.php(398): OC\\\\Files\\\\Cache\\\\Scanner->scanChildren('files_encryptio...', true, 3, 312740, true)\\n#11 \\\/var\\\/www\\\/owncloud\\\/lib\\\/private\\\/Files\\\/Cache\\\/Scanner.php(398): OC\\\\Files\\\\Cache\\\\Scanner->scanChildren('files_encryptio...', true, 3, 303636, true)\\n#12 \\\/var\\\/www\\\/owncloud\\\/lib\\\/private\\\/Files\\\/Cache\\\/Scanner.php(398): OC\\\\Files\\\\Cache\\\\Scanner->scanChildren('files_encryptio...', true, 3, 299924, true)\\n#13 \\\/var\\\/www\\\/owncloud\\\/lib\\\/private\\\/Files\\\/Cache\\\/Scanner.php(398): OC\\\\Files\\\\Cache\\\\Scanner->scanChildren('files_encryptio...', true, 3, 299920, true)\\n#14 \\\/var\\\/www\\\/owncloud\\\/lib\\\/private\\\/Files\\\/Cache\\\/Scanner.php(398): OC\\\\Files\\\\Cache\\\\Scanner->scanChildren('files_encryptio...', true, 3, 299919, true)\\n#15 \\\/var\\\/www\\\/owncloud\\\/lib\\\/private\\\/Files\\\/Cache\\\/Scanner.php(398): OC\\\\Files\\\\Cache\\\\Scanner->scanChildren('files_encryptio...', true, 3, 298530, true)\\n#16 \\\/var\\\/www\\\/owncloud\\\/lib\\\/private\\\/Files\\\/Cache\\\/Scanner.php(398): OC\\\\Files\\\\Cache\\\\Scanner->scanChildren('files_encryptio...', true, 3, 630, true)\\n#17 \\\/var\\\/www\\\/owncloud\\\/lib\\\/private\\\/Files\\\/Cache\\\/Scanner.php(398): OC\\\\Files\\\\Cache\\\\Scanner->scanChildren('files_encryptio...', true, 3, 629, true)\\n#18 \\\/var\\\/www\\\/owncloud\\\/lib\\\/private\\\/Files\\\/Cache\\\/Scanner.php(398): OC\\\\Files\\\\Cache\\\\Scanner->scanChildren('files_encryptio...', true, 3, 75, true)\\n#19 \\\/var\\\/www\\\/owncloud\\\/lib\\\/private\\\/Files\\\/Cache\\\/Scanner.php(328): OC\\\\Files\\\\Cache\\\\Scanner->scanChildren('', true, 3, 74, true)\\n#20 \\\/var\\\/www\\\/owncloud\\\/lib\\\/private\\\/Files\\\/Utils\\\/Scanner.php(245): OC\\\\Files\\\\Cache\\\\Scanner->scan('', true, 3)\\n#21 \\\/var\\\/www\\\/owncloud\\\/apps\\\/files\\\/lib\\\/Command\\\/Scan.php(245): OC\\\\Files\\\\Utils\\\\Scanner->scan('\\\/XXXX DDDDD', false)\\n#22 \\\/var\\\/www\\\/owncloud\\\/apps\\\/files\\\/lib\\\/Command\\\/Scan.php(392): OCA\\\\Files\\\\Command\\\\Scan->scanFiles('XXX XXXXX', '\\\/XXX XXXXX', false, Object(Symfony\\\\Component\\\\Console\\\\Output\\\\ConsoleOutput), false, false)\\n#23 \\\/var\\\/www\\\/owncloud\\\/apps\\\/files\\\/lib\\\/Command\\\/Scan.php(355): OCA\\\\Files\\\\Command\\\\Scan->userScan(Array, NULL, false, Object(Symfony\\\\Component\\\\Console\\\\Input\\\\ArgvInput), Object(Symfony\\\\Component\\\\Console\\\\Output\\\\ConsoleOutput), false)\\n#24 \\\/var\\\/www\\\/owncloud\\\/apps\\\/files\\\/lib\\\/Command\\\/Scan.php(321): OCA\\\\Files\\\\Command\\\\Scan->processUserChunks(Object(Symfony\\\\Component\\\\Console\\\\Input\\\\ArgvInput), Object(Symfony\\\\Component\\\\Console\\\\Output\\\\ConsoleOutput), Array, NULL, false)\\n#25 \\\/var\\\/www\\\/owncloud\\\/lib\\\/composer\\\/symfony\\\/console\\\/Command\\\/Command.php(251): OCA\\\\Files\\\\Command\\\\Scan->execute(Object(Symfony\\\\Component\\\\Console\\\\Input\\\\ArgvInput), Object(Symfony\\\\Component\\\\Console\\\\Output\\\\ConsoleOutput))\\n#26 \\\/var\\\/www\\\/owncloud\\\/core\\\/Command\\\/Base.php(159): Symfony\\\\Component\\\\Console\\\\Command\\\\Command->run(Object(Symfony\\\\Component\\\\Console\\\\Input\\\\ArgvInput), Object(Symfony\\\\Component\\\\Console\\\\Output\\\\ConsoleOutput))\\n#27 \\\/var\\\/www\\\/owncloud\\\/lib\\\/composer\\\/symfony\\\/console\\\/Application.php(946): OC\\\\Core\\\\Command\\\\Base->run(Object(Symfony\\\\Component\\\\Console\\\\Input\\\\ArgvInput), Object(Symfony\\\\Component\\\\Console\\\\Output\\\\ConsoleOutput))\\n#28 \\\/var\\\/www\\\/owncloud\\\/lib\\\/composer\\\/symfony\\\/console\\\/Application.php(248): Symfony\\\\Component\\\\Console\\\\Application->doRunCommand(Object(OCA\\\\Files\\\\Command\\\\Scan), Object(Symfony\\\\Component\\\\Console\\\\Input\\\\ArgvInput), Object(Symfony\\\\Component\\\\Console\\\\Output\\\\ConsoleOutput))\\n#29 \\\/var\\\/www\\\/owncloud\\\/lib\\\/composer\\\/symfony\\\/console\\\/Application.php(148): Symfony\\\\Component\\\\Console\\\\Application->doRun(Object(Symfony\\\\Component\\\\Console\\\\Input\\\\ArgvInput), Object(Symfony\\\\Component\\\\Console\\\\Output\\\\ConsoleOutput))\\n#30 \\\/var\\\/www\\\/owncloud\\\/lib\\\/private\\\/Console\\\/Application.php(161): Symfony\\\\Component\\\\Console\\\\Application->run(Object(Symfony\\\\Component\\\\Console\\\\Input\\\\ArgvInput), Object(Symfony\\\\Component\\\\Console\\\\Output\\\\ConsoleOutput))\\n#31 \\\/var\\\/www\\\/owncloud\\\/console.php(106): OC\\\\Console\\\\Application->run()\\n#32 \\\/var\\\/www\\\/owncloud\\\/occ(11): require_once('\\\/var\\\/www\\\/ownclo...')\\n#33 {main}\",\"File\":\"\\\/var\\\/www\\\/owncloud\\\/apps\\\/encryption\\\/lib\\\/Crypto\\\/Encryption.php\",\"Line\":366}"}

{"reqId":"LhyaQmyhgdD3gWgZOLsu","level":3,"time":"2018-10-30T18:05:41+00:00","remoteAddr":"","user":"--","app":"no app in context","method":"--","url":"--","message":"Couldn't re-calculate unencrypted size for files_encryption\/keys\/files\/K - PUBLIC\/K1 - Videos\/K11 - Videos Seminaire 11-2017\/JPeg\/_DSC71838.JPG\/OC_DEFAULT_MODULE\/XXX XXXXX.shareKey"}

I don’t understand what you mean by this. Can you clarify?

What is „clic“?

Hi dimitri,
Sorry for my english.

I’d like to meant that when the user is trying to open the file (as he sees the file), the file doesn’t open. And the log display a key issue.
However the same file open with an another user (older account).

Regards
David

Hi every one,

One more add to this topic.

I have a large directory, 10Go, while sharing it, it takes 5 hours, is that normal ?

Regards
David