I wish to set “Default Quota” programmatically via a “Infrastructure as code” tool like Puppet or Ansible.
You can set it in the GUI as admin under /settings/users
But since I have to admin many NextCloud instances, and I set up everything else so far via occ cli automation, then I’d like to also set the default quota.
Maybe this is already possible somehow that I don’t know?
(prepend with “docker exec --user www-data {containername} php ” in case of docker).
Unfortunately the value is not set by default and corresponding occ :get command doesn’t return anything initially… but :set works right away and changing user quota to “default value” picks up changed values immediately…