Make Nextcloud config Declarative
Our Nextcloud config is in different places:
We need to normalize this. The first part is not declarative, and this is a problem, like this bug.
I propose the following:
- push as many config as possible upstream (in the upstream docker image)
- check the way greenhost does it
- move the install config script to declarative
There are still some questions, on some vars that the instance admin could modify. Here are the options, these would be difficult to make declarative:
- enabled/disabled apps
- Theming options
- Quota there is already a ticket to manage this at IdP level
I think we have to live with the the fact that some configs are not declaratives. And create migrations scripts when we need to modify them. For instance, in the case of this ticket, we could run a script that if the config value is the default one, then replace it with the new value, if not let what is configured and log it. Something like that. For the theme, we could also create a real Nc theme..
Let's discuss the scope of this ticket :)