Disable Encryption: error "lost connection to ldap server"

Hello everyone,

I have a problem deactivating the encryption.
If I run the following command “sudo -u www-data occ encryption:decrypt-all”, the error “lost connection to ldap server” appears after about 30 to 60 minutes.

Full error message is:

"Configuring encryption module for decryption with user based keys
Attempting to use recovery key from environment: OC_RECOVERY_PASSWORD

In LDAP.php line 324:
Lost Connection to LDAP server."

What can I do to avoid this? Everything looks good in the ldap settings.

Version of the server is 10.1.0.

Best regards


this two things should not be related. Please fill out the template so that we can help you.

Thanks for your quick reply.
I know these two things shouldn’t have anything to do with each other. I could solve the problem by doubling the RAM (4 to 8 GB).