Seems I messed things up. My nextcloud installation stems from an old owncloud and has been migrated all up to nc20. It runs on a Debian 10 system with PHP7.4. I have root access on the server.
Obviously I activated server side encryption. In the security settings, “Server side encryption” is showed active, but greyed out. Default encryption module is activated.
I am afraid I lost the recovery key password. occ encryption:decrypt-all failes for this reason. However, the encrypted files in the data directory can be downloaded fine, so nextcloud obviously knows the key.
What can I do to disable encryption without losing data? Can I retrieve the keys or passwords from the database?
I do have a backup of the unencrypted files. Can I somehow force the Server Side Encryption to deactivate and restore the content from backup?