I’m doing automatic deployment of Nextcloud via Docker containers.
After deployment, I run occ commands to launch installation, configure several things like enabling encypt app.
I can’t find a way to automate theses 2 things :
- the recovery key creation (admin side)
- activate recovery (client side)
I can live with the first one, as it can be handled by the deployment’s administrator.
But I really would like to be sure that every user could be recovered, without telling them to go and activate that option in their settings.
The only way I think it’s possible is by inserting fields in the oc_parameters table. But It needs to be donne every time a new user is created…
Does someone already solved that problem ?