I am using OC 10.0.3, i have enabled its encryption with Master key. It was working fine. But i cannot revert back or disable encryption, command runs successfully but it keep show that encryption is enabled and files are still encrypting.
I run following commands,
root@nms:/var/log/apache2# sudo -u www-data /var/www/owncloud/occ maintenance:singleuser --off Single user mode disabled root@nms:/var/log/apache2# sudo -u www-data /var/www/owncloud/occ maintenance:singleuser Single user mode is currently disabled root@nms:/var/log/apache2# sudo -u www-data /var/www/owncloud/occ encryption:status - enabled: true - defaultModule: OC_DEFAULT_MODULE root@nms:/var/log/apache2# root@nms:/var/log/apache2# sudo -u www-data /var/www/owncloud/occ encryption:disable Encryption is already disabled root@nms:/var/log/apache2# sudo -u www-data /var/www/owncloud/occ encryption:status - enabled: true - defaultModule: OC_DEFAULT_MODULE
[root@cloudv2 ~]# sudo -u apache php /var/www/html/owncloud/occ maintenance:singleuser --on Single user mode enabled [root@cloudv2 ~]# sudo -u apache php /var/www/html/owncloud/occ encryption:decrypt-all pomme2 Disable server side encryption... done.
You are about to start to decrypt all files stored in pomme2's account. It will depend on the encryption module and your setup if this is possible. Depending on the number and size of your files this can take some time Please make sure that no user access his files during this process!
Do you really want to continue? (y/n) y prepare encryption modules...
Prepare "Default encryption module"
Use master key to decrypt all files done.
starting to decrypt files... finished [============================]
all files could be decrypted successfully! Server side encryption remains enabled
The process seems to be executed correctly but the files are still encrypted.
sudo -u apache php /var/www/html/owncloud/occ encryption:decrypt-all pomme2 -vvv Disable server side encryption... done.
You are about to start to decrypt all files stored in pomme2's account. It will depend on the encryption module and your setup if this is possible. Depending on the number and size of your files this can take some time Please make sure that no user access his files during this process!
Do you really want to continue? (y/n) y
prepare encryption modules...
Prepare "Default encryption module"
Use master key to decrypt all files done.
starting to decrypt files... finished [============================]
all files could be decrypted successfully! Server side encryption remains enabled
I meant have you enabled encryption just via the Web UI or did you use occ commands, if you used the occ commands, can you remember what commands you used?
To be honest with you, I don't think you get your files decrypted.
Updating to 10.0.4 would solve the problem. In 10.0.4 there are some changes made to encryption module. As a result there were changes made into decrypt-all, key manager etc. So an upgrade would make the life easier.