Skip to content
This repository has been archived by the owner on Dec 2, 2022. It is now read-only.

Enable and configure Nextcloud server-side encryption in playbook #38

Open
artis3n opened this issue Jan 29, 2018 · 3 comments
Open

Enable and configure Nextcloud server-side encryption in playbook #38

artis3n opened this issue Jan 29, 2018 · 3 comments

Comments

@artis3n
Copy link
Owner

artis3n commented Jan 29, 2018

https://docs.nextcloud.com/server/12/admin_manual/configuration_files/encryption_configuration.html#occ-encryption-label

@artis3n artis3n changed the title Enable Nextcloud server-side encryption in playbook Enable and configure Nextcloud server-side encryption in playbook Jan 29, 2018
@artis3n artis3n added question and removed question labels Feb 10, 2018
@artis3n
Copy link
Owner Author

artis3n commented Feb 10, 2018

See: #39 (comment)

Encryption should be enabled by a group in the inventory file, but off by default.

@artis3n
Copy link
Owner Author

artis3n commented Mar 5, 2018

These are the commands necessary for server-side encryption:

sudo -u nginx php occ app:enable encryption
sudo -u nginx php occ encryption:enable
sudo -u nginx php occ maintence:mode --on
sudo -u nginx php occ encryption:encrypt-all
sudo -u nginx php occ maintence:mode --off

The sudo -u nginx php occ encryption:encrypt-all command requires user input (y/n) that does not appear to be able to be automated. I'll have to look into that.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant