Enable the Encryption App
Before you can use encryption you must enable the encryption app. You can do this either from the command-line or from the Web-UI.
To enable the encryption app, run the following command:
sudo -u www-data php occ app:enable encryption
If the encryption app successfully enables, then you should see the following confirmation:
|This should never happen, but the encryption app may not be packaged with your ownCloud installation. If so, you will see the following output when you attempt to enable it:|
encryption not found
If that happens, then you need to install it manually. You can do this by cloning the encryption app, using the following command:
git clone https://github.com/owncloud/encryption.git apps/encryption
To enable encryption from the Web-UI:
Go toand click on Show disabled apps
When the disabled apps are rendered click Enable under "Default encryption module".
After that go to, and enable Enable server-side encryption.
Then, under "Default encryption module", select the desired encryption type, whether "Master Key" (recommended) or "User-key".
Now you must log out and then log back in to initialize your encryption keys.