Best way to disable and decrypt all files for all users of Owncloud?


I am running Owncloud 9.1.5 with the default encryption module enabled and all files of my users are encrypted. Because of a lot of problems and incompatibilities I need to decrypt everything for all of my users. I enabled the admin recovery key after I set up the users, so they were initially created without a recovery key.

To start decryption, I would put Owncloud in single user mode and issue occ encryption:decrypt-all and let it decrypt everything until finished. But I think this is not enough.

So my questions are:

  • How do I force enable the admin recovery key for every user? It is impossible to run to every user and ask them to enter their password if occ asks me for the user password. So I have to use the admin recovery key as this operation will surely take some time.

  • Does the client re-download everything if encryption is finally disabled? This was a problem with an older release but does it happen with client version 2.3.1 as well?

Thank you for your help.