Hi,
I also posted this issue in the nextcloud support forum but they suggested …to post this issue here:
[https://help.nextcloud.com/t/collabora-not-working-with-encryption/1913](url)
I am using Collabora via the docker container. OS is Ubuntu 14.04. Before you ask ... CONFIG_AUFS_XATTR=y is activated in the kernel.
The Nextcloud configuration:
"system":
{
"instanceid": "oc42b8zohyfj",
"passwordsalt": "**_REMOVED SENSITIVE VALUE**_",
"secret": "**_REMOVED SENSITIVE VALUE**_",
"trusted_domains": [
"localhost",
"**_REMOVED SENSITIVE VALUE**_"
],
"datadirectory": "**_REMOVED SENSITIVE VALUE**_",
"overwrite.cli.url": "http:\/\/localhost\/owncloud",
"dbtype": "mysql",
"version": "9.0.52.0",
"dbname": "nextcloud_database",
"dbhost": "localhost",
"dbtableprefix": "nc_",
"dbuser": "**_REMOVED SENSITIVE VALUE**_",
"dbpassword": "**_REMOVED SENSITIVE VALUE**_",
"logtimezone": "UTC",
"installed": true,
"mail_smtpmode": "php",
"mail_smtpsecure": "tls",
"mail_smtpport": "587",
"mail_smtphost": "smtp.gmail.com",
"mail_from_address": "**_REMOVED SENSITIVE VALUE**_",
"mail_domain": "gmail.com",
"mail_smtpauth": 1,
"mail_smtpname": "**_REMOVED SENSITIVE VALUE**_",
"mail_smtppassword": "**_REMOVED SENSITIVE VALUE**_",
"memcache.local": "\OC\Memcache\APCu",
"theme": "fancy",
"loglevel": 3,
"maintenance": false,
"singleuser": false,
"htaccess.RewriteBase": "\/owncloud",
"integrity.check.disabled": true,
"mail_smtpauthtype": "LOGIN",
"default_language": "de",
"defaultapp": "files",
"enable_previews": true,
"preview_max_scale_factor": 10,
"preview_max_filesize_image": 5,
"forcessl": true,
"forceSSLforSubdomains": true
}
"apps": {
"richdocuments": {
"enabled": "yes",
"installed_version": "1.1.3",
"ocsid": "174727",
"types": "",
"wopi_url": "https:\/\/owncloud.spigomaniac.de"
}
}
So i get the following error if I try to open any document with richdocuments:

I guess the key error message is: Private Key missing for user: please try to log-out and log-in again.
Fristly I already confirmed the encryption as the reason, because with a test user and temporairily disabled encryption it is fully working.
Secondly I used the CODE VM for testing. I upgraded owncloud to the latest version of nextcloud, enabled encryption and it's working! Under the assumption that this richdocuments app is just an updeted version of the app used in the CODE VM some updates between this versions seems to have broken the encryption support.
Another issue that could be connected to this one is the file loading delay (20s - 30s):
