{"action":"created","issue":{"url":"https://api.github.com/repos/nextcloud/server/issues/8349","repository_url":"https://api.github.com/repos/nextcloud/server","labels_url":"https://api.github.com/repos/nextcloud/server/issues/8349/labels{/name}","comments_url":"https://api.github.com/repos/nextcloud/server/issues/8349/comments","events_url":"https://api.github.com/repos/nextcloud/server/issues/8349/events","html_url":"https://github.com/nextcloud/server/issues/8349","id":297017854,"node_id":"MDU6SXNzdWUyOTcwMTc4NTQ=","number":8349,"title":"503 Encryption not ready: multikeydecrypt with share key failed","user":{"login":"CamZie","id":16030886,"node_id":"MDQ6VXNlcjE2MDMwODg2","avatar_url":"https://avatars3.githubusercontent.com/u/16030886?v=4","gravatar_id":"","url":"https://api.github.com/users/CamZie","html_url":"https://github.com/CamZie","followers_url":"https://api.github.com/users/CamZie/followers","following_url":"https://api.github.com/users/CamZie/following{/other_user}","gists_url":"https://api.github.com/users/CamZie/gists{/gist_id}","starred_url":"https://api.github.com/users/CamZie/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CamZie/subscriptions","organizations_url":"https://api.github.com/users/CamZie/orgs","repos_url":"https://api.github.com/users/CamZie/repos","events_url":"https://api.github.com/users/CamZie/events{/privacy}","received_events_url":"https://api.github.com/users/CamZie/received_events","type":"User","site_admin":false},"labels":[{"id":389032313,"node_id":"MDU6TGFiZWwzODkwMzIzMTM=","url":"https://api.github.com/repos/nextcloud/server/labels/feature:%20encryption%20(server-side)","name":"feature: encryption (server-side)","color":"c2e0c6","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":12,"created_at":"2018-02-14T08:56:52Z","updated_at":"2018-07-09T15:13:20Z","closed_at":null,"author_association":"NONE","body":"### Steps to reproduce\r\n1. enable encryption\r\n2. upload and download files\r\n\r\n### Expected behaviour\r\nNextcloud should allow downloading of files without any errors.\r\n\r\n### Actual behaviour\r\nCannot download some files. User is receiving errors that the server is temporarily unavailable (503) or that the server is in maintenance.\r\n\r\n### Server configuration\r\n\r\n**Operating system**: Debian 8.10\r\n\r\n**Web server:** NGINX 1.12\r\n\r\n**Database:** MariaDB 10.0\r\n\r\n**PHP version:** PHP 5.6\r\n\r\n**Nextcloud version:** 12.0.2\r\n\r\n**Updated from an older Nextcloud/ownCloud or fresh install:** Updated from an older Nextcloud version.\r\n\r\n**Signing status:**\r\n<details>\r\n<summary>Signing status</summary>\r\n\r\n```\r\nNo errors have been found.\r\n```\r\n</details>\r\n\r\n**List of activated apps:**\r\n<details>\r\n<summary>App list</summary>\r\n\r\n```\r\nEnabled:\r\n  - activity: 2.5.2\r\n  - admin_audit: 1.2.0\r\n  - bookmarks: 0.10.1\r\n  - bruteforcesettings: 1.0.3\r\n  - calendar: 1.5.7\r\n  - comments: 1.2.0\r\n  - contacts: 2.0.1\r\n  - dav: 1.3.0\r\n  - encryption: 1.6.0\r\n  - federatedfilesharing: 1.2.0\r\n  - files: 1.7.2\r\n  - files_pdfviewer: 1.1.1\r\n  - files_sharing: 1.4.0\r\n  - files_texteditor: 2.4.1\r\n  - files_trashbin: 1.2.0\r\n  - files_versions: 1.5.0\r\n  - files_videoplayer: 1.1.0\r\n  - firstrunwizard: 2.1\r\n  - gallery: 17.0.0\r\n  - logreader: 2.0.0\r\n  - lookup_server_connector: 1.0.0\r\n  - mail: 0.7.9\r\n  - nextcloud_announcements: 1.1\r\n  - notes: 2.3.2\r\n  - notifications: 2.0.0\r\n  - oauth2: 1.0.5\r\n  - password_policy: 1.2.2\r\n  - provisioning_api: 1.2.0\r\n  - qownnotesapi: 17.5.0\r\n  - serverinfo: 1.2.0\r\n  - sharebymail: 1.2.0\r\n  - systemtags: 1.2.0\r\n  - tasks: 0.9.5\r\n  - theming: 1.3.0\r\n  - twofactor_backupcodes: 1.1.1\r\n  - updatenotification: 1.2.0\r\n  - workflowengine: 1.2.0\r\nDisabled:\r\n  - federation\r\n  - files_external\r\n  - survey_client\r\n  - user_external\r\n  - user_ldap\r\n\r\n```\r\n</details>\r\n\r\n**Nextcloud configuration:**\r\n<details>\r\n<summary>Config report</summary>\r\n\r\n```\r\n    \"system\": {\r\n        \"instanceid\": \"ocpom4ncgfhghkwru\",\r\n        \"passwordsalt\": \"***REMOVED SENSITIVE VALUE***\",\r\n        \"secret\": \"***REMOVED SENSITIVE VALUE***\",\r\n        \"trusted_domains\": [\r\n            \"***REMOVED SENSITIVE VALUE***\"\r\n        ],\r\n        \"datadirectory\": \"\\/mnt\\/***REMOVED SENSITIVE VALUE***\\/data\",\r\n        \"overwrite.cli.url\": \"***REMOVED SENSITIVE VALUE***\",\r\n        \"dbtype\": \"mysql\",\r\n        \"version\": \"12.0.2.0\",\r\n        \"dbname\": \"***REMOVED SENSITIVE VALUE***\",\r\n        \"dbhost\": \"localhost\",\r\n        \"dbtableprefix\": \"oc_\",\r\n        \"dbuser\": \"***REMOVED SENSITIVE VALUE***\",\r\n        \"dbpassword\": \"***REMOVED SENSITIVE VALUE***\",\r\n        \"logtimezone\": \"Europe\\/Zurich\",\r\n        \"installed\": true,\r\n        \"theme\": \"***REMOVED SENSITIVE VALUE***\",\r\n        \"enable_previews\": true,\r\n        \"memcache.local\": \"\\\\OC\\\\Memcache\\\\APCu\",\r\n        \"enable_avatars\": false,\r\n        \"logdateformat\": \"Y-m-d_H:i:s\",\r\n        \"updatechecker\": false,\r\n        \"log_type\": \"errorlog\",\r\n        \"logfile\": \"\",\r\n        \"loglevel\": 2,\r\n        \"customclient_desktop\": \"***REMOVED SENSITIVE VALUE***\",\r\n        \"maintenance\": false,\r\n        \"trashbin_retention_obligation\": \"auto,90\",\r\n        \"activity_expire_days\": 90,\r\n        \"preview_max_scale_factor\": 1,\r\n        \"preview_max_filesize_image\": 10,\r\n        \"skeletondir\": \"***REMOVED SENSITIVE VALUE***\",\r\n        \"mail_from_address\": \"no-reply\",\r\n        \"mail_smtpmode\": \"php\",\r\n        \"mail_smtpauthtype\": \"LOGIN\",\r\n        \"mail_domain\": \"***REMOVED SENSITIVE VALUE***\"}\r\n```\r\n</details>\r\n\r\n**Are you using encryption:** yes\r\n\r\n</details>\r\n\r\n### Client configuration\r\n**Browser:**\r\n**Operating system:** Nextcloud-iOS/2.19.2\r\n\r\n### Logs\r\n\r\n#### Nextcloud log (data/nextcloud.log)\r\n<details>\r\n<summary>Nextcloud log</summary>\r\n\r\n```\r\n2018/02/10 04:14:07 [error] 32243#32243: *2115256 FastCGI sent in stderr: \"PHP message: [owncloud]\r\n[webdav][4] Exception: {\"Exception\":\"Sabre\\\\DAV\\\\Exception\\\\ServiceUnavailable\",\"Message\":\"Encryption\r\n not ready: multikeydecrypt with share key failed:error:0906D06C:PEM routines:PEM_read_bio:no start \r\nline\",\"Code\":0,\"Trace\":\"#0 \\/var\\/www\\/nextcloud\\/3rdparty\\/sabre\\/dav\\/lib\\/DAV\\/CorePlugin.php(85): \r\nOCA\\\\DAV\\\\Connector\\\\Sabre\\\\File->get()\\n#1 [internal function]: Sabre\\\\DAV\r\n\\\\CorePlugin->httpGet(Object(Sabre\\\\HTTP\\\\Request), Object(Sabre\\\\HTTP\\\\Response))\\n#2 \\/var\\\r\n/www\\/nextcloud\\/3rdparty\\/sabre\\/event\\/lib\\/EventEmitterTrait.php(105): call_user_func_array(Array, \r\nArray)\\n#3 \\/var\\/www\\/nextcloud\\/3rdparty\\/sabre\\/dav\\/lib\\/DAV\\/Server.php(479): Sabre\\\\Event\r\n\\\\EventEmitter->emit('method:GET', Array)\\n#4 \\/var\\/www\\/nextcloud\\/3rdparty\\/sabre\\/dav\\/lib\\/DAV\r\n\\/Server.php(254): Sabre\\\\DAV\\\\Server->invokeMethod(Object(Sabre\\\\HTTP\\\\Request), \r\nObject(Sabre\\\\HTTP\\\\Response))\\n#5 \\/var\\/www\\/nextcloud\\/apps\\/dav\\/appinfo\\/v1\\/webdav.php(71): \r\nSabre\\\\DAV\\\\Server->exec()\\n#6 \\/var\\/www\\/nextclo\" while reading response header from upstream, client: \r\n***REMOVED SENSITIVE VALUE***, server: ***REMOVED SENSITIVE VALUE***, request: \"GET \r\n/remote.php/webdav/Photos/2018/01/18-01-19%2018-37-42%200433.jpg HTTP/2.0\", upstream: \r\n\"fastcgi://unix:/var/run/php5-fpm.sock:\", host: \"***REMOVED SENSITIVE VALUE***\"\r\n```\r\n</details>"},"comment":{"url":"https://api.github.com/repos/nextcloud/server/issues/comments/403514042","html_url":"https://github.com/nextcloud/server/issues/8349#issuecomment-403514042","issue_url":"https://api.github.com/repos/nextcloud/server/issues/8349","id":403514042,"node_id":"MDEyOklzc3VlQ29tbWVudDQwMzUxNDA0Mg==","user":{"login":"RandieM","id":5611958,"node_id":"MDQ6VXNlcjU2MTE5NTg=","avatar_url":"https://avatars2.githubusercontent.com/u/5611958?v=4","gravatar_id":"","url":"https://api.github.com/users/RandieM","html_url":"https://github.com/RandieM","followers_url":"https://api.github.com/users/RandieM/followers","following_url":"https://api.github.com/users/RandieM/following{/other_user}","gists_url":"https://api.github.com/users/RandieM/gists{/gist_id}","starred_url":"https://api.github.com/users/RandieM/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RandieM/subscriptions","organizations_url":"https://api.github.com/users/RandieM/orgs","repos_url":"https://api.github.com/users/RandieM/repos","events_url":"https://api.github.com/users/RandieM/events{/privacy}","received_events_url":"https://api.github.com/users/RandieM/received_events","type":"User","site_admin":false},"created_at":"2018-07-09T15:13:20Z","updated_at":"2018-07-09T15:13:20Z","author_association":"NONE","body":"@Escubaer, when it comes to programming, I tend not to believe in \"random\" events. The described problem is triggered by something, which I am currently unable to identify. This also seems to be the case for @CamZie, according to his/her latest comment.\r\n\r\nBesides, you do have a point when you say:\r\n> It is also maked as a feature whereas for you guys it sounds like a strong bug ...\r\n\r\nI believe that this issue has been assigned the wrong label, as it is certainly not a feature, but a bug /cc @tflidd "}}
{"actor":{"display_login":"RandieM"}}