Encryption:decrypt [user] not working (Neither with user password) #26898

Open
Behau opened this Issue Jan 4, 2017 · 4 comments

Projects

None yet

2 participants

@Behau
Behau commented Jan 4, 2017

Steps to reproduce

  1. Set owncloud to singleuser: sudo -u www-data php occ maintenance:singleuser --on
  2. Try to decrypt single user: sudo -u www-data php occ encryption:decrypt username
    2.1 Try with Recovery key
    2.2 Try with User Password

Expected behaviour

Files of the user should be completly decrypted.

It is not possible to use encryption: decrypt-all because a few users no longer work with the organization, have forgotten their password, and we accept the loss of the data.

Actual behaviour

I get an error at the end of the decryption:

maybe the user is not set up in a way that supports this operation:

Server configuration

Operating system:
Debian 8 or Ubuntu 16

Web server:
Apache2

Database:
Mysql 5

PHP version:
PHP 5.6 or PHP 7

ownCloud version: (see ownCloud admin page)
Owncloud 9.1.2

Updated from an older ownCloud or fresh install:
From older version

Where did you install ownCloud from:
Repository

Signing status (ownCloud 9.0 and above):

No errors have been found.

List of activated apps:

Enabled:
  - activity: 2.3.2
  - comments: 0.3.0
  - dav: 0.2.5
  - encryption: 1.3.0
  - federatedfilesharing: 0.3.0
  - federation: 0.1.0
  - files: 1.5.1
  - files_pdfviewer: 0.8.1
  - files_sharing: 0.10.0
  - files_texteditor: 2.1
  - files_versions: 1.3.0
  - files_videoplayer: 0.9.8
  - firstrunwizard: 1.1
  - gallery: 15.0.0
  - notifications: 0.3.0
  - provisioning_api: 0.5.0
  - systemtags: 0.3.0
  - templateeditor: 0.1
  - updatenotification: 0.2.1
  - user_ldap: 0.9.0
Disabled:
  - external
  - files_antivirus
  - files_external
  - files_trashbin
  - user_external

The content of config/config.php:

{
    "system": {
        "instanceid": "occfde291011",
        "passwordsalt": "***REMOVED SENSITIVE VALUE***",
        "trusted_domains": {
            "2": "owncloud.oehboku.org",
            "3": "www.owncloud.oehboku.org"
        },
        "datadirectory": "\/var\/oc_data\/",
        "dbtype": "mysql",
        "dbname": "owncloud",
        "dbhost": "192.168.122.243",
        "dbtableprefix": "oc_",
        "dbuser": "***REMOVED SENSITIVE VALUE***",
        "dbpassword": "***REMOVED SENSITIVE VALUE***",
        "overwrite.cli.url": "http:\/\/192.168.122.64\/owncloud",
        "installed": true,
        "ldapIgnoreNamingRules": false,
        "check_for_working_webdav": true,
        "log_authfailip": true,
        "loglevel": 0,
        "theme": "",
        "version": "9.1.0.15",
        "forcessl": true,
        "overwritewebroot": "\/owncloud",
        "secret": "***REMOVED SENSITIVE VALUE***",
        "maintenance": false,
        "trashbin_retention_obligation": "auto",
        "singleuser": false,
        "memcache.local": "\\OC\\Memcache\\APCu"
    }
}

Are you using external storage, if yes which one: local/smb/sftp/...
No
Are you using encryption: yes/no
Yes
Are you using an external user-backend, if yes which one: LDAP/ActiveDirectory/Webdav/...
LDAP

LDAP configuration (delete this part if not used)

+-------------------------------+---------------------------------------------------------------------+
| Configuration                 |                                                                     |
+-------------------------------+---------------------------------------------------------------------+
| hasMemberOfFilterSupport      |                                                                     |
| hasPagedResultSupport         |                                                                     |
| homeFolderNamingRule          |                                                                     |
| lastJpegPhotoLookup           | 0                                                                   |
| ldapAgentName                 | cn=admin,dc=base,dc=ba                                           |
| ldapAgentPassword             | SECRET
| ldapAttributesForGroupSearch  |                                                                     |
| ldapAttributesForUserSearch   |                                                                     |
| ldapBackupHost                |                                                                     |
| ldapBackupPort                |                                                                     |
| ldapBase                      | dc=base,dc=ba                                                  |
| ldapBaseGroups                | dc=base,dc=ba                                                    |
| ldapBaseUsers                 | dc=base,dc=ba                                                    |
| ldapCacheTTL                  | 600                                                                 |
| ldapConfigurationActive       | 1                                                                   |
| ldapDynamicGroupMemberURL     |                                                                     |
| ldapEmailAttribute            |                                                                     |
| ldapExperiencedAdmin          | 0                                                                   |
| ldapExpertUUIDGroupAttr       |                                                                     |
| ldapExpertUUIDUserAttr        |                                                                     |
| ldapExpertUsernameAttr        |                                                                     |
| ldapGroupDisplayName          | uid                                                                 |
| ldapGroupFilter               | (&(|(objectclass=top))(|(cn=oc)))                                   |
| ldapGroupFilterGroups         | oc                                                                  |
| ldapGroupFilterMode           | 0                                                                   |
| ldapGroupFilterObjectclass    | top                                                                 |
| ldapGroupMemberAssocAttr      | uniqueMember                                                        |
| ldapHost                      | Base.ba                                                  |
| ldapIgnoreNamingRules         |                                                                     |
| ldapLoginFilter               | (&(|(objectclass=posixAccount))(|(uid=%uid)(|(cn=%uid)(uid=%uid)))) |
| ldapLoginFilterAttributes     | cn;uid                                                              |
| ldapLoginFilterEmail          | 1                                                                   |
| ldapLoginFilterMode           | 1                                                                   |
| ldapLoginFilterUsername       | 1                                                                   |
| ldapNestedGroups              | 0                                                                   |
| ldapOverrideMainServer        | 0                                                                   |
| ldapPagingSize                | 500                                                                 |
| ldapPort                      | 389                                                                 |
| ldapQuotaAttribute            |                                                                     |
| ldapQuotaDefault              |                                                                     |
| ldapTLS                       | 0                                                                   |
| ldapUserDisplayName           | uid                                                                 |
| ldapUserDisplayName2          |                                                                     |
| ldapUserFilter                | (|(objectclass=posixAccount))                                       |
| ldapUserFilterGroups          |                                                                     |
| ldapUserFilterMode            | 1                                                                   |
| ldapUserFilterObjectclass     | posixAccount                                                        |
| ldapUuidGroupAttribute        | auto                                                                |
| ldapUuidUserAttribute         | auto                                                                |
| turnOffCertCheck              | 0                                                                   |
| useMemberOfToDetectMembership | 1                                                                   |
+-------------------------------+---------------------------------------------------------------------+
@PVince81
Collaborator

occ encryption:decrypt

Did you mean occ encryption:decrypt-all ?

@Behau
Behau commented Jan 10, 2017

Yes and No
I mean:
occ encryption:decrypt [username]
Or occ encryption:decrypt-all [username]

I only can decrypt one user after the other, because some of the users lost their ldap-passwort, we reset it and now we can't decrypt that users (They didn't activate the Recovery Password).

@PVince81
Collaborator

From what I see there is only a "occ encryption:decrypt-all [username]" but there is no "occ encryption:decrypt [username]" command.

Ok, so I assume you used "decrypt-all [username]" and as you said for all individual users you're getting error messages. So you are not able to decrypt the accounts for ANY of the users.

Are there any additional messages in owncloud.log ? Does encryption itself work properly for your users ?
Maybe something is wrong with their keys.

@Behau
Behau commented Jan 11, 2017

I have tried both versions and they both do some decryption. But I will take now decrypt-all [username]. Not for all, it looks like, that the newer created users work fine but the older users (also from an older oc version) did not...

Yeah I found some errors now when I run encrypt-all [username]

{"reqId":"tArQJVJtd5DMgeDMq0CQ","remoteAddr":"","app":"PHP","message":"fread(): Length parameter must be greater than 0 at \/var\/www\/owncloud\/3rdparty\/icewind\/streams\/src\/Wrapper.php#83","level":3,"time":"2017-01-11T08:16:18+00:00","method":"--","url":"\/owncloud\/occ","user":"--"} {"reqId":"tArQJVJtd5DMgeDMq0CQ","remoteAddr":"","app":"PHP","message":"fread(): Length parameter must be greater than 0 at \/var\/www\/owncloud\/3rdparty\/icewind\/streams\/src\/Wrapper.php#83","level":3,"time":"2017-01-11T08:16:19+00:00","method":"--","url":"\/owncloud\/occ","user":"--"} {"reqId":"tArQJVJtd5DMgeDMq0CQ","remoteAddr":"","app":"PHP","message":"fclose() expects parameter 1 to be resource, string given at \/var\/www\/owncloud\/lib\/private\/Files\/Storage\/Wrapper\/Encryption.php#748","level":3,"time":"2017-01-11T08:16:19+00:00","method":"--","url":"\/owncloud\/occ","user":"--"} {"reqId":"tArQJVJtd5DMgeDMq0CQ","remoteAddr":"","app":"PHP","message":"fclose() expects parameter 1 to be resource, string given at \/var\/www\/owncloud\/lib\/private\/Files\/Storage\/Wrapper\/Encryption.php#749","level":3,"time":"2017-01-11T08:16:19+00:00","method":"--","url":"\/owncloud\/occ","user":"--"} {"reqId":"tArQJVJtd5DMgeDMq0CQ","remoteAddr":"","app":"PHP","message":"stream_wrapper_register(): Protocol ocencryption:\/\/ is already defined. at \/var\/www\/owncloud\/lib\/private\/Files\/Stream\/Encryption.php#195","level":3,"time":"2017-01-11T08:16:19+00:00","method":"--","url":"\/owncloud\/occ","user":"--"} {"reqId":"tArQJVJtd5DMgeDMq0CQ","remoteAddr":"","app":"PHP","message":"fclose() expects parameter 1 to be resource, string given at \/var\/www\/owncloud\/lib\/private\/Files\/Storage\/Wrapper\/Encryption.php#748","level":3,"time":"2017-01-11T08:16:19+00:00","method":"--","url":"\/owncloud\/occ","user":"--"} {"reqId":"tArQJVJtd5DMgeDMq0CQ","remoteAddr":"","app":"PHP","message":"fclose() expects parameter 1 to be resource, string given at \/var\/www\/owncloud\/lib\/private\/Files\/Storage\/Wrapper\/Encryption.php#749","level":3,"time":"2017-01-11T08:16:19+00:00","method":"--","url":"\/owncloud\/occ","user":"--"} {"reqId":"tArQJVJtd5DMgeDMq0CQ","remoteAddr":"","app":"PHP","message":"stream_wrapper_register(): Protocol ocencryption:\/\/ is already defined. at \/var\/www\/owncloud\/lib\/private\/Files\/Stream\/Encryption.php#195","level":3,"time":"2017-01-11T08:16:20+00:00","method":"--","url":"\/owncloud\/occ","user":"--"} {"reqId":"tArQJVJtd5DMgeDMq0CQ","remoteAddr":"","app":"PHP","message":"fclose() expects parameter 1 to be resource, string given at \/var\/www\/owncloud\/lib\/private\/Files\/Storage\/Wrapper\/Encryption.php#748","level":3,"time":"2017-01-11T08:16:20+00:00","method":"--","url":"\/owncloud\/occ","user":"--"} {"reqId":"tArQJVJtd5DMgeDMq0CQ","remoteAddr":"","app":"PHP","message":"fclose() expects parameter 1 to be resource, string given at \/var\/www\/owncloud\/lib\/private\/Files\/Storage\/Wrapper\/Encryption.php#749","level":3,"time":"2017-01-11T08:16:20+00:00","method":"--","url":"\/owncloud\/occ","user":"--"} {"reqId":"tArQJVJtd5DMgeDMq0CQ","remoteAddr":"","app":"PHP","message":"stream_wrapper_register(): Protocol ocencryption:\/\/ is already defined. at \/var\/www\/owncloud\/lib\/private\/Files\/Stream\/Encryption.php#195","level":3,"time":"2017-01-11T08:16:20+00:00","method":"--","url":"\/owncloud\/occ","user":"--"} {"reqId":"tArQJVJtd5DMgeDMq0CQ","remoteAddr":"","app":"PHP","message":"fclose() expects parameter 1 to be resource, string given at \/var\/www\/owncloud\/lib\/private\/Files\/Storage\/Wrapper\/Encryption.php#748","level":3,"time":"2017-01-11T08:16:20+00:00","method":"--","url":"\/owncloud\/occ","user":"--"} {"reqId":"tArQJVJtd5DMgeDMq0CQ","remoteAddr":"","app":"PHP","message":"fclose() expects parameter 1 to be resource, string given at \/var\/www\/owncloud\/lib\/private\/Files\/Storage\/Wrapper\/Encryption.php#749","level":3,"time":"2017-01-11T08:16:20+00:00","method":"--","url":"\/owncloud\/occ","user":"--"} {"reqId":"tArQJVJtd5DMgeDMq0CQ","remoteAddr":"","app":"PHP","message":"stream_wrapper_register(): Protocol ocencryption:\/\/ is already defined. at \/var\/www\/owncloud\/lib\/private\/Files\/Stream\/Encryption.php#195","level":3,"time":"2017-01-11T08:16:20+00:00","method":"--","url":"\/owncloud\/occ","user":"--"} {"reqId":"tArQJVJtd5DMgeDMq0CQ","remoteAddr":"","app":"PHP","message":"fclose() expects parameter 1 to be resource, string given at \/var\/www\/owncloud\/lib\/private\/Files\/Storage\/Wrapper\/Encryption.php#748","level":3,"time":"2017-01-11T08:16:20+00:00","method":"--","url":"\/owncloud\/occ","user":"--"} {"reqId":"tArQJVJtd5DMgeDMq0CQ","remoteAddr":"","app":"PHP","message":"fclose() expects parameter 1 to be resource, string given at \/var\/www\/owncloud\/lib\/private\/Files\/Storage\/Wrapper\/Encryption.php#749","level":3,"time":"2017-01-11T08:16:20+00:00","method":"--","url":"\/owncloud\/occ","user":"--"} {"reqId":"tArQJVJtd5DMgeDMq0CQ","remoteAddr":"","app":"PHP","message":"stream_wrapper_register(): Protocol ocencryption:\/\/ is already defined. at \/var\/www\/owncloud\/lib\/private\/Files\/Stream\/Encryption.php#195","level":3,"time":"2017-01-11T08:16:20+00:00","method":"--","url":"\/owncloud\/occ","user":"--"} {"reqId":"tArQJVJtd5DMgeDMq0CQ","remoteAddr":"","app":"PHP","message":"fclose() expects parameter 1 to be resource, string given at \/var\/www\/owncloud\/lib\/private\/Files\/Storage\/Wrapper\/Encryption.php#748","level":3,"time":"2017-01-11T08:16:20+00:00","method":"--","url":"\/owncloud\/occ","user":"--"} {"reqId":"tArQJVJtd5DMgeDMq0CQ","remoteAddr":"","app":"PHP","message":"fclose() expects parameter 1 to be resource, string given at \/var\/www\/owncloud\/lib\/private\/Files\/Storage\/Wrapper\/Encryption.php#749","level":3,"time":"2017-01-11T08:16:20+00:00","method":"--","url":"\/owncloud\/occ","user":"--"} {"reqId":"tArQJVJtd5DMgeDMq0CQ","remoteAddr":"","app":"PHP","message":"stream_wrapper_register(): Protocol ocencryption:\/\/ is already defined. at \/var\/www\/owncloud\/lib\/private\/Files\/Stream\/Encryption.php#195","level":3,"time":"2017-01-11T08:16:21+00:00","method":"--","url":"\/owncloud\/occ","user":"--"} {"reqId":"tArQJVJtd5DMgeDMq0CQ","remoteAddr":"","app":"PHP","message":"fclose() expects parameter 1 to be resource, string given at \/var\/www\/owncloud\/lib\/private\/Files\/Storage\/Wrapper\/Encryption.php#748","level":3,"time":"2017-01-11T08:16:21+00:00","method":"--","url":"\/owncloud\/occ","user":"--"} {"reqId":"tArQJVJtd5DMgeDMq0CQ","remoteAddr":"","app":"PHP","message":"fclose() expects parameter 1 to be resource, string given at \/var\/www\/owncloud\/lib\/private\/Files\/Storage\/Wrapper\/Encryption.php#749","level":3,"time":"2017-01-11T08:16:21+00:00","method":"--","url":"\/owncloud\/occ","user":"--"} {"reqId":"tArQJVJtd5DMgeDMq0CQ","remoteAddr":"","app":"PHP","message":"stream_wrapper_register(): Protocol ocencryption:\/\/ is already defined. at \/var\/www\/owncloud\/lib\/private\/Files\/Stream\/Encryption.php#195","level":3,"time":"2017-01-11T08:16:21+00:00","method":"--","url":"\/owncloud\/occ","user":"--"} {"reqId":"tArQJVJtd5DMgeDMq0CQ","remoteAddr":"","app":"PHP","message":"fclose() expects parameter 1 to be resource, string given at \/var\/www\/owncloud\/lib\/private\/Files\/Storage\/Wrapper\/Encryption.php#748","level":3,"time":"2017-01-11T08:16:21+00:00","method":"--","url":"\/owncloud\/occ","user":"--"} {"reqId":"tArQJVJtd5DMgeDMq0CQ","remoteAddr":"","app":"PHP","message":"fclose() expects parameter 1 to be resource, string given at \/var\/www\/owncloud\/lib\/private\/Files\/Storage\/Wrapper\/Encryption.php#749","level":3,"time":"2017-01-11T08:16:21+00:00","method":"--","url":"\/owncloud\/occ","user":"--"} {"reqId":"tArQJVJtd5DMgeDMq0CQ","remoteAddr":"","app":"PHP","message":"stream_wrapper_register(): Protocol ocencryption:\/\/ is already defined. at \/var\/www\/owncloud\/lib\/private\/Files\/Stream\/Encryption.php#195","level":3,"time":"2017-01-11T08:16:21+00:00","method":"--","url":"\/owncloud\/occ","user":"--"} {"reqId":"tArQJVJtd5DMgeDMq0CQ","remoteAddr":"","app":"PHP","message":"fclose() expects parameter 1 to be resource, string given at \/var\/www\/owncloud\/lib\/private\/Files\/Storage\/Wrapper\/Encryption.php#748","level":3,"time":"2017-01-11T08:16:21+00:00","method":"--","url":"\/owncloud\/occ","user":"--"} {"reqId":"tArQJVJtd5DMgeDMq0CQ","remoteAddr":"","app":"PHP","message":"fclose() expects parameter 1 to be resource, string given at \/var\/www\/owncloud\/lib\/private\/Files\/Storage\/Wrapper\/Encryption.php#749","level":3,"time":"2017-01-11T08:16:21+00:00","method":"--","url":"\/owncloud\/occ","user":"--"} {"reqId":"tArQJVJtd5DMgeDMq0CQ","remoteAddr":"","app":"PHP","message":"stream_wrapper_register(): Protocol ocencryption:\/\/ is already defined. at \/var\/www\/owncloud\/lib\/private\/Files\/Stream\/Encryption.php#195","level":3,"time":"2017-01-11T08:16:21+00:00","method":"--","url":"\/owncloud\/occ","user":"--"} {"reqId":"tArQJVJtd5DMgeDMq0CQ","remoteAddr":"","app":"PHP","message":"fclose() expects parameter 1 to be resource, string given at \/var\/www\/owncloud\/lib\/private\/Files\/Storage\/Wrapper\/Encryption.php#748","level":3,"time":"2017-01-11T08:16:21+00:00","method":"--","url":"\/owncloud\/occ","user":"--"} {"reqId":"tArQJVJtd5DMgeDMq0CQ","remoteAddr":"","app":"PHP","message":"fclose() expects parameter 1 to be resource, string given at \/var\/www\/owncloud\/lib\/private\/Files\/Storage\/Wrapper\/Encryption.php#749","level":3,"time":"2017-01-11T08:16:21+00:00","method":"--","url":"\/owncloud\/occ","user":"--"} {"reqId":"tArQJVJtd5DMgeDMq0CQ","remoteAddr":"","app":"PHP","message":"stream_wrapper_register(): Protocol ocencryption:\/\/ is already defined. at \/var\/www\/owncloud\/lib\/private\/Files\/Stream\/Encryption.php#195","level":3,"time":"2017-01-11T08:16:22+00:00","method":"--","url":"\/owncloud\/occ","user":"--"} {"reqId":"tArQJVJtd5DMgeDMq0CQ","remoteAddr":"","app":"PHP","message":"fclose() expects parameter 1 to be resource, string given at \/var\/www\/owncloud\/lib\/private\/Files\/Storage\/Wrapper\/Encryption.php#748","level":3,"time":"2017-01-11T08:16:22+00:00","method":"--","url":"\/owncloud\/occ","user":"--"} {"reqId":"tArQJVJtd5DMgeDMq0CQ","remoteAddr":"","app":"PHP","message":"fclose() expects parameter 1 to be resource, string given at \/var\/www\/owncloud\/lib\/private\/Files\/Storage\/Wrapper\/Encryption.php#749","level":3,"time":"2017-01-11T08:16:22+00:00","method":"--","url":"\/owncloud\/occ","user":"--"} {"reqId":"B0Hhhz7JQhur1vWUpFGi","remoteAddr":"192.168.122.1","app":"webdav","message":"Exception: {\"Message\":\"HTTP\\\/1.1 503 System in single user mode.\",\"Exception\":\"Sabre\\\\DAV\\\\Exception\\\\ServiceUnavailable\",\"Code\":0,\"Trace\":\"#0 [internal function]: OCA\\\\DAV\\\\Connector\\\\Sabre\\\\MaintenancePlugin->checkMaintenanceMode(Object(Sabre\\\\HTTP\\\\Request), Object(Sabre\\\\HTTP\\\\Response))\\n#1 \\\/var\\\/www\\\/owncloud\\\/3rdparty\\\/sabre\\\/event\\\/lib\\\/EventEmitterTrait.php(105): call_user_func_array(Array, Array)\\n#2 \\\/var\\\/www\\\/owncloud\\\/3rdparty\\\/sabre\\\/dav\\\/lib\\\/DAV\\\/Server.php(446): Sabre\\\\Event\\\\EventEmitter->emit('beforeMethod', Array)\\n#3 \\\/var\\\/www\\\/owncloud\\\/3rdparty\\\/sabre\\\/dav\\\/lib\\\/DAV\\\/Server.php(248): Sabre\\\\DAV\\\\Server->invokeMethod(Object(Sabre\\\\HTTP\\\\Request), Object(Sabre\\\\HTTP\\\\Response))\\n#4 \\\/var\\\/www\\\/owncloud\\\/apps\\\/dav\\\/appinfo\\\/v1\\\/webdav.php(56): Sabre\\\\DAV\\\\Server->exec()\\n#5 \\\/var\\\/www\\\/owncloud\\\/remote.php(164): require_once('\\\/var\\\/www\\\/ownclo...')\\n#6 {main}\",\"File\":\"\\\/var\\\/www\\\/owncloud\\\/apps\\\/dav\\\/lib\\\/Connector\\\/Sabre\\\/MaintenancePlugin.php\",\"Line\":81,\"User\":\"725eacd4-e896-1033-8186-0f1fe61fbc74\"}","level":4,"time":"2017-01-11T08:16:22+00:00","method":"PROPFIND","url":"\/owncloud\/remote.php\/webdav\/","user":"725eacd4-e896-1033-8186-0f1fe61fbc74"} {"reqId":"tArQJVJtd5DMgeDMq0CQ","remoteAddr":"","app":"PHP","message":"stream_wrapper_register(): Protocol ocencryption:\/\/ is already defined. at \/var\/www\/owncloud\/lib\/private\/Files\/Stream\/Encryption.php#195","level":3,"time":"2017-01-11T08:16:22+00:00","method":"--","url":"\/owncloud\/occ","user":"--"} {"reqId":"tArQJVJtd5DMgeDMq0CQ","remoteAddr":"","app":"PHP","message":"fclose() expects parameter 1 to be resource, string given at \/var\/www\/owncloud\/lib\/private\/Files\/Storage\/Wrapper\/Encryption.php#748","level":3,"time":"2017-01-11T08:16:22+00:00","method":"--","url":"\/owncloud\/occ","user":"--"} {"reqId":"tArQJVJtd5DMgeDMq0CQ","remoteAddr":"","app":"PHP","message":"fclose() expects parameter 1 to be resource, string given at \/var\/www\/owncloud\/lib\/private\/Files\/Storage\/Wrapper\/Encryption.php#749","level":3,"time":"2017-01-11T08:16:22+00:00","method":"--","url":"\/owncloud\/occ","user":"--"} {"reqId":"tArQJVJtd5DMgeDMq0CQ","remoteAddr":"","app":"PHP","message":"stream_wrapper_register(): Protocol ocencryption:\/\/ is already defined. at \/var\/www\/owncloud\/lib\/private\/Files\/Stream\/Encryption.php#195","level":3,"time":"2017-01-11T08:16:22+00:00","method":"--","url":"\/owncloud\/occ","user":"--"} {"reqId":"tArQJVJtd5DMgeDMq0CQ","remoteAddr":"","app":"PHP","message":"fclose() expects parameter 1 to be resource, string given at \/var\/www\/owncloud\/lib\/private\/Files\/Storage\/Wrapper\/Encryption.php#748","level":3,"time":"2017-01-11T08:16:22+00:00","method":"--","url":"\/owncloud\/occ","user":"--"} {"reqId":"tArQJVJtd5DMgeDMq0CQ","remoteAddr":"","app":"PHP","message":"fclose() expects parameter 1 to be resource, string given at \/var\/www\/owncloud\/lib\/private\/Files\/Storage\/Wrapper\/Encryption.php#749","level":3,"time":"2017-01-11T08:16:22+00:00","method":"--","url":"\/owncloud\/occ","user":"--"} {"reqId":"tArQJVJtd5DMgeDMq0CQ","remoteAddr":"","app":"PHP","message":"stream_wrapper_register(): Protocol ocencryption:\/\/ is already defined. at \/var\/www\/owncloud\/lib\/private\/Files\/Stream\/Encryption.php#195","level":3,"time":"2017-01-11T08:16:23+00:00","method":"--","url":"\/owncloud\/occ","user":"--"} {"reqId":"tArQJVJtd5DMgeDMq0CQ","remoteAddr":"","app":"PHP","message":"fclose() expects parameter 1 to be resource, string given at \/var\/www\/owncloud\/lib\/private\/Files\/Storage\/Wrapper\/Encryption.php#748","level":3,"time":"2017-01-11T08:16:23+00:00","method":"--","url":"\/owncloud\/occ","user":"--"} {"reqId":"tArQJVJtd5DMgeDMq0CQ","remoteAddr":"","app":"PHP","message":"fclose() expects parameter 1 to be resource, string given at \/var\/www\/owncloud\/lib\/private\/Files\/Storage\/Wrapper\/Encryption.php#749","level":3,"time":"2017-01-11T08:16:23+00:00","method":"--","url":"\/owncloud\/occ","user":"--"} {"reqId":"tArQJVJtd5DMgeDMq0CQ","remoteAddr":"","app":"PHP","message":"stream_wrapper_register(): Protocol ocencryption:\/\/ is already defined. at \/var\/www\/owncloud\/lib\/private\/Files\/Stream\/Encryption.php#195","level":3,"time":"2017-01-11T08:16:24+00:00","method":"--","url":"\/owncloud\/occ","user":"--"} {"reqId":"tArQJVJtd5DMgeDMq0CQ","remoteAddr":"","app":"PHP","message":"fclose() expects parameter 1 to be resource, string given at \/var\/www\/owncloud\/lib\/private\/Files\/Storage\/Wrapper\/Encryption.php#748","level":3,"time":"2017-01-11T08:16:24+00:00","method":"--","url":"\/owncloud\/occ","user":"--"} {"reqId":"tArQJVJtd5DMgeDMq0CQ","remoteAddr":"","app":"PHP","message":"fclose() expects parameter 1 to be resource, string given at \/var\/www\/owncloud\/lib\/private\/Files\/Storage\/Wrapper\/Encryption.php#749","level":3,"time":"2017-01-11T08:16:24+00:00","method":"--","url":"\/owncloud\/occ","user":"--"} {"reqId":"tArQJVJtd5DMgeDMq0CQ","remoteAddr":"","app":"PHP","message":"stream_wrapper_register(): Protocol ocencryption:\/\/ is already defined. at \/var\/www\/owncloud\/lib\/private\/Files\/Stream\/Encryption.php#195","level":3,"time":"2017-01-11T08:16:24+00:00","method":"--","url":"\/owncloud\/occ","user":"--"} {"reqId":"tArQJVJtd5DMgeDMq0CQ","remoteAddr":"","app":"PHP","message":"fclose() expects parameter 1 to be resource, string given at \/var\/www\/owncloud\/lib\/private\/Files\/Storage\/Wrapper\/Encryption.php#748","level":3,"time":"2017-01-11T08:16:24+00:00","method":"--","url":"\/owncloud\/occ","user":"--"} {"reqId":"tArQJVJtd5DMgeDMq0CQ","remoteAddr":"","app":"PHP","message":"fclose() expects parameter 1 to be resource, string given at \/var\/www\/owncloud\/lib\/private\/Files\/Storage\/Wrapper\/Encryption.php#749","level":3,"time":"2017-01-11T08:16:24+00:00","method":"--","url":"\/owncloud\/occ","user":"--"} {"reqId":"tArQJVJtd5DMgeDMq0CQ","remoteAddr":"","app":"PHP","message":"stream_wrapper_register(): Protocol ocencryption:\/\/ is already defined. at \/var\/www\/owncloud\/lib\/private\/Files\/Stream\/Encryption.php#195","level":3,"time":"2017-01-11T08:16:24+00:00","method":"--","url":"\/owncloud\/occ","user":"--"} {"reqId":"tArQJVJtd5DMgeDMq0CQ","remoteAddr":"","app":"PHP","message":"fclose() expects parameter 1 to be resource, string given at \/var\/www\/owncloud\/lib\/private\/Files\/Storage\/Wrapper\/Encryption.php#748","level":3,"time":"2017-01-11T08:16:24+00:00","method":"--","url":"\/owncloud\/occ","user":"--"} {"reqId":"tArQJVJtd5DMgeDMq0CQ","remoteAddr":"","app":"PHP","message":"fclose() expects parameter 1 to be resource, string given at \/var\/www\/owncloud\/lib\/private\/Files\/Storage\/Wrapper\/Encryption.php#749","level":3,"time":"2017-01-11T08:16:24+00:00","method":"--","url":"\/owncloud\/occ","user":"--"} {"reqId":"tArQJVJtd5DMgeDMq0CQ","remoteAddr":"","app":"PHP","message":"stream_wrapper_register(): Protocol ocencryption:\/\/ is already defined. at \/var\/www\/owncloud\/lib\/private\/Files\/Stream\/Encryption.php#195","level":3,"time":"2017-01-11T08:16:24+00:00","method":"--","url":"\/owncloud\/occ","user":"--"} {"reqId":"tArQJVJtd5DMgeDMq0CQ","remoteAddr":"","app":"PHP","message":"fclose() expects parameter 1 to be resource, string given at \/var\/www\/owncloud\/lib\/private\/Files\/Storage\/Wrapper\/Encryption.php#748","level":3,"time":"2017-01-11T08:16:24+00:00","method":"--","url":"\/owncloud\/occ","user":"--"} {"reqId":"tArQJVJtd5DMgeDMq0CQ","remoteAddr":"","app":"PHP","message":"fclose() expects parameter 1 to be resource, string given at \/var\/www\/owncloud\/lib\/private\/Files\/Storage\/Wrapper\/Encryption.php#749","level":3,"time":"2017-01-11T08:16:24+00:00","method":"--","url":"\/owncloud\/occ","user":"--"} {"reqId":"tArQJVJtd5DMgeDMq0CQ","remoteAddr":"","app":"PHP","message":"stream_wrapper_register(): Protocol ocencryption:\/\/ is already defined. at \/var\/www\/owncloud\/lib\/private\/Files\/Stream\/Encryption.php#195","level":3,"time":"2017-01-11T08:16:25+00:00","method":"--","url":"\/owncloud\/occ","user":"--"} {"reqId":"tArQJVJtd5DMgeDMq0CQ","remoteAddr":"","app":"PHP","message":"fclose() expects parameter 1 to be resource, string given at \/var\/www\/owncloud\/lib\/private\/Files\/Storage\/Wrapper\/Encryption.php#748","level":3,"time":"2017-01-11T08:16:25+00:00","method":"--","url":"\/owncloud\/occ","user":"--"} {"reqId":"tArQJVJtd5DMgeDMq0CQ","remoteAddr":"","app":"PHP","message":"fclose() expects parameter 1 to be resource, string given at \/var\/www\/owncloud\/lib\/private\/Files\/Storage\/Wrapper\/Encryption.php#749","level":3,"time":"2017-01-11T08:16:25+00:00","method":"--","url":"\/owncloud\/occ","user":"--"} {"reqId":"tArQJVJtd5DMgeDMq0CQ","remoteAddr":"","app":"PHP","message":"stream_wrapper_register(): Protocol ocencryption:\/\/ is already defined. at \/var\/www\/owncloud\/lib\/private\/Files\/Stream\/Encryption.php#195","level":3,"time":"2017-01-11T08:16:25+00:00","method":"--","url":"\/owncloud\/occ","user":"--"} {"reqId":"tArQJVJtd5DMgeDMq0CQ","remoteAddr":"","app":"PHP","message":"fclose() expects parameter 1 to be resource, string given at \/var\/www\/owncloud\/lib\/private\/Files\/Storage\/Wrapper\/Encryption.php#748","level":3,"time":"2017-01-11T08:16:25+00:00","method":"--","url":"\/owncloud\/occ","user":"--"} {"reqId":"tArQJVJtd5DMgeDMq0CQ","remoteAddr":"","app":"PHP","message":"fclose() expects parameter 1 to be resource, string given at \/var\/www\/owncloud\/lib\/private\/Files\/Storage\/Wrapper\/Encryption.php#749","level":3,"time":"2017-01-11T08:16:25+00:00","method":"--","url":"\/owncloud\/occ","user":"--"} {"reqId":"tArQJVJtd5DMgeDMq0CQ","remoteAddr":"","app":"PHP","message":"stream_wrapper_register(): Protocol ocencryption:\/\/ is already defined. at \/var\/www\/owncloud\/lib\/private\/Files\/Stream\/Encryption.php#195","level":3,"time":"2017-01-11T08:16:25+00:00","method":"--","url":"\/owncloud\/occ","user":"--"} {"reqId":"tArQJVJtd5DMgeDMq0CQ","remoteAddr":"","app":"PHP","message":"fclose() expects parameter 1 to be resource, string given at \/var\/www\/owncloud\/lib\/private\/Files\/Storage\/Wrapper\/Encryption.php#748","level":3,"time":"2017-01-11T08:16:25+00:00","method":"--","url":"\/owncloud\/occ","user":"--"} {"reqId":"tArQJVJtd5DMgeDMq0CQ","remoteAddr":"","app":"PHP","message":"fclose() expects parameter 1 to be resource, string given at \/var\/www\/owncloud\/lib\/private\/Files\/Storage\/Wrapper\/Encryption.php#749","level":3,"time":"2017-01-11T08:16:25+00:00","method":"--","url":"\/owncloud\/occ","user":"--"} {"reqId":"tArQJVJtd5DMgeDMq0CQ","remoteAddr":"","app":"PHP","message":"stream_wrapper_register(): Protocol ocencryption:\/\/ is already defined. at \/var\/www\/owncloud\/lib\/private\/Files\/Stream\/Encryption.php#195","level":3,"time":"2017-01-11T08:16:25+00:00","method":"--","url":"\/owncloud\/occ","user":"--"} {"reqId":"tArQJVJtd5DMgeDMq0CQ","remoteAddr":"","app":"PHP","message":"fclose() expects parameter 1 to be resource, string given at \/var\/www\/owncloud\/lib\/private\/Files\/Storage\/Wrapper\/Encryption.php#748","level":3,"time":"2017-01-11T08:16:25+00:00","method":"--","url":"\/owncloud\/occ","user":"--"} {"reqId":"tArQJVJtd5DMgeDMq0CQ","remoteAddr":"","app":"PHP","message":"fclose() expects parameter 1 to be resource, string given at \/var\/www\/owncloud\/lib\/private\/Files\/Storage\/Wrapper\/Encryption.php#749","level":3,"time":"2017-01-11T08:16:25+00:00","method":"--","url":"\/owncloud\/occ","user":"--"} {"reqId":"tArQJVJtd5DMgeDMq0CQ","remoteAddr":"","app":"PHP","message":"stream_wrapper_register(): Protocol ocencryption:\/\/ is already defined. at \/var\/www\/owncloud\/lib\/private\/Files\/Stream\/Encryption.php#195","level":3,"time":"2017-01-11T08:16:26+00:00","method":"--","url":"\/owncloud\/occ","user":"--"} {"reqId":"tArQJVJtd5DMgeDMq0CQ","remoteAddr":"","app":"PHP","message":"fclose() expects parameter 1 to be resource, string given at \/var\/www\/owncloud\/lib\/private\/Files\/Storage\/Wrapper\/Encryption.php#748","level":3,"time":"2017-01-11T08:16:26+00:00","method":"--","url":"\/owncloud\/occ","user":"--"} {"reqId":"tArQJVJtd5DMgeDMq0CQ","remoteAddr":"","app":"PHP","message":"fclose() expects parameter 1 to be resource, string given at \/var\/www\/owncloud\/lib\/private\/Files\/Storage\/Wrapper\/Encryption.php#749","level":3,"time":"2017-01-11T08:16:26+00:00","method":"--","url":"\/owncloud\/occ","user":"--"}

I am not sure if this comes from the decryption....
All the users (they know their password) can open their files, downloud and create. In our worst case szenario the users must downloud all the files for us that we can backup and upload them to the new owncloud.

Only the decryption function didn't work...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment